public abstract class DriverBlock extends java.lang.Object implements Block
ManagedEnvironment| Modifier and Type | Field and Description |
|---|---|
protected net.minecraft.item.ItemStack[] |
blocks |
| Modifier | Constructor and Description |
|---|---|
protected |
DriverBlock(net.minecraft.item.ItemStack... blocks) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
worksWith(net.minecraft.block.Block referenceBlock,
int referenceMetadata) |
boolean |
worksWith(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos)
Used to determine the block types this driver handles.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEnvironmentpublic boolean worksWith(net.minecraft.world.World world,
net.minecraft.util.BlockPos pos)
Blockprotected boolean worksWith(net.minecraft.block.Block referenceBlock,
int referenceMetadata)