public class TileMeta extends TileBasic
| Modifier and Type | Field | Description |
|---|---|---|
IntProp |
metaProp |
|
java.util.List<IResourceName> |
subResourceNames |
|
java.util.List<IResourceName> |
subUnlocNames |
DEFAULT_BOUNDS, effectiveTools, forceDrop, hardness, name| Constructor | Description |
|---|---|
TileMeta(IResourceName name) |
|
TileMeta(IResourceName name,
boolean addDirectly) |
| Modifier and Type | Method | Description |
|---|---|---|
TileMeta |
addSubTile(IResourceName name) |
|
protected ItemTile |
createItemTile() |
|
protected ITileRenderer |
createRenderer(IResourceName name) |
|
java.util.List<ItemInstance> |
getDrops(IWorld world,
int x,
int y,
TileLayer layer,
Entity destroyer) |
|
TileState |
getPlacementState(IWorld world,
int x,
int y,
TileLayer layer,
ItemInstance instance,
AbstractEntityPlayer placer) |
|
Tile |
register() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEffectiveTool, addProps, addResource, canBreak, canClimb, canGrassSpreadTo, canKeepPlants, canLiquidSpreadInto, canPlace, canPlaceInLayer, canProvideTileEntity, canReplace, canStay, describeItem, doBreak, doesSustainLeaves, doPlace, getBoundBox, getBoundBoxes, getBreakSound, getDefState, getHardness, getItem, getLight, getMaxInteractionDistance, getName, getPlaceSound, getProps, getTranslucentModifier, hasItem, hasSolidSurface, hasState, isAir, isFullTile, isLiquid, isToolEffective, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWith, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, setForceDrop, setHardness, toString, updateRandomly, updateRandomlyForRenderinggetRendererpublic final java.util.List<IResourceName> subResourceNames
public final java.util.List<IResourceName> subUnlocNames
public IntProp metaProp
public TileMeta(IResourceName name)
public TileMeta(IResourceName name, boolean addDirectly)
protected ITileRenderer createRenderer(IResourceName name)
createRenderer in class TileBasicpublic TileMeta addSubTile(IResourceName name)
protected ItemTile createItemTile()
createItemTile in class Tilepublic TileState getPlacementState(IWorld world, int x, int y, TileLayer layer, ItemInstance instance, AbstractEntityPlayer placer)
getPlacementState in class Tile