public class ModelBlock
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ModelBlock.Deserializer | 
| static class  | ModelBlock.LoopException | 
| Modifier and Type | Field and Description | 
|---|---|
| boolean | ambientOcclusion | 
| java.lang.String | name | 
| ModelBlock | parent | 
| protected ResourceLocation | parentLocation | 
| java.util.Map<java.lang.String,java.lang.String> | textures | 
| Constructor and Description | 
|---|
| ModelBlock(ResourceLocation parentLocationIn,
          java.util.List<BlockPart> elementsIn,
          java.util.Map<java.lang.String,java.lang.String> texturesIn,
          boolean ambientOcclusionIn,
          boolean gui3dIn,
          ItemCameraTransforms cameraTransformsIn,
          java.util.List<ItemOverride> overridesIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkModelHierarchy(java.util.Map<ResourceLocation,ModelBlock> p_178312_0_) | 
| ItemOverrideList | createOverrides() | 
| static ModelBlock | deserialize(java.io.Reader readerIn) | 
| static ModelBlock | deserialize(java.lang.String jsonString) | 
| ItemCameraTransforms | getAllTransforms() | 
| java.util.List<BlockPart> | getElements() | 
| java.util.Collection<ResourceLocation> | getOverrideLocations() | 
| java.util.List<ItemOverride> | getOverrides() | 
| void | getParentFromMap(java.util.Map<ResourceLocation,ModelBlock> p_178299_1_) | 
| ResourceLocation | getParentLocation() | 
| ModelBlock | getRootModel() | 
| boolean | isAmbientOcclusion() | 
| boolean | isGui3d() | 
| boolean | isResolved() | 
| boolean | isTexturePresent(java.lang.String textureName) | 
| java.lang.String | resolveTextureName(java.lang.String textureName) | 
public final boolean ambientOcclusion
public java.lang.String name
public final java.util.Map<java.lang.String,java.lang.String> textures
public ModelBlock parent
protected ResourceLocation parentLocation
public ModelBlock(@Nullable
                  ResourceLocation parentLocationIn,
                  java.util.List<BlockPart> elementsIn,
                  java.util.Map<java.lang.String,java.lang.String> texturesIn,
                  boolean ambientOcclusionIn,
                  boolean gui3dIn,
                  ItemCameraTransforms cameraTransformsIn,
                  java.util.List<ItemOverride> overridesIn)
public static ModelBlock deserialize(java.io.Reader readerIn)
public static ModelBlock deserialize(java.lang.String jsonString)
public java.util.List<BlockPart> getElements()
public boolean isAmbientOcclusion()
public boolean isGui3d()
public boolean isResolved()
public void getParentFromMap(java.util.Map<ResourceLocation,ModelBlock> p_178299_1_)
public java.util.Collection<ResourceLocation> getOverrideLocations()
public java.util.List<ItemOverride> getOverrides()
public ItemOverrideList createOverrides()
public boolean isTexturePresent(java.lang.String textureName)
public java.lang.String resolveTextureName(java.lang.String textureName)
@Nullable public ResourceLocation getParentLocation()
public ModelBlock getRootModel()
public ItemCameraTransforms getAllTransforms()
public static void checkModelHierarchy(java.util.Map<ResourceLocation,ModelBlock> p_178312_0_)