LiveOverflow / minecraft-hacked

Minecraft:Hacked is a video series exploring various technical areas of Minecraft.
209 stars 12 forks source link

About the fishing mod #21

Closed Jarnek closed 1 year ago

Jarnek commented 1 year ago

Hey guys, I was rebuilding the fishing mod and got stuck at using the tick function to run the countdown. could you give me a hint where to place my fishing class and which tick function to hook?

Thanks in advance

Jarnek commented 1 year ago

Nvm, figured it out. For anyone struggling with the same problem, my solution is to call "ClientTickEvents.END_CLIENT_TICK.register(this::tick);" in the constructor of the countdown class