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;