public interface Wrench
| Modifier and Type | Method and Description |
|---|---|
boolean |
useWrenchOnBlock(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
boolean simulate)
Called when the wrench is used.
|
boolean useWrenchOnBlock(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
net.minecraft.util.BlockPos pos,
boolean simulate)
player - the player using the toolworld - the world containing the block the wrench is used on.pos - the position of the block.simulate - whether to simulate the usage.