[SOLVED] EntityChangeBlockEvent

Discussion in 'Plugin Development' started by DiddiZ, Feb 19, 2012.

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

    DiddiZ

    How do I get the block data of a block placed by an enderman?

    There is event.getTo(), but that just returns the block type.
     
  2. Offline

    darkmage0252

    event.getBlock().getData()?
     
  3. Offline

    DiddiZ

    Wouldn't that be the current data?
     
  4. Offline

    darkmage0252

    Ooh i thought you asked about placed blocks sorry.
     
  5. Offline

    DiddiZ

    I edited OP to clarify that.
     
  6. Offline

    Njol

    Endermen can't take blocks which have a data value, so what do you want to have the data value for?
     
  7. Offline

    DiddiZ

    Thanks, that solves my question
     
Thread Status:
Not open for further replies.

Share This Page