Skip to content

Instantly share code, notes, and snippets.

@Lanse505
Created July 28, 2021 14:37
Show Gist options
  • Save Lanse505/47df83439626f0d832a9c2c5aedcbc9b to your computer and use it in GitHub Desktop.
Save Lanse505/47df83439626f0d832a9c2c5aedcbc9b to your computer and use it in GitHub Desktop.
[16:32:30.355] [Render thread/ERROR] [EventBus/EVENTBUS]: Exception caught during firing event: class net.minecraft.world.entity.projectile.ThrownPotion cannot be cast to class net.minecraft.world.entity.projectile.FishingHook (net.minecraft.world.entity.projectile.ThrownPotion and net.minecraft.world.entity.projectile.FishingHook are in module [email protected] of loader 'TRANSFORMER' @7aa9e414)
Index: 1
Listeners:
0: NORMAL
1: net.minecraftforge.eventbus.EventBus$$Lambda$4002/0x00000008015ada10@400bf062
java.lang.ClassCastException: class net.minecraft.world.entity.projectile.ThrownPotion cannot be cast to class net.minecraft.world.entity.projectile.FishingHook (net.minecraft.world.entity.projectile.ThrownPotion and net.minecraft.world.entity.projectile.FishingHook are in module [email protected] of loader 'TRANSFORMER' @7aa9e414)
at TRANSFORMER/containertypetest@1/net.minecraftforge.debug.entity.FishingBobberEventTest.handleImpact(FishingBobberEventTest.java:48)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.onProjectileImpact(ForgeEventFactory.java:629)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.projectile.ThrowableProjectile.tick(ThrowableProjectile.java:61)
at TRANSFORMER/[email protected]/net.minecraft.client.multiplayer.ClientLevel.tickNonPassenger(ClientLevel.java:177)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:470)
at TRANSFORMER/[email protected]/net.minecraft.client.multiplayer.ClientLevel.lambda$tickEntities$1(ClientLevel.java:163)
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at TRANSFORMER/[email protected]/net.minecraft.client.multiplayer.ClientLevel.tickEntities(ClientLevel.java:161)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.tick(Minecraft.java:1669)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.runTick(Minecraft.java:1014)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.run(Minecraft.java:659)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:186)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.ForgeClientDevLaunchHandler.lambda$launchService$0(ForgeClientDevLaunchHandler.java:34)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:84)
[16:32:30.357] [Server thread/ERROR] [EventBus/EVENTBUS]: Exception caught during firing event: class net.minecraft.world.entity.projectile.ThrownPotion cannot be cast to class net.minecraft.world.entity.projectile.FishingHook (net.minecraft.world.entity.projectile.ThrownPotion and net.minecraft.world.entity.projectile.FishingHook are in module [email protected] of loader 'TRANSFORMER' @7aa9e414)
Index: 1
Listeners:
0: NORMAL
1: net.minecraftforge.eventbus.EventBus$$Lambda$4002/0x00000008015ada10@400bf062
java.lang.ClassCastException: class net.minecraft.world.entity.projectile.ThrownPotion cannot be cast to class net.minecraft.world.entity.projectile.FishingHook (net.minecraft.world.entity.projectile.ThrownPotion and net.minecraft.world.entity.projectile.FishingHook are in module [email protected] of loader 'TRANSFORMER' @7aa9e414)
at TRANSFORMER/containertypetest@1/net.minecraftforge.debug.entity.FishingBobberEventTest.handleImpact(FishingBobberEventTest.java:48)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:302)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.eventbus.EventBus.post(EventBus.java:283)
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.onProjectileImpact(ForgeEventFactory.java:629)
at TRANSFORMER/[email protected]/net.minecraft.world.entity.projectile.ThrowableProjectile.tick(ThrowableProjectile.java:61)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tickNonPassenger(ServerLevel.java:623)
at TRANSFORMER/[email protected]/net.minecraft.world.level.Level.guardEntityTick(Level.java:470)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.lambda$tick$5(ServerLevel.java:384)
at TRANSFORMER/[email protected]/net.minecraft.world.level.entity.EntityTickList.forEach(EntityTickList.java:54)
at TRANSFORMER/[email protected]/net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:365)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:882)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:818)
at TRANSFORMER/[email protected]/net.minecraft.client.server.IntegratedServer.tickServer(IntegratedServer.java:85)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:683)
at TRANSFORMER/[email protected]/net.minecraft.server.MinecraftServer.lambda$spin$2(MinecraftServer.java:258)
at java.base/java.lang.Thread.run(Thread.java:831)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment