public abstract class MultiTile extends TileBasic
| Modifier and Type | Field | Description |
|---|---|---|
IntProp |
propSubX |
|
IntProp |
propSubY |
DEFAULT_BOUNDS, effectiveTools, forceDrop, hardness, name| Constructor | Description |
|---|---|
MultiTile(ResourceName name) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
canPlace(IWorld world,
int x,
int y,
TileLayer layer,
AbstractEntityPlayer player) |
|
protected ITileRenderer |
createRenderer(ResourceName name) |
|
void |
describeItem(IAssetManager manager,
ItemInstance instance,
java.util.List<java.lang.String> desc,
boolean isAdvanced) |
|
void |
doBreak(IWorld world,
int x,
int y,
TileLayer layer,
AbstractEntityPlayer breaker,
boolean isRightTool,
boolean allowDrop) |
|
void |
doPlace(IWorld world,
int x,
int y,
TileLayer layer,
ItemInstance instance,
AbstractEntityPlayer placer) |
|
Pos2 |
getBottomLeft(int x,
int y,
TileState state) |
|
abstract int |
getHeight() |
|
Pos2 |
getInnerCoord(TileState state) |
|
Pos2 |
getMainPos(int x,
int y,
TileState state) |
|
abstract int |
getMainX() |
|
abstract int |
getMainY() |
|
TileState |
getState(int x,
int y) |
|
TileState |
getState(Pos2 coord) |
|
abstract int |
getWidth() |
|
boolean |
isMainPos(int x,
int y,
TileState state) |
|
boolean |
isStructurePart(int x,
int y) |
|
protected abstract boolean[][] |
makeStructure() |
|
void |
onDestroyed(IWorld world,
int x,
int y,
Entity destroyer,
TileLayer layer,
boolean shouldDrop) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEffectiveTool, addProps, canBreak, canClimb, canGrassSpreadTo, canKeepPlants, canLiquidSpreadInto, canPlaceInLayer, canProvideTileEntity, canReplace, canStay, createItemTile, doesSustainLeaves, factorsIntoHeightMap, getBoundBox, getBoundBoxes, getBreakSound, getDefState, getDrops, getHardness, getInteractionPriority, getItem, getLight, getMaxInteractionDistance, getName, getPlacementState, getPlaceSound, getProps, getTranslucentModifier, hasItem, hasSolidSurface, hasState, isAir, isFullTile, isLiquid, isToolEffective, obscuresBackground, onAdded, onChangeAround, onCollideWithEntity, onInteractWith, onIntersectWithEntity, onRemoved, onScheduledUpdate, provideTileEntity, register, setForceDrop, setHardness, setMaxAmount, toString, updateRandomlygetRendererpublic MultiTile(ResourceName name)
protected ITileRenderer createRenderer(ResourceName name)
createRenderer in class TileBasicprotected abstract boolean[][] makeStructure()
public abstract int getWidth()
public abstract int getHeight()
public abstract int getMainX()
public abstract int getMainY()
public boolean isStructurePart(int x,
int y)
public boolean canPlace(IWorld world, int x, int y, TileLayer layer, AbstractEntityPlayer player)
public void doPlace(IWorld world, int x, int y, TileLayer layer, ItemInstance instance, AbstractEntityPlayer placer)
public void doBreak(IWorld world, int x, int y, TileLayer layer, AbstractEntityPlayer breaker, boolean isRightTool, boolean allowDrop)
public void onDestroyed(IWorld world, int x, int y, Entity destroyer, TileLayer layer, boolean shouldDrop)
onDestroyed in class Tilepublic boolean isMainPos(int x,
int y,
TileState state)
public TileState getState(int x, int y)
public void describeItem(IAssetManager manager, ItemInstance instance, java.util.List<java.lang.String> desc, boolean isAdvanced)
describeItem in class Tile