public class PlatformTile extends BasicTile
BOTTOM_LEFT, BOTTOM_RIGHT, CHISEL_BOUNDS, DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, isChiselable, name, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
PlatformTile() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClimb(IWorld world,
int x,
int y,
TileLayer layer,
TileState state,
BoundingBox entityBox,
BoundingBox entityBoxMotion,
java.util.List<BoundingBox> tileBoxes,
Entity entity) |
boolean |
canLiquidSpread(IWorld world,
int x,
int y,
LiquidTile liquid,
Direction dir) |
boolean |
canPlace(IWorld world,
int x,
int y,
TileLayer layer,
AbstractPlayerEntity player) |
boolean |
canPlaceInLayer(TileLayer layer) |
boolean |
canStay(IWorld world,
int x,
int y,
TileLayer layer,
int changedX,
int changedY,
TileLayer changedLayer) |
protected ITileRenderer |
createRenderer(ResourceName name) |
BoundingBox |
getBoundBox(IWorld world,
TileState state,
int x,
int y,
TileLayer layer) |
java.util.List<ItemInstance> |
getDrops(IWorld world,
int x,
int y,
TileLayer layer,
Entity destroyer) |
boolean |
isFullTile() |
boolean |
isPlatform() |
boolean |
onInteractWith(IWorld world,
int x,
int y,
TileLayer layer,
double mouseX,
double mouseY,
AbstractPlayerEntity player) |
getRendereraddEffectiveTool, 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, hasSolidSurface, hasState, isAir, isChiselable, isChiseled, isLiquid, isToolEffective, makesGrassSnowy, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWithBreakKey, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, register, setChiselable, setForceDrop, setHardness, setMaxAmount, toString, updateRandomly, updateRandomlyInPlayerViewpublic BoundingBox getBoundBox(IWorld world, TileState state, int x, int y, TileLayer layer)
getBoundBox in class Tilepublic boolean isPlatform()
isPlatform in class Tilepublic boolean onInteractWith(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player)
onInteractWith in class Tilepublic java.util.List<ItemInstance> getDrops(IWorld world, int x, int y, TileLayer layer, Entity destroyer)
public boolean isFullTile()
isFullTile in class Tilepublic boolean canPlaceInLayer(TileLayer layer)
canPlaceInLayer in class Tilepublic boolean canPlace(IWorld world, int x, int y, TileLayer layer, AbstractPlayerEntity player)
public boolean canClimb(IWorld world, int x, int y, TileLayer layer, TileState state, BoundingBox entityBox, BoundingBox entityBoxMotion, java.util.List<BoundingBox> tileBoxes, Entity entity)
public boolean canStay(IWorld world, int x, int y, TileLayer layer, int changedX, int changedY, TileLayer changedLayer)
public boolean canLiquidSpread(IWorld world, int x, int y, LiquidTile liquid, Direction dir)
canLiquidSpread in class Tileprotected ITileRenderer createRenderer(ResourceName name)
createRenderer in class BasicTile