net.minecraft.client.renderer.block.model

public class BlockModel

implements UnbakedModel

gmx
net.minecraft.client.renderer.block.model.BlockModel
net.minecraft.class_793
net.minecraft.client.render.model.json.JsonUnbakedModel
net.minecraft.src.C_4205_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
h
LOGGER
field_4248
LOGGER
f_111420_
private static final FaceBakery
i
FACE_BAKERY
field_4249
QUAD_FACTORY
f_111421_
static final com.google.gson.Gson
a
GSON
field_4254
GSON
f_111415_
private static final char
j
REFERENCE_CHAR
field_32793
TEXTURE_REFERENCE_INITIAL
f_173419_
public static final String
b
PARTICLE_TEXTURE_REFERENCE
field_32792
PARTICLE_KEY
f_173418_
private static final boolean
k
DEFAULT_AMBIENT_OCCLUSION
field_42912
field_42912
f_271537_
public static final Material
c
MISSING_MATERIAL
field_54858
MISSING_SPRITE
f_347976_
private final List<BlockElement>
l
elements
field_4245
elements
f_111422_
private final BlockModel$GuiLight
m
guiLight
field_21857
guiLight
f_111423_
private final Boolean
n
hasAmbientOcclusion
field_4244
ambientOcclusion
f_111424_
private final ItemTransforms
o
transforms
field_4250
transformations
f_111425_
private final List<ItemOverride>
p
overrides
field_4255
overrides
f_111426_
public String
d
name
field_4252
id
f_111416_
protected final Map<String, com.mojang.datafixers.util.Either<Material, String>>
e
textureMap
field_4251
textureMap
f_111417_
protected BlockModel
f
parent
field_4253
parent
f_111418_
protected ResourceLocation
g
parentLocation
field_4247
parentId
f_111419_

Constructor summary

ModifierConstructor
public (ResourceLocation parentId, List<BlockElement> elements, Map<String, com.mojang.datafixers.util.Either<Material, String>> textureMap, Boolean ambientOcclusion, BlockModel$GuiLight guiLight, ItemTransforms transformations, List<ItemOverride> overrides)

Method summary

Modifier and TypeMethod
public static BlockModel
a(Reader arg0)
fromStream(Reader arg0)
method_3437(Reader arg0)
deserialize(Reader input)
m_111461_(Reader p_111462_)
public List<BlockElement>
a()
getElements()
method_3433()
getElements()
m_111436_()
public boolean
b()
hasAmbientOcclusion()
method_3444()
useAmbientOcclusion()
m_111476_()
public BlockModel$GuiLight
c()
getGuiLight()
method_24298()
getGuiLight()
m_111479_()
public boolean
d()
isResolved()
method_35789()
needsResolution()
m_173420_()
public List<ItemOverride>
e()
getOverrides()
method_3434()
getOverrides()
m_111484_()
public void
a(heg$a arg0)
resolveDependencies(UnbakedModel$Resolver arg0)
method_62326(class_1100$class_10103 arg0)
resolve(UnbakedModel$Resolver arg0)
m_352053_(C_4542_$C_346197_ arg0)
public BakedModel
a(hdw arg0, Function<hdu, hbl> arg1, hec arg2)
bake(ModelBaker arg0, Function<Material, TextureAtlasSprite> arg1, ModelState arg2)
method_4753(class_7775 arg0, Function<class_4730, class_1058> arg1, class_3665 arg2)
bake(Baker arg0, Function<SpriteIdentifier, Sprite> arg1, ModelBakeSettings arg2)
m_7611_(C_243643_ p_250023_, Function<C_4531_, C_4486_> p_251130_, C_4537_ arg2)
public BakedModel
a(Function<hdu, hbl> arg0, hec arg1, boolean arg2)
bake(Function<Material, TextureAtlasSprite> arg0, ModelState arg1, boolean arg2)
method_3446(Function<class_4730, class_1058> arg0, class_3665 arg1, boolean arg2)
bake(Function<SpriteIdentifier, Sprite> arg0, ModelBakeSettings arg1, boolean arg2)
m_111449_(Function<C_4531_, C_4486_> p_111453_, C_4537_ p_111455_, boolean arg2)
private static BakedQuad
a(gmt arg0, gmu arg1, hbl arg2, jm arg3, hec arg4)
bakeFace(BlockElement arg0, BlockElementFace arg1, TextureAtlasSprite arg2, Direction arg3, ModelState arg4)
method_3447(class_785 arg0, class_783 arg1, class_1058 arg2, class_2350 arg3, class_3665 arg4)
createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings)
m_111437_(C_4197_ p_111438_, C_4200_ p_111439_, C_4486_ p_111440_, C_4687_ p_111441_, C_4537_ p_111442_)
public boolean
a(String arg0)
hasTexture(String arg0)
method_3432(String arg0)
textureExists(String name)
m_111477_(String arg0)
public Material
b(String arg0)
getMaterial(String arg0)
method_24077(String arg0)
resolveSprite(String spriteName)
m_111480_(String arg0)
private com.mojang.datafixers.util.Either<Material, String>
c(String arg0)
findTextureEntry(String arg0)
method_3442(String arg0)
resolveTexture(String name)
m_111485_(String arg0)
static boolean
d(String arg0)
isTextureReference(String arg0)
method_3439(String arg0)
isTextureReference(String reference)
m_111488_(String p_111489_)
public BlockModel
f()
getRootModel()
method_3431()
getRootModel()
m_111490_()
public ItemTransforms
g()
getTransforms()
method_3443()
getTransformations()
m_111491_()
private ItemTransform
a(cxn arg0)
getTransform(ItemDisplayContext arg0)
method_3438(class_811 arg0)
getTransformation(ModelTransformationMode renderMode)
m_269178_(C_268388_ arg0)