Class TileLayer
java.lang.Object
de.ellpeck.rockbottom.api.world.layer.TileLayer
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTileLayer(ResourceName name, int priority) TileLayer(ResourceName name, int renderPriority, int interactionPriority) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanCollide(MovableWorldObject object) booleancanEditLayer(IGameInstance game, AbstractPlayerEntity player) booleanbooleancanTileBeInLayer(IWorld world, int x, int y, Tile tile) booleanbooleanintgetName()floatintinthashCode()intindex()static voidinit()booleanisVisible(IGameInstance game, AbstractPlayerEntity player, IChunk chunk, int x, int y, boolean isRenderingForeground) register()toString()
-
Field Details
-
MAIN
-
LIQUIDS
-
BACKGROUND
-
-
Constructor Details
-
TileLayer
-
TileLayer
-
-
Method Details
-
init
-
getAllLayers
-
getLayersByInteractionPrio
-
getLayersByRenderPrio
-
getName
-
getRenderPriority
public int getRenderPriority() -
getInteractionPriority
public int getInteractionPriority() -
canEditLayer
-
getRenderLightModifier
public float getRenderLightModifier() -
forceForegroundRender
public boolean forceForegroundRender() -
isVisible
public boolean isVisible(IGameInstance game, AbstractPlayerEntity player, IChunk chunk, int x, int y, boolean isRenderingForeground) -
canTileBeInLayer
-
canHoldTileEntities
public boolean canHoldTileEntities() -
canCollide
-
register
-
equals
-
hashCode
public int hashCode() -
toString
-
index
public int index()
-