Package de.ellpeck.rockbottom.api.tile
Class TileMeta
java.lang.Object
de.ellpeck.rockbottom.api.tile.Tile
de.ellpeck.rockbottom.api.tile.BasicTile
de.ellpeck.rockbottom.api.tile.TileMeta
-
Field Summary
FieldsFields inherited from class de.ellpeck.rockbottom.api.tile.Tile
BOTTOM_LEFT, BOTTOM_RIGHT, CHISEL_BOUNDS, DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, isChiselable, name, TOP_LEFT, TOP_RIGHT -
Constructor Summary
ConstructorsConstructorDescriptionTileMeta(ResourceName name) TileMeta(ResourceName name, boolean addDirectly) -
Method Summary
Modifier and TypeMethodDescriptionaddSubTile(ResourceName name) protected TileItemprotected ITileRenderercreateRenderer(ResourceName name) getPlacementState(IWorld world, int x, int y, TileLayer layer, ItemInstance instance, AbstractPlayerEntity placer) register()Methods inherited from class de.ellpeck.rockbottom.api.tile.BasicTile
getRendererMethods inherited from class de.ellpeck.rockbottom.api.tile.Tile
addEffectiveTool, 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, updateRandomlyInPlayerView
-
Field Details
-
subResourceNames
-
subUnlocNames
-
metaProp
-
-
Constructor Details
-
TileMeta
-
TileMeta
-
-
Method Details
-
createRenderer
- Overrides:
createRendererin classBasicTile
-
register
-
addSubTile
-
createItemTile
- Overrides:
createItemTilein classTile
-
getPlacementState
public TileState getPlacementState(IWorld world, int x, int y, TileLayer layer, ItemInstance instance, AbstractPlayerEntity placer) - Overrides:
getPlacementStatein classTile
-
getDrops
-