public class BlockMiner
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
minerId |
protected net.minecraft.tileentity.TileEntity |
owner |
protected net.minecraft.world.World |
world |
protected int |
x |
protected int |
y |
protected int |
z |
| Constructor and Description |
|---|
BlockMiner(net.minecraft.world.World world,
net.minecraft.tileentity.TileEntity owner,
int x,
int y,
int z) |
| Modifier and Type | Method and Description |
|---|---|
int |
acceptEnergy(int offeredAmount) |
boolean |
hasFailed() |
boolean |
hasMined() |
void |
invalidate() |
void |
mineStack(net.minecraft.item.ItemStack stack) |
protected final net.minecraft.world.World world
protected final net.minecraft.tileentity.TileEntity owner
protected final int x
protected final int y
protected final int z
protected final int minerId