-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from LordEnder-Kitty/master
1.2-1.21 pull
- Loading branch information
Showing
16 changed files
with
94 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# FireHud | ||
|
||
This is a client only mod which provides more settings than you'll ever need to customize the onscreen effect when on fire. | ||
|
||
**Everything is on vanilla settings by default** | ||
|
||
The config, made using [Cloth Config](https://modrinth.com/mod/cloth-config), is accessable through either [ModMenu](https://modrinth.com/mod/modmenu) or, I have added a button in the game options beside the videos settings button. This button is toggleable and you may move it around as well. | ||
|
||
This mod was made as a passion project after I went netherite mining and remembered how annoying fire was. | ||
|
||
You may also adjust the volume and pitch of fire blocks in the config. | ||
|
||
Believe me when I say I have really gone overkill on customization. Chances are that I'll also add more features in the future. If you have any good ideas for additions to this mod, don't hesitate to go to the issues page on the github and make a suggestion. I will most likely read it and consider it. | ||
|
||
Some features of note: | ||
- Adjusting the position of vanilla fire. | ||
- Adjusting the opactity of vanilla fire. | ||
- Disabling vanilla fire entirely. | ||
- Enabling other customizable redesigns of the hud. | ||
- Adjusting the in-lava fog. Making it easier to see under lava. | ||
- Player ignites on soul fire rather than normal, orange fire when in soul fire. | ||
- And many other useful, but completely optional features. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package net.enderkitty; | ||
|
||
import net.minecraft.enchantment.Enchantment; | ||
import net.minecraft.registry.RegistryKeys; | ||
import net.minecraft.registry.tag.TagKey; | ||
import net.minecraft.util.Identifier; | ||
|
||
public interface EnchantTags { | ||
TagKey<Enchantment> FROST_WALKER = EnchantTags.of("prevents_fire_hearts"); | ||
|
||
private static TagKey<Enchantment> of(String id) { | ||
return TagKey.of(RegistryKeys.ENCHANTMENT, Identifier.of(FireHud.MOD_ID, id)); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
package net.enderkitty; | ||
|
||
public interface SoulFireAccessor { | ||
boolean isRenderSoulFire(); | ||
void setRenderSoulFire(boolean renderSoulFire); | ||
boolean fireHud$isRenderSoulFire(); | ||
void fireHud$setRenderSoulFire(boolean renderSoulFire); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/resources/data/firehud/tags/enchantment/prevents_fire_hearts.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"replace": false, | ||
"values": [ | ||
"minecraft:frost_walker" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
accessWidener v1 named | ||
|
||
accessible class net/minecraft/client/gui/hud/InGameHud$HeartType | ||
accessible class net/minecraft/client/gui/hud/InGameHud$HeartType | ||
accessible class net/minecraft/client/render/BackgroundRenderer$FogData |