Package de.ellpeck.rockbottom.api.tile
Class PlatformTile
java.lang.Object
de.ellpeck.rockbottom.api.tile.Tile
de.ellpeck.rockbottom.api.tile.BasicTile
de.ellpeck.rockbottom.api.tile.PlatformTile
-
Field Summary
Fields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanClimb(IWorld world, int x, int y, TileLayer layer, TileState state, BoundingBox entityBox, BoundingBox entityBoxMotion, List<BoundingBox> tileBoxes, Entity entity) booleancanLiquidSpread(IWorld world, int x, int y, LiquidTile liquid, Direction dir) booleancanPlace(IWorld world, int x, int y, TileLayer layer, AbstractPlayerEntity player) booleancanPlaceInLayer(TileLayer layer) booleancanStay(IWorld world, int x, int y, TileLayer layer, int changedX, int changedY, TileLayer changedLayer) protected ITileRenderercreateRenderer(ResourceName name) getBoundBox(IWorld world, TileState state, int x, int y, TileLayer layer) booleanhasSolidSurface(IWorld world, int x, int y, TileLayer layer) booleanbooleanbooleanonInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player) Methods inherited from class de.ellpeck.rockbottom.api.tile.BasicTile
getRendererMethods inherited from class de.ellpeck.rockbottom.api.tile.Tile
addEffectiveTool, addProps, canBreak, canGrassSpreadTo, canKeepFarmablePlants, canKeepPlants, canProvideTileEntity, canReplace, canSwim, chisel, createItemTile, describeItem, doBreak, doesSustainLeaves, doPlace, factorsIntoHeightMap, getActualBoundBox, getBoundBox, getBoundBoxes, getBoundBoxes, getBreakSound, getChiselBoundBoxes, getDefState, getHardness, getInteractionPriority, getItem, getLight, getMaxInteractionDistance, getName, getPlacementState, getPlaceSound, getPlatformBounds, getProps, getTranslucentModifier, hasItem, hasProp, hasState, isAir, isChiselable, isChiseled, isLiquid, isToolEffective, makesGrassSnowy, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWithBreakKey, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, register, setChiselable, setForceDrop, setHardness, setMaxAmount, toString, updateRandomly, updateRandomlyInPlayerView
-
Constructor Details
-
PlatformTile
public PlatformTile()
-
-
Method Details
-
getBoundBox
- Overrides:
getBoundBoxin classTile
-
isPlatform
public boolean isPlatform()- Overrides:
isPlatformin classTile
-
onInteractWith
public boolean onInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player) - Overrides:
onInteractWithin classTile
-
getDrops
-
isFullTile
public boolean isFullTile()- Overrides:
isFullTilein classTile
-
hasSolidSurface
- Overrides:
hasSolidSurfacein classTile
-
canPlaceInLayer
- Overrides:
canPlaceInLayerin classTile
-
canPlace
-
canClimb
public boolean canClimb(IWorld world, int x, int y, TileLayer layer, TileState state, BoundingBox entityBox, BoundingBox entityBoxMotion, List<BoundingBox> tileBoxes, Entity entity) -
canStay
-
canLiquidSpread
- Overrides:
canLiquidSpreadin classTile
-
createRenderer
- Overrides:
createRendererin classBasicTile
-