public class MCBlockPlaceEvent extends MCBlockEvent implements crafttweaker.api.event.BlockPlaceEvent
| Constructor and Description |
|---|
MCBlockPlaceEvent(net.minecraftforge.event.world.BlockEvent.PlaceEvent event) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.block.IBlock |
getBlock() |
crafttweaker.api.block.IBlockState |
getCurrent() |
java.lang.String |
getHand() |
crafttweaker.api.block.IBlockState |
getPlacedAgainst() |
crafttweaker.api.player.IPlayer |
getPlayer() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getBlockState, getPosition, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MCBlockPlaceEvent(net.minecraftforge.event.world.BlockEvent.PlaceEvent event)
public crafttweaker.api.player.IPlayer getPlayer()
getPlayer in interface crafttweaker.api.event.BlockPlaceEventpublic crafttweaker.api.block.IBlockState getCurrent()
getCurrent in interface crafttweaker.api.event.BlockPlaceEventpublic crafttweaker.api.block.IBlockState getPlacedAgainst()
getPlacedAgainst in interface crafttweaker.api.event.BlockPlaceEventpublic crafttweaker.api.block.IBlock getBlock()
getBlock in interface crafttweaker.api.event.IBlockEventpublic java.lang.String getHand()
getHand in interface crafttweaker.api.event.BlockPlaceEventpublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable