KeyBindings are client side only, you need to use TickEvent.ClientTickEvent instead
why did you call KeyBinding#consumeClick, you should only check KeyBinding#isDown?
last but not least i would recommend you to check the Item also on server side (in the handle method of the Message), since you should never trust the client
Hello ! I want to make a forge 1.16.4 server . I installed in a folder the forge server from the forge installer , a bat with java -Xmx1024M -Xms1024M -jar forge-1.16.4-35.1.37.jar --nogui
PAUSE and when i try to start it , it says this https://prnt.sc/plXm6cy4NDTH
If someone can help me pls
Optifine flat out replaces large parts of the rendering engine. It is expected that mods will often fail in its presence. You can try talking to the developers of Valhesia Core, but the better option would be to not use Optifine.