public abstract class TileLiquid extends TileBasic
| Modifier and Type | Field | Description |
|---|---|---|
IntProp |
level |
DEFAULT_BOUNDS, effectiveTools, forceDrop, hardness, name| Constructor | Description |
|---|---|
TileLiquid(ResourceName name) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canBreak(IWorld world,
int x,
int y,
TileLayer layer,
AbstractEntityPlayer player,
boolean isRightTool) |
|
boolean |
canPlaceInLayer(TileLayer layer) |
|
protected ITileRenderer |
createRenderer(ResourceName name) |
|
abstract boolean |
doesFlow() |
|
abstract int |
getFlowSpeed() |
|
abstract int |
getLevels() |
|
protected boolean |
hasItem() |
|
boolean |
isFullTile() |
|
boolean |
isLiquid() |
|
void |
onAdded(IWorld world,
int x,
int y,
TileLayer layer) |
|
void |
onChangeAround(IWorld world,
int x,
int y,
TileLayer layer,
int changedX,
int changedY,
TileLayer changedLayer) |
|
void |
onScheduledUpdate(IWorld world,
int x,
int y,
TileLayer layer,
int scheduledMeta) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEffectiveTool, addProps, canClimb, canGrassSpreadTo, canKeepPlants, canLiquidSpreadInto, canPlace, canProvideTileEntity, canReplace, canStay, createItemTile, describeItem, doBreak, doesSustainLeaves, doPlace, factorsIntoHeightMap, getBoundBox, getBoundBoxes, getBreakSound, getDefState, getDrops, getHardness, getInteractionPriority, getItem, getLight, getMaxInteractionDistance, getName, getPlacementState, getPlaceSound, getProps, getTranslucentModifier, hasSolidSurface, hasState, isAir, isToolEffective, obscuresBackground, onCollideWithEntity, onDestroyed, onInteractWith, onIntersectWithEntity, onRemoved, provideTileEntity, register, setForceDrop, setHardness, setMaxAmount, toString, updateRandomlygetRendererpublic final IntProp level
public TileLiquid(ResourceName name)
protected ITileRenderer createRenderer(ResourceName name)
createRenderer in class TileBasicpublic abstract int getLevels()
public abstract boolean doesFlow()
public abstract int getFlowSpeed()
public void onChangeAround(IWorld world, int x, int y, TileLayer layer, int changedX, int changedY, TileLayer changedLayer)
onChangeAround in class Tilepublic boolean canBreak(IWorld world, int x, int y, TileLayer layer, AbstractEntityPlayer player, boolean isRightTool)
public boolean canPlaceInLayer(TileLayer layer)
canPlaceInLayer in class Tilepublic boolean isFullTile()
isFullTile in class Tilepublic void onScheduledUpdate(IWorld world, int x, int y, TileLayer layer, int scheduledMeta)
onScheduledUpdate in class Tile