net.minecraft.client.resource.model

public class BlockModel

boh
net.minecraft.class_2445
net.minecraft.client.resource.model.BlockModel
net.minecraft.client.renderer.block.model.ModelBlock

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
field_10932
LOGGER
LOGGER
static final com.google.gson.Gson
a
field_10927
GSON
SERIALIZER
private final List<BlockElement>
g
field_10933
elements
elements
private final boolean
h
field_10934
gui3d
gui3d
private final boolean
i
field_10935
ambientOcclusion
ambientOcclusion
private ModelTransformations
j
field_10936
transformations
cameraTransforms
private final List<ItemOverride>
k
field_13553
overrides
overrides
public String
b
field_10928
name
name
protected final Map<String, String>
c
field_10929
textures
textures
protected BlockModel
d
field_10930
parent
parent
protected Identifier
e
field_10931
parentLocation
parentLocation

Constructor summary

ModifierConstructor
public (Identifier parentLocation, List<BlockElement> elements, Map<String, String> textures, boolean ambientOcclusion, boolean gui3d, ModelTransformations transformations, List<ItemOverride> overrides)

Method summary

Modifier and TypeMethod
public static BlockModel
a(Reader arg0)
method_10009(Reader arg0)
fromJson(Reader reader)
deserialize(Reader readerIn)
public static BlockModel
a(String arg0)
method_10010(String arg0)
fromJson(String s)
deserialize(String jsonString)
public List<BlockElement>
a()
method_10007()
getElements()
getElements()
private boolean
k()
method_10023()
hasParent()
hasParent()
public boolean
b()
method_10013()
usesAmbientOcclusion()
isAmbientOcclusion()
public boolean
c()
method_10016()
isGui3d()
isGui3d()
public boolean
d()
method_10018()
isComplete()
isResolved()
public void
a(Map<kl, boh> arg0)
method_10012(Map<class_1653, class_2445> arg0)
findParent(Map<Identifier, BlockModel> models)
getParentFromMap(Map<ResourceLocation, ModelBlock> arg0)
public Collection<Identifier>
e()
method_12352()
getOverrideModels()
getOverrideLocations()
protected List<ItemOverride>
f()
method_12353()
getOverrides()
getOverrides()
public ItemOverrides
g()
method_12354()
getItemOverrides()
createOverrides()
public boolean
b(String arg0)
method_10014(String arg0)
hasTexture(String path)
isTexturePresent(String textureName)
public String
c(String arg0)
method_10017(String arg0)
getTexture(String path)
resolveTextureName(String textureName)
private String
a(String arg0, boh$a arg1)
method_10011(String arg0, class_2445$class_2446 arg1)
getTexture(String path, BlockModel$TextureContext context)
resolveTextureName(String textureName, ModelBlock$Bookkeep arg1)
private boolean
d(String arg0)
method_10019(String arg0)
isTextureReference(String path)
startsWithHash(String hash)
public Identifier
h()
method_10020()
getParentLocation()
getParentLocation()
public BlockModel
i()
method_10021()
getRoot()
getRootModel()
public ModelTransformations
j()
method_10022()
getTransformations()
getAllTransforms()
private ModelTransformation
a(bop$b arg0)
method_10008(class_2462$class_2464 arg0)
getTransformation(ModelTransformations$Type type)
getTransform(ItemCameraTransforms$TransformType type)
public static void
b(Map<kl, boh> arg0)
method_10015(Map<class_1653, class_2445> arg0)
checkHierarchy(Map<Identifier, BlockModel> models)
checkModelHierarchy(Map<ResourceLocation, ModelBlock> arg0)