Solved Stop minecart with hopper or tnt placement

Discussion in 'Plugin Development' started by LegoPal92, Jun 14, 2013.

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

    LegoPal92

    What I am looking to do is stop the placement of a minecart with hopper (item id 408) and a minecart with tnt (item id 407) How would I go about doing this? I was thinking a block place event, or a player interact event, but I guess that that would not be the anwer, would it?
     
  2. Offline

    Dizigma

    Not sure if this is the best way, but you could check for rightclicks, then get the item in hand, and if it is 408 or 407, cancel the event.
     
  3. Offline

    LegoPal92

    Thanks, I should have thought of that, it works.
     
Thread Status:
Not open for further replies.

Share This Page