public class TileMeta extends TileBasic
| Modifier and Type | Field | Description |
|---|---|---|
IntProp |
metaProp |
|
java.util.List<ResourceName> |
subResourceNames |
|
java.util.List<ResourceName> |
subUnlocNames |
DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, name| Constructor | Description |
|---|---|
TileMeta(ResourceName name) |
|
TileMeta(ResourceName name,
boolean addDirectly) |
| Modifier and Type | Method | Description |
|---|---|---|
TileMeta |
addSubTile(ResourceName name) |
|
protected ItemTile |
createItemTile() |
|
protected ITileRenderer |
createRenderer(ResourceName 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, canBreak, canClimb, canGrassSpreadTo, canKeepFarmablePlants, canKeepPlants, canLiquidSpreadInto, canPlace, canPlaceInLayer, canProvideTileEntity, canReplace, canStay, canSwim, describeItem, doBreak, doesSustainLeaves, doPlace, factorsIntoHeightMap, getBoundBox, getBoundBoxes, getBreakSound, getDefState, getHardness, getInteractionPriority, getItem, getLight, getMaxInteractionDistance, getName, getPlaceSound, getProps, getTranslucentModifier, hasItem, hasSolidSurface, hasState, isAir, isFullTile, isLiquid, isToolEffective, makesGrassSnowy, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWith, onInteractWithBreakKey, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, setForceDrop, setHardness, setMaxAmount, toString, updateRandomly, updateRandomlyInPlayerViewgetRendererpublic final java.util.List<ResourceName> subResourceNames
public final java.util.List<ResourceName> subUnlocNames
public IntProp metaProp
public TileMeta(ResourceName name)
public TileMeta(ResourceName name, boolean addDirectly)
protected ITileRenderer createRenderer(ResourceName name)
createRenderer in class TileBasicpublic TileMeta addSubTile(ResourceName 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