public abstract class TileLiquid extends TileBasic
| Modifier and Type | Field and Description |
|---|---|
IntProp |
level |
DEFAULT_BOUNDS, effectiveTools, forceDrop, hardness, name| Constructor and Description |
|---|
TileLiquid(IResourceName name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBreak(IWorld world,
int x,
int y,
TileLayer layer) |
boolean |
canPlaceInLayer(TileLayer layer) |
protected ITileRenderer |
createRenderer(IResourceName name) |
abstract boolean |
doesFlow() |
abstract int |
getFlowSpeed() |
abstract int |
getLevels() |
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) |
getRendereraddEffectiveTool, addProps, addResource, canClimb, canGrassSpreadTo, canKeepPlants, canLiquidSpreadInto, canPlace, canProvideTileEntity, canReplace, canStay, createItemTile, describeItem, doBreak, doesSustainLeaves, doPlace, getBoundBox, getBoundBoxes, getBreakSound, getDefState, getDrops, getHardness, getItem, getLight, getMaxInteractionDistance, getName, getPlacementState, getPlaceSound, getProps, getTranslucentModifier, hasItem, hasSolidSurface, hasState, isAir, isToolEffective, obscuresBackground, onCollideWithEntity, onDestroyed, onInteractWith, onIntersectWithEntity, onRemoved, provideTileEntity, register, setForceDrop, setHardness, shouldShowBreakAnimation, toString, updateRandomly, updateRandomlyForRenderingpublic final IntProp level
public TileLiquid(IResourceName name)
protected ITileRenderer createRenderer(IResourceName 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 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