net.minecraft.client.resource.model

public class BlockModel

bgl
net.minecraft.unmapped.C_68226429
net.minecraft.client.resource.model.BlockModel

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
f_44816465
LOGGER
static final com.google.gson.Gson
a
f_15221875
GSON
private final List<BlockElement>
g
f_28305122
elements
private final boolean
h
f_82432095
gui3d
private final boolean
i
f_37378373
ambientOcclusion
private ModelTransformations
j
f_13636338
transformations
public String
b
f_98616623
name
protected final Map<String, String>
c
f_19371167
textures
protected BlockModel
d
f_42275896
parent
protected Identifier
e
f_39555287
parentLocation

Constructor summary

ModifierConstructor
protected (List<BlockElement> elements, Map<String, String> textures, boolean ambientOcclusion, boolean gui3d, ModelTransformations transformations)
protected (Identifier parentLocation, Map<String, String> textures, boolean ambientOcclusion, boolean gui3d, ModelTransformations transformations)
private (Identifier parentLocation, List<BlockElement> elements, Map<String, String> textures, boolean ambientOcclusion, boolean gui3d, ModelTransformations transformations)

Method summary

Modifier and TypeMethod
public static BlockModel
a(Reader arg0)
m_71589880(Reader arg0)
fromJson(Reader reader)
public static BlockModel
a(String arg0)
m_42974913(String arg0)
fromJson(String s)
public List<BlockElement>
a()
m_78666412()
getElements()
private boolean
h()
m_02125553()
hasParent()
public boolean
b()
m_85767292()
usesAmbientOcclusion()
public boolean
c()
m_72161126()
isGui3d()
public boolean
d()
m_69941524()
isComplete()
public void
a(Map<jy, bgl> arg0)
m_45686313(Map<C_22168528, C_68226429> arg0)
findParent(Map<Identifier, BlockModel> models)
public boolean
b(String arg0)
m_32296573(String arg0)
hasTexture(String path)
public String
c(String arg0)
m_96296747(String arg0)
getTexture(String path)
private String
a(String arg0, bgl$a arg1)
m_73146923(String arg0, C_68226429$C_40108516 arg1)
getTexture(String path, BlockModel$TextureContext context)
private boolean
d(String arg0)
m_39707644(String arg0)
isTextureReference(String path)
public Identifier
e()
m_83310228()
getParentLocation()
public BlockModel
f()
m_37663464()
getRoot()
public ModelTransformations
g()
m_25408596()
getTransformations()
private ModelTransformation
a(bgr$b arg0)
m_90443924(C_83604618$C_68196853 arg0)
getTransformation(ModelTransformations$Type type)
public static void
b(Map<jy, bgl> arg0)
m_03127569(Map<C_22168528, C_68226429> arg0)
checkHierarchy(Map<Identifier, BlockModel> models)