Everything posted by Intijir
-
Canceling command.
Thank you so much!
-
Canceling command.
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!
-
Canceling command.
I havent tried anything because i havent figured out anything
-
Canceling command.
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!
-
Removing content from the screen
Thanks!
-
Removing content from the screen
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
-
how to use event.getWorld().setBlockState
true, thank you!
-
how to use event.getWorld().setBlockState
yes but it requires the pos which ik but it also requires the blockstates which idk how to set
-
how to use event.getWorld().setBlockState
How do i use the event.getWorld().setBlockState to change the targeted block?
-
Playerinteractevent.rightclickblock
-
Playerinteractevent.rightclickblock
and then i check if it equals the blockstate of the block correct?
-
Playerinteractevent.rightclickblock
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;
-
Playerinteractevent.rightclickblock
So i check the block position then i use the .getWorld() to check what the block type is correct?
-
Playerinteractevent.rightclickblock
How can i use this event: to determin which block is being targeted? I tried using the event.getUseBlock() but it doesnt work thanks!
-
A furnace that doesnt need fuel
oh thanks!
-
A furnace that doesnt need fuel
-
A furnace that doesnt need fuel
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.
-
A furnace that doesnt need fuel
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!
- setGui
-
setGui
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
- Changing the size of a player
-
Changing the size of a player
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!
- Running a jar file
-
Running a jar file
i am trying to run a jar file when starting the mod, basically executing a jar file when the mod loads
-
Running a jar file
How can i run a jar file in a mod's code?
IPS spam blocked by CleanTalk.