public class TileTallPlant extends BasicTile
BOTTOM_LEFT, BOTTOM_RIGHT, CHISEL_BOUNDS, DEFAULT_BOUNDS, effectiveToolProps, forceDrop, hardness, isChiselable, name, TOP_LEFT, TOP_RIGHT| Constructor and Description |
|---|
TileTallPlant(ResourceName name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canBeHere(IWorld world,
int x,
int y,
TileLayer layer) |
boolean |
canPlace(IWorld world,
int x,
int y,
TileLayer layer,
AbstractPlayerEntity player) |
boolean |
canStay(IWorld world,
int x,
int y,
TileLayer layer,
int changedX,
int changedY,
TileLayer changedLayer) |
void |
doBreak(IWorld world,
int x,
int y,
TileLayer layer,
AbstractPlayerEntity breaker,
boolean isRightTool,
boolean allowDrop) |
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 |
onInteractWithBreakKey(IWorld world,
int x,
int y,
TileLayer layer,
double mouseX,
double mouseY,
AbstractPlayerEntity player) |
void |
updateRandomly(IWorld world,
int x,
int y,
TileLayer layer) |
createRenderer, getRendereraddEffectiveTool, addProps, canBreak, canClimb, canGrassSpreadTo, canKeepFarmablePlants, canKeepPlants, canLiquidSpread, canPlaceInLayer, canProvideTileEntity, canReplace, canSwim, chisel, createItemTile, describeItem, 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, isPlatform, isToolEffective, makesGrassSnowy, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onDestroyed, onInteractWith, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, register, setChiselable, setForceDrop, setHardness, setMaxAmount, toString, updateRandomlyInPlayerViewpublic TileTallPlant(ResourceName name)
public boolean canStay(IWorld world, int x, int y, TileLayer layer, int changedX, int changedY, TileLayer changedLayer)
public boolean canPlace(IWorld world, int x, int y, TileLayer layer, AbstractPlayerEntity player)
public boolean isFullTile()
isFullTile in class Tilepublic BoundingBox getBoundBox(IWorld world, TileState state, int x, int y, TileLayer layer)
getBoundBox in class Tilepublic void updateRandomly(IWorld world, int x, int y, TileLayer layer)
updateRandomly in class Tilepublic boolean onInteractWithBreakKey(IWorld world, int x, int y, TileLayer layer, double mouseX, double mouseY, AbstractPlayerEntity player)
onInteractWithBreakKey in class Tilepublic java.util.List<ItemInstance> getDrops(IWorld world, int x, int y, TileLayer layer, Entity destroyer)
public void doBreak(IWorld world, int x, int y, TileLayer layer, AbstractPlayerEntity breaker, boolean isRightTool, boolean allowDrop)