public abstract class TileLiquid extends TileBasic
| Modifier and Type | Field | Description |
|---|---|---|
IntProp |
level |
DEFAULT_BOUNDS, effectiveTools, forceDrop, hardness, name| Constructor | Description |
|---|---|
TileLiquid(IResourceName name) |
| Modifier and Type | Method | 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() |
|
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, addResource, 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, updateRandomly, updateRandomlyForRenderinggetRendererpublic 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