how would i do that i reached here:
@SubscribeEvent public static void command(CommandEvent event){
event.getParseResults().getReader();
new ImmutableStringReader().getRead();
}
but its giving me an error that i need to implement methods for the ImmutableString reader.
and i dont know alot about commands in forge.
Thanks!
Im trying to cancel a /give command based on what it contains for example if its /give @p minecraft:diamond i want it to be canceled but if it is /give @p minecraft:dirt i don't want it to i have tried messing around with the CommandEvent but got nowhere with that.
Thanks for your time!
is there a way to remove a player's hand while in first person but not all the content as f1 does just remove the player's hand and only when in first person
but can you help me with checking because i dont know how to check it using the getWorld(),
i got the position as a string using event.getPos().getCoordinateAsString;
what i did is that i made the block and everything works as a normal furnace its just that the part of removing the need for fuel is confusing me i am unsure about how to do it.
I am trying to make a furnace which doesnt need fuel and is always on but i am not sure how to do it i have implemented the block and everything i just dont know how to make it always on.
Thanks!
how can i use the setgui method within the GuiOpenEvent it says that it has to be gui of type screen but to be honest i have no idea how to use it, and just for context i am trying to make the crafting gui open instead of the inventory