Lothrazar / Cyclic

Minecraft mod written in Java
MIT License
156 stars 95 forks source link

Step_Height issue #2410

Open PatrioticCross opened 1 month ago

PatrioticCross commented 1 month ago

Minecraft Version: 1.20.1

Forge Version: 47.2.0

Mod Version: 1.20.1-0.0.13.jar. Flib

Single Player or Server: Single

Describe problem (what you were doing; what happened; what should have happened): Game crashes after starting world, brought it back down to 0.0.12 and it was fine

Log file link: https://pastebin.com/LN7sbu0P

Video/images/gifs (direct upload or link):

TheUntamed commented 1 month ago

Same crash for me, even though I'm not sure what version 1.20.1-0.0.13 should be. For me it happened with the two latest release versions: 1.20.1-1.12.9 and 1.20.1-1.12.7

Rightfuldeathray commented 1 month ago

This is a copy of Cyclic #2408 and FLIB #4

version 0.0.13 and 0.0.12 are FLIB versions as described in FLIB #4 This bug exists across all Cyclic Versions

Darkmega18 commented 1 month ago

Similar step height issue but for server side. I instantly get kicked by Neurina and it reports it was cause of step height for cyclic.

[18:44:35] [Server thread/WARN] [neruina/]: Neruina caught an exception, see below for cause
net.minecraft.ReportedException: Ticking player
    at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:530) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.mixinextras$bridge$m_9240_$127(ServerGamePacketListenerImpl.java) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at com.bawnorton.neruina.handler.TickHandler.safelyTickPlayer(TickHandler.java:121) ~[neruina-forge-2.0.0-beta.10+1.20.1.jar%23627!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.wrapOperation$bjk000$catchTickingPlayer$notTheCauseOfTickLag(ServerGamePacketListenerImpl.java:3294) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9933_(ServerGamePacketListenerImpl.java:262) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.network.Connection.m_129483_(Connection.java:263) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.network.ServerConnectionListener.m_9721_(ServerConnectionListener.java:142) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:907) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.dedicated.DedicatedServer.m_5703_(DedicatedServer.java:273) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.NoSuchFieldError: STEP_HEIGHT
    at com.lothrazar.library.util.AttributesUtil.disableStepHeight(AttributesUtil.java:25) ~[flib-1.20.1-0.0.13.jar%23546!/:1.20.1-0.0.13]
    at com.lothrazar.cyclic.item.food.LoftyStatureApple.onUpdate(LoftyStatureApple.java:61) ~[Cyclic-1.20.1-1.12.9.jar%23495!/:1.20.1-1.12.9]
    at com.lothrazar.cyclic.event.ItemEvents.onEntityUpdate(ItemEvents.java:331) ~[Cyclic-1.20.1-1.12.9.jar%23495!/:1.20.1-1.12.9]
    at com.lothrazar.cyclic.event.__ItemEvents_onEntityUpdate_LivingTickEvent.invoke(.dynamic) ~[Cyclic-1.20.1-1.12.9.jar%23495!/:1.20.1-1.12.9]
    at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73) ~[eventbus-6.0.5.jar%2352!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2352!/:?]
    at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2352!/:?]
    at net.minecraftforge.common.ForgeHooks.onLivingTick(ForgeHooks.java:243) ~[forge-1.20.1-47.1.3-universal.jar%23734!/:?]
    at net.minecraft.world.entity.LivingEntity.m_8119_(LivingEntity.java:2252) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.world.entity.player.Player.m_8119_(Player.java:241) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    at net.minecraft.server.level.ServerPlayer.m_9240_(ServerPlayer.java:467) ~[server-1.20.1-20230612.114412-srg.jar%23729!/:?]
    ... 12 more

excerpt of what matters.

PatrioticCross commented 1 month ago

This is a copy of Cyclic #2408 and FLIB #4

version 0.0.13 and 0.0.12 are FLIB versions as described in FLIB #4 This bug exists across all Cyclic Versions

For me decreasing flib down 1 fixed the issue.

border999 commented 4 weeks ago

second this, was just about to report essentially this when I saw someone had already posted the issue.

JBSTheGamer commented 2 weeks ago

If you are on flib version 1.20.1-0.0.13 then downgrade to version 1.20.1-0.0.12 or remove cyclic.