Class ModelBlock
- java.lang.Object
-
- net.minecraft.client.renderer.block.model.ModelBlock
-
public class ModelBlock extends java.lang.Object
+ This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ModelBlock.Deserializer
static class
ModelBlock.LoopException
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
name
protected ModelBlock
parent
protected ResourceLocation
parentLocation
protected java.util.Map<java.lang.String,java.lang.String>
textures
-
Constructor Summary
Constructors Modifier Constructor Description protected
ModelBlock(java.util.List<BlockPart> parList, java.util.Map<java.lang.String,java.lang.String> parMap, boolean parFlag, boolean parFlag2, ItemCameraTransforms parItemCameraTransforms)
protected
ModelBlock(ResourceLocation parResourceLocation, java.util.Map<java.lang.String,java.lang.String> parMap, boolean parFlag, boolean parFlag2, ItemCameraTransforms parItemCameraTransforms)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
checkModelHierarchy(java.util.Map<ResourceLocation,ModelBlock> parMap)
static ModelBlock
deserialize(java.lang.String parString1)
ItemCameraTransforms
func_181682_g()
java.util.List<BlockPart>
getElements()
void
getParentFromMap(java.util.Map<ResourceLocation,ModelBlock> parMap)
ResourceLocation
getParentLocation()
ModelBlock
getRootModel()
boolean
isAmbientOcclusion()
boolean
isGui3d()
boolean
isResolved()
boolean
isTexturePresent(java.lang.String textureName)
java.lang.String
resolveTextureName(java.lang.String textureName)
-
-
-
Field Detail
-
name
public java.lang.String name
-
textures
protected final java.util.Map<java.lang.String,java.lang.String> textures
-
parent
protected ModelBlock parent
-
parentLocation
protected ResourceLocation parentLocation
-
-
Constructor Detail
-
ModelBlock
protected ModelBlock(java.util.List<BlockPart> parList, java.util.Map<java.lang.String,java.lang.String> parMap, boolean parFlag, boolean parFlag2, ItemCameraTransforms parItemCameraTransforms)
-
ModelBlock
protected ModelBlock(ResourceLocation parResourceLocation, java.util.Map<java.lang.String,java.lang.String> parMap, boolean parFlag, boolean parFlag2, ItemCameraTransforms parItemCameraTransforms)
-
-
Method Detail
-
deserialize
public static ModelBlock deserialize(java.lang.String parString1)
-
getElements
public java.util.List<BlockPart> getElements()
-
isAmbientOcclusion
public boolean isAmbientOcclusion()
-
isGui3d
public boolean isGui3d()
-
isResolved
public boolean isResolved()
-
getParentFromMap
public void getParentFromMap(java.util.Map<ResourceLocation,ModelBlock> parMap)
-
isTexturePresent
public boolean isTexturePresent(java.lang.String textureName)
-
resolveTextureName
public java.lang.String resolveTextureName(java.lang.String textureName)
-
getParentLocation
public ResourceLocation getParentLocation()
-
getRootModel
public ModelBlock getRootModel()
-
func_181682_g
public ItemCameraTransforms func_181682_g()
-
checkModelHierarchy
public static void checkModelHierarchy(java.util.Map<ResourceLocation,ModelBlock> parMap)
-
-