Jump to content

bigtwisty

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

bigtwisty's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thank you, Grey. In fact, the tutorials you linked me to were probably the most understandable high-level description of what is going on under the hood that I've seen yet. Thanks! The vanilla code I've looked in to has been fairly easy to interpret so far. I've done a good bit of c++, but most projects I need code for at work now I do in c#. The whole inheritance thing is old hat by now, and java's implementation seems pretty straight forward.
  2. Hello everyone. This is my first post here. I'm writing my first mod and seem to have hit a roadblock. I'm attempting to make a utility block only visible in-world when a specific item is held by the player. I verify the held item state with this: if(Minecraft.getMinecraft().thePlayer.getHeldItem().getItem().itemID == Ids.scController) This seems to work. What would be the best way to make the block visible/invisible based on this boolean value, but still raise an event when the player walks through it? Feel free to simply point me in the direction of the proper events/methods. I'm a long time programmer, first time MC modder, but Java doesn't seem too complicated to pick up. Thanks in advance for any help.
×
×
  • Create New...

Important Information

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