public abstract class LayerBase
extends net.minecraft.tileentity.TileEntity
Constructor and Description |
---|
LayerBase() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<LayerFlags> |
getLayerFlags() |
IPart |
getPart(net.minecraftforge.common.util.ForgeDirection side)
Grants access for the layer to the parts of the host.
|
void |
markForSave() |
void |
notifyNeighbors()
called when the parts change in the container, YOU MUST CALL super.PartChanged();
|
void |
partChanged()
called when the parts change in the container, YOU MUST CALL super.PartChanged();
|
addMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, readFromNBT, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, updateEntity, validate, writeToNBT
public IPart getPart(net.minecraftforge.common.util.ForgeDirection side)
This Method looks silly, that is because its not used at runtime, a real implementation will be used instead.
side
- side of partpublic void notifyNeighbors()
public void partChanged()
public java.util.Set<LayerFlags> getLayerFlags()
public void markForSave()