Lightning-64 / Tide

A Minecraft fishing mod
Other
3 stars 0 forks source link

Lavaproof Fishing Hook Tick Exception #37

Open zeroneon opened 2 weeks ago

zeroneon commented 2 weeks ago

Whenever I try to fish with a Lavaproof Fishing Hook in water this exception is thrown: java.lang.IllegalArgumentException: bound must be greater than origin at java.base/jdk.internal.util.random.RandomSupport.checkRange(RandomSupport.java:232) at java.base/java.util.random.RandomGenerator.nextInt(RandomGenerator.java:679) at TRANSFORMER/tide@1.3.4/com.li64.tide.registries.entities.misc.fishing.TideFishingHook.selectCatch(TideFishingHook.java:687) at TRANSFORMER/tide@1.3.4/com.li64.tide.registries.entities.misc.fishing.TideFishingHook.catchingFish(TideFishingHook.java:433) at TRANSFORMER/tide@1.3.4/com.li64.tide.registries.entities.misc.fishing.TideFishingHook.m8119(TideFishingHook.java:289) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.level.ServerLevel.m8647(ServerLevel.java:693) at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.Level.mixinextras$bridge$accept$172(Level.java) at TRANSFORMER/neruina@2.0.0-beta.10/com.bawnorton.neruina.handler.TickHandler.safelyTickEntities(TickHandler.java:91) at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.Level.wrapOperation$fff000$neruina$catchTickingEntities$notTheCauseOfTickLag(Level.java:8540) at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.Level.m46653(Level.java:479) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.level.ServerLevel.m184063(ServerLevel.java:343) at TRANSFORMER/minecraft@1.20.1/net.minecraft.world.level.entity.EntityTickList.m156910(EntityTickList.java:54) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.level.ServerLevel.m8793(ServerLevel.java:323) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m5703(MinecraftServer.java:893) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m5705(MinecraftServer.java:814) at TRANSFORMER/minecraft@1.20.1/net.minecraft.client.server.IntegratedServer.m5705(IntegratedServer.java:89) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m130011(MinecraftServer.java:661) at TRANSFORMER/minecraft@1.20.1/net.minecraft.server.MinecraftServer.m206580(MinecraftServer.java:251) at java.base/java.lang.Thread.run(Thread.java:840)

Minecraft 1.20.1 on Forge (Tide 1.3.4)

I was using the Netherite Fishing Rod with a Lavaproof Fishing Hook in the End in water.

zeroneon commented 2 weeks ago

For anyone testing this out, I heavily recommend installing Neruina (https://github.com/Bawnorton/Neruina) to make it easier

JasdewStarfield commented 2 weeks ago

I have also encountered a similar problem when I was fishing in the Undergarden (added by mod the Undergarden), and at that time I thought it was caused by that mod. (But now it seems that it there's something wrong with Tide's fishing loot tables?)