[21:48:04] [Server thread/ERROR]:Failed to handle packet net.minecraft.network.protocol.game.ServerboundUseItemOnPacket@6993be8d, suppressing error
java.lang.ArrayIndexOutOfBoundsException: null
[21:48:04] [Server thread/ERROR]:! #58: Error occurred while handling event 'BlockEvents.rightClicked': Can't find method net.minecraft.server.level.ServerPlayer.m_5893_(string). (startup_scripts:added stuff.js#58)
[21:48:04] [Server thread/ERROR]:Exception caught during firing event: null
#need help opening a custom gui but it says this
27 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
blockevent.rightclicked is server event
thanks i will try it
this is my first time ever trying this so my bad for my stupidity
umm now this is happening
i cant read anything from this please send server, client, startup logs
or atleast script
logs - files, script u can copy paste
Paste version of client.txt, server.txt, startup.txt from @stray ember
BlockEvents.rightClicked(event => {
if(event.block.id === 'kubejs:example_block') {
event.player.openMenu('kubejs:furnace_two_inputs_gui');
}
}) or the full script
Paste version of infusingstation.js from @stray ember
is this better
Download: CurseForge
The custom ContainerMenu event is a startup event.
Custom Container menus are...
Ok I’ll try this in he morning
yeah im using that