public class MCPlayerUseHoeEvent
extends java.lang.Object
implements crafttweaker.api.event.PlayerUseHoeEvent
| Constructor and Description |
|---|
MCPlayerUseHoeEvent(net.minecraftforge.event.entity.player.UseHoeEvent event) |
| Modifier and Type | Method and Description |
|---|---|
crafttweaker.api.block.IBlock |
getBlock() |
crafttweaker.api.world.IWorld |
getBlocks() |
crafttweaker.api.block.IBlockState |
getBlockState() |
int |
getDimension() |
crafttweaker.api.item.IItemStack |
getItem() |
crafttweaker.api.player.IPlayer |
getPlayer() |
crafttweaker.api.world.IBlockPos |
getPosition() |
boolean |
isCanceled() |
boolean |
isProcessed() |
void |
process() |
void |
setCanceled(boolean canceled) |
public MCPlayerUseHoeEvent(net.minecraftforge.event.entity.player.UseHoeEvent event)
public void process()
process in interface crafttweaker.api.event.IProcessableEventpublic boolean isProcessed()
isProcessed in interface crafttweaker.api.event.IProcessableEventpublic crafttweaker.api.player.IPlayer getPlayer()
getPlayer in interface crafttweaker.api.event.IPlayerEventpublic crafttweaker.api.item.IItemStack getItem()
getItem in interface crafttweaker.api.event.PlayerUseHoeEventpublic crafttweaker.api.world.IWorld getBlocks()
getBlocks in interface crafttweaker.api.event.PlayerUseHoeEventpublic int getDimension()
getDimension in interface crafttweaker.api.event.PlayerUseHoeEventpublic crafttweaker.api.block.IBlock getBlock()
getBlock in interface crafttweaker.api.event.PlayerUseHoeEventpublic crafttweaker.api.block.IBlockState getBlockState()
getBlockState in interface crafttweaker.api.event.PlayerUseHoeEventpublic crafttweaker.api.world.IBlockPos getPosition()
getPosition in interface crafttweaker.api.event.IEventPositionablepublic boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelable