Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.12.2] Calling a method that does not exist. #136

Open
AoiKagase opened this issue Nov 26, 2024 · 0 comments
Open

[1.12.2] Calling a method that does not exist. #136

AoiKagase opened this issue Nov 26, 2024 · 0 comments

Comments

@AoiKagase
Copy link

This method does not exist.

entity.setVelocity(velocity.x, velocity.y, velocity.z);

An error occurs when retrieving items from CastingBasin with ImsersiveRailroading.

[21:31:42] [Server thread/FATAL] [net.minecraft.server.MinecraftServer]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: net.minecraft.entity.item.EntityItem.func_70016_h(DDD)V
    at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_361]
    at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_361]
    at net.minecraft.util.Util.func_181617_a(SourceFile:47) [h.class:?]
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
    at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
    at java.lang.Thread.run(Thread.java:750) [?:1.8.0_361]
Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.item.EntityItem.func_70016_h(DDD)V
    at cam72cam.mod.world.World.dropItem(World.java:454) ~[World.class:?]
    at cam72cam.mod.world.World.dropItem(World.java:448) ~[World.class:?]
    at cam72cam.immersiverailroading.multiblock.CastingMultiblock$CastingInstance.onBlockActivated(CastingMultiblock.java:140) ~[CastingMultiblock$CastingInstance.class:?]
    at cam72cam.immersiverailroading.tile.TileMultiblock.onBlockActivated(TileMultiblock.java:126) ~[TileMultiblock.class:?]
    at cam72cam.immersiverailroading.tile.TileMultiblock.onClick(TileMultiblock.java:275) ~[TileMultiblock.class:?]
    at cam72cam.mod.block.BlockTypeEntity.onClick(BlockTypeEntity.java:107) ~[BlockTypeEntity.class:?]
    at cam72cam.mod.block.BlockType$BlockInternal.func_180639_a(BlockType.java:168) ~[BlockType$BlockInternal.class:?]
    at net.minecraft.server.management.PlayerInteractionManager.func_187251_a(PlayerInteractionManager.java:449) ~[or.class:?]
    at net.minecraft.network.NetHandlerPlayServer.func_184337_a(NetHandlerPlayServer.java:741) ~[pa.class:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:55) ~[ma.class:?]
    at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.func_148833_a(SourceFile:11) ~[ma.class:?]
    at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) ~[hv$1.class:?]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_361]
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_361]
    at net.minecraft.util.Util.func_181617_a(SourceFile:46) ~[h.class:?]
    ... 5 more
AoiKagase added a commit to AoiKagase/UniversalModCore that referenced this issue Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant