Jump to content

halmi4

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

halmi4's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I made a bread knife and want to make it damages when i use it in crafting to make ex. bread slices. How could i do that? Here's the code for the bread knife: http://pastebin.com/M8uANF7A
  2. I am currently making a minecraft forge mod. Do anyone know how to first remove a block on specific coordinates, and then place a new block on the same place? Like replacing the old block with a new block. I will have it in the middle of this code: if(player.getCurrentEquippedItem() != null) { if(hand.getItem() == Items.dirt) { } } the Item.dirt is just a test So if the player hold a specific item(i use dirt at the moment) and right click on the block, something will happend. Btw i have more code over that code that makes that happend when the player right click on the block. I've Googled for it and didn't find anything.
×
×
  • Create New...

Important Information

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