public class TileTallPlant extends TileBasic
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,
AbstractEntityPlayer 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,
AbstractEntityPlayer breaker,
boolean isRightTool,
boolean allowDrop) |
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 |
onInteractWithBreakKey(IWorld world,
int x,
int y,
TileLayer layer,
double mouseX,
double mouseY,
AbstractEntityPlayer 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, getProps, getTranslucentModifier, hasItem, hasProp, hasSolidSurface, hasState, isAir, isChiselable, isChiseled, isLiquid, 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, AbstractEntityPlayer player)
public boolean isFullTile()
isFullTile in class Tilepublic BoundBox 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, AbstractEntityPlayer 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, AbstractEntityPlayer breaker, boolean isRightTool, boolean allowDrop)