Package net.mcreator.element.types
Class Block.StateEntry
java.lang.Object
net.mcreator.element.types.Block.StateEntry
- All Implemented Interfaces:
IWorkspaceDependent,IBlockWithBoundingBox,IItemWithModel
- Enclosing class:
Block
public static class Block.StateEntry
extends Object
implements IWorkspaceDependent, IItemWithModel, IBlockWithBoundingBox
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.mcreator.element.types.interfaces.IBlockWithBoundingBox
IBlockWithBoundingBox.BoxEntry -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanintFields inherited from interface net.mcreator.element.parts.IWorkspaceDependent
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetParticleTexture(TextureHolder fallback) voidsetWorkspace(Workspace workspace) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.mcreator.element.types.interfaces.IBlockWithBoundingBox
isBoundingBoxEmpty, isFullCube, negativeBoundingBoxes, positiveBoundingBoxes
-
Field Details
-
texture
-
textureTop
-
textureLeft
-
textureFront
-
textureRight
-
textureBack
-
renderType
public int renderType -
customModelName
-
particleTexture
-
hasCustomBoundingBox
public boolean hasCustomBoundingBox -
boundingBoxes
-
stateMap
-
-
Constructor Details
-
StateEntry
public StateEntry()
-
-
Method Details
-
setWorkspace
- Specified by:
setWorkspacein interfaceIWorkspaceDependent
-
getWorkspace
- Specified by:
getWorkspacein interfaceIWorkspaceDependent
-
textureTop
-
textureLeft
-
textureFront
-
textureRight
-
textureBack
-
getParticleTexture
-
getItemModel
- Specified by:
getItemModelin interfaceIItemWithModel
-
getTextureMap
- Specified by:
getTextureMapin interfaceIItemWithModel
-
getValidBoundingBoxes
- Specified by:
getValidBoundingBoxesin interfaceIBlockWithBoundingBox
-