public interface IToolWrench
| Modifier and Type | Method and Description |
|---|---|
boolean |
canWrench(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
Called to ensure that the wrench can be used.
|
void |
wrenchUsed(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
Callback after the wrench has been used.
|
boolean canWrench(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
player - - The player doing the wrenchingx - ,y,z - The coordinates for the block being wrenchedvoid wrenchUsed(net.minecraft.entity.player.EntityPlayer player,
int x,
int y,
int z)
player - - The player doing the wrenchingx - ,y,z - The coordinates of the block being wrenched