public abstract class DriverSidedTileEntity extends java.lang.Object implements SidedBlock
worksWith(World, int, int, int, ForgeDirection)
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,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection 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,
int x,
int y,
int z,
net.minecraftforge.common.util.ForgeDirection side)
SidedBlockworksWith in interface SidedBlockworld - the world in which the block to check lives.x - the X coordinate of the block to check.y - the Y coordinate of the block to check.z - the Z coordinate of the block to check.side - the side of the block to check.