Developing a plugin to disguise blocks! Need help!

Discussion in 'Plugin Development' started by iCheckPlugins, Aug 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    iCheckPlugins

    Ok so basically, I'm developing a plugin that will disguise a block to make it look like another block, but have it still carry the same properties as before. For example, you make a trap with some redstone, a pressure plate, and a dispenser that shoots arrows. Only problem is, someone may notice that there is a dispenser there. So, this plugin will make it so that it will make the dispenser appear to be say a stone block, or a gold block, or even a block of wool. What ever the user decides to make the block look like, that is what it appears to be, but since it carries the same properties as before, it will still shoot an arrow at the person who steps on the pressure plate. I need some help developing this, considering I'm very new to java. I am making it in Eclipse, and so far what I have the plugin doing is what ever the person hits with his fist, it turns into a golden block. Also you can activate this and de-activate this with /BlockDentity. Not case sensitive, so, can someone please help a newbie to this kind of stuff with this? I will explain more on what I want to make it do, and all that on Skype. My Skype is "slomoeshon". Thanks - Justin
     
  2. Offline

    Shamebot

    There's a player.sendBlockChange(..) to send a fake block update. Some blocks may change back on certain events.
     
Thread Status:
Not open for further replies.

Share This Page