public class TilePlatform extends TileBasic
BOTTOM_LEFT, BOTTOM_RIGHT, CHISEL_BOUNDS, DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, isChiselable, name, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
TilePlatform() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canClimb(IWorld world,
int x,
int y,
TileLayer layer,
TileState state,
BoundBox entityBox,
BoundBox entityBoxMotion,
java.util.List<BoundBox> tileBoxes,
Entity entity) |
boolean |
canLiquidSpread(IWorld world,
int x,
int y,
TileLiquid liquid,
Direction dir) |
boolean |
canPlace(IWorld world,
int x,
int y,
TileLayer layer,
AbstractEntityPlayer 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) |
BoundBox |
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,
AbstractEntityPlayer 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 BoundBox 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, AbstractEntityPlayer 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, AbstractEntityPlayer player)
public boolean canClimb(IWorld world, int x, int y, TileLayer layer, TileState state, BoundBox entityBox, BoundBox entityBoxMotion, java.util.List<BoundBox> 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, TileLiquid liquid, Direction dir)
canLiquidSpread in class Tileprotected ITileRenderer createRenderer(ResourceName name)
createRenderer in class TileBasic