public class TileMeta extends BasicTile
| Modifier and Type | Field and Description |
|---|---|
IntProp |
metaProp |
java.util.List<ResourceName> |
subResourceNames |
java.util.List<ResourceName> |
subUnlocNames |
BOTTOM_LEFT, BOTTOM_RIGHT, CHISEL_BOUNDS, DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, isChiselable, name, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
TileMeta(ResourceName name) |
TileMeta(ResourceName name,
boolean addDirectly) |
| Modifier and Type | Method and Description |
|---|---|
TileMeta |
addSubTile(ResourceName name) |
protected TileItem |
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,
AbstractPlayerEntity placer) |
Tile |
register() |
getRendereraddEffectiveTool, addProps, canBreak, canClimb, canGrassSpreadTo, canKeepFarmablePlants, canKeepPlants, canLiquidSpread, canPlace, canPlaceInLayer, canProvideTileEntity, canReplace, canStay, canSwim, chisel, describeItem, doBreak, doesSustainLeaves, doPlace, factorsIntoHeightMap, getActualBoundBox, getBoundBox, getBoundBox, getBoundBoxes, getBoundBoxes, getBreakSound, getChiselBoundBoxes, getDefState, getHardness, getInteractionPriority, getItem, getLight, getMaxInteractionDistance, getName, getPlaceSound, getPlatformBounds, getProps, getTranslucentModifier, hasItem, hasProp, hasSolidSurface, hasState, isAir, isChiselable, isChiseled, isFullTile, isLiquid, isPlatform, isToolEffective, makesGrassSnowy, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWith, onInteractWithBreakKey, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, setChiselable, setForceDrop, setHardness, setMaxAmount, toString, updateRandomly, updateRandomlyInPlayerViewpublic 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 BasicTilepublic TileMeta addSubTile(ResourceName name)
protected TileItem createItemTile()
createItemTile in class Tilepublic TileState getPlacementState(IWorld world, int x, int y, TileLayer layer, ItemInstance instance, AbstractPlayerEntity placer)
getPlacementState in class Tile