public abstract class DriverSidedTileEntity extends java.lang.Object implements DriverBlock
worksWith(World, BlockPos, EnumFacing)
and calling super.worksWith in addition to the side check.| Constructor and Description |
|---|
DriverSidedTileEntity() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.Class<?> |
getTileEntityClass() |
boolean |
worksWith(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
Used to determine the block types this driver handles.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateEnvironmentpublic abstract java.lang.Class<?> getTileEntityClass()
public boolean worksWith(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing side)
DriverBlockworksWith in interface DriverBlockworld - the world in which the block to check lives.pos - the position coordinate of the block to check.side - the side of the block to check.