diff options
| author | ThatGravyBoat <gravyboat211@gmail.com> | 2021-02-10 08:31:18 -0330 |
|---|---|---|
| committer | ThatGravyBoat <gravyboat211@gmail.com> | 2021-02-10 08:31:18 -0330 |
| commit | ada86e95cc85700ca39022ac25eeb32febaaa2fb (patch) | |
| tree | 78516b10c84da820c93b25130a9cc77a2a23fca0 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java | |
| parent | a2292c332c22646bd177eaf3123ce31a74991e36 (diff) | |
| download | notenoughupdates-ada86e95cc85700ca39022ac25eeb32febaaa2fb.tar.gz notenoughupdates-ada86e95cc85700ca39022ac25eeb32febaaa2fb.tar.bz2 notenoughupdates-ada86e95cc85700ca39022ac25eeb32febaaa2fb.zip | |
Added PetInfo display, allows for the checking of certain pets for certain features, also adds monkey check for treecap cooldown and adds a notification if you are using the wrong pet.
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java index 45d55b1d..8e334d3b 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CustomItemEffects.java @@ -318,7 +318,7 @@ public class CustomItemEffects { double d1 = player.lastTickPosY + (player.posY - player.lastTickPosY) * (double)event.partialTicks; double d2 = player.lastTickPosZ + (player.posZ - player.lastTickPosZ) * (double)event.partialTicks; - if(NotEnoughUpdates.INSTANCE.config.treecapOverlay.enableTreecapOverlay && + if(NotEnoughUpdates.INSTANCE.config.treecap.enableTreecapOverlay && (heldInternal.equals("JUNGLE_AXE") || heldInternal.equals("TREECAPITATOR_AXE"))) { int maxWood = 10; if(heldInternal.equals("TREECAPITATOR_AXE")) maxWood = 35; @@ -378,7 +378,7 @@ public class CustomItemEffects { drawFilledBoundingBox(block.getSelectedBoundingBox(Minecraft.getMinecraft().theWorld, candidate) .expand(0.001D, 0.001D, 0.001D).offset(-d0, -d1, -d2), - random ? 0.5f : 1f, NotEnoughUpdates.INSTANCE.config.treecapOverlay.treecapOverlayColour); + random ? 0.5f : 1f, NotEnoughUpdates.INSTANCE.config.treecap.treecapOverlayColour); } } } |
