
Intijir
Members-
Posts
45 -
Joined
-
Last visited
Everything posted by Intijir
-
Thank you so much!
-
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!
-
I havent tried anything because i havent figured out anything
-
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!
-
Thanks!
-
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
-
true, thank you!
-
yes but it requires the pos which ik but it also requires the blockstates which idk how to set
-
How do i use the event.getWorld().setBlockState to change the targeted block?
-
-
and then i check if it equals the blockstate of the block correct?
-
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;
-
So i check the block position then i use the .getWorld() to check what the block type is correct?
-
How can i use this event: to determin which block is being targeted? I tried using the event.getUseBlock() but it doesnt work thanks!
-
oh thanks!
-
-
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
-
How can i change the size of a player i tried looking at different mods that do this but dont seem to understand how they do it. Thanks!
-
i am trying to run a jar file when starting the mod, basically executing a jar file when the mod loads
-
How can i run a jar file in a mod's code?