Jump to content

Intijir

Members
  • Posts

    45
  • Joined

  • Last visited

Everything posted by Intijir

  1. 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!
  2. I havent tried anything because i havent figured out anything
  3. 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!
  4. 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
  5. yes but it requires the pos which ik but it also requires the blockstates which idk how to set
  6. How do i use the event.getWorld().setBlockState to change the targeted block?
  7. this didnt work but idk what is wrong with it
  8. and then i check if it equals the blockstate of the block correct?
  9. 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;
  10. So i check the block position then i use the .getWorld() to check what the block type is correct?
  11. How can i use this event: to determin which block is being targeted? I tried using the event.getUseBlock() but it doesnt work thanks!
  12. 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.
  13. 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!
  14. Intijir

    setGui

    how do i do that?
  15. Intijir

    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
  16. 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!
  17. i am trying to run a jar file when starting the mod, basically executing a jar file when the mod loads
  18. How can i run a jar file in a mod's code?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.