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.IBlockState |
getCurrent() |
java.lang.String |
getHand() |
crafttweaker.api.block.IBlockState |
getPlacedAgainst() |
crafttweaker.api.player.IPlayer |
getPlayer() |
boolean |
isCanceled() |
void |
setCanceled(boolean canceled) |
getBlockState, getPosition, getWorld
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlock, getBlockState, getWorld
public MCBlockPlaceEvent(net.minecraftforge.event.world.BlockEvent.PlaceEvent event)
public crafttweaker.api.player.IPlayer getPlayer()
getPlayer
in interface crafttweaker.api.event.BlockPlaceEvent
public crafttweaker.api.block.IBlockState getCurrent()
getCurrent
in interface crafttweaker.api.event.BlockPlaceEvent
public crafttweaker.api.block.IBlockState getPlacedAgainst()
getPlacedAgainst
in interface crafttweaker.api.event.BlockPlaceEvent
public java.lang.String getHand()
getHand
in interface crafttweaker.api.event.BlockPlaceEvent
public boolean isCanceled()
isCanceled
in interface crafttweaker.api.event.IEventCancelable
public void setCanceled(boolean canceled)
setCanceled
in interface crafttweaker.api.event.IEventCancelable