public interface Wrench
Modifier and Type | Method and Description |
---|---|
boolean |
useWrenchOnBlock(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z,
boolean simulate)
Called when the wrench is used.
|
boolean useWrenchOnBlock(net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world, int x, int y, int z, boolean simulate)
player
- the player using the toolworld
- the world containing the block the wrench is used on.x
- the X coordinate of the block.y
- the Y coordinate of the block.z
- the Z coordinate of the block.simulate
- whether to simulate the usage.