net.minecraft.client.renderer.block.model

public class BlockModel

implements UnbakedModel

err
net.minecraft.client.renderer.block.model.BlockModel
net.minecraft.class_793
net.minecraft.unmapped.C_wmxrezbu
net.minecraft.client.render.model.json.JsonUnbakedModel
net.minecraft.client.render.model.json.JsonUnbakedModel
net.minecraft.src.C_4205_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
g
LOGGER
field_4248
f_gdmpsnzj
LOGGER
LOGGER
f_111420_
private static final FaceBakery
h
FACE_BAKERY
field_4249
f_svssmigw
QUAD_FACTORY
QUAD_FACTORY
f_111421_
static final com.google.gson.Gson
a
GSON
field_4254
f_obasaxak
GSON
GSON
f_111415_
private static final char
i
REFERENCE_CHAR
field_32793
f_ujpcuqhs
TEXTURE_REFERENCE_INITIAL
TEXTURE_REFERENCE_INITIAL
f_173419_
public static final String
b
PARTICLE_TEXTURE_REFERENCE
field_32792
f_tynfsaet
PARTICLE_KEY
PARTICLE_KEY
f_173418_
private final List<BlockElement>
j
elements
field_4245
f_qttyrton
elements
elements
f_111422_
private final BlockModel$GuiLight
k
guiLight
field_21857
f_cdyfsuvv
guiLight
guiLight
f_111423_
private final boolean
l
hasAmbientOcclusion
field_4244
f_vkqrgyeu
ambientOcclusion
ambientOcclusion
f_111424_
private final ItemTransforms
m
transforms
field_4250
f_zbyaxvql
transformations
transformations
f_111425_
private final List<ItemOverride>
n
overrides
field_4255
f_phvdshlb
overrides
overrides
f_111426_
public String
c
name
field_4252
f_epjqovvd
id
id
f_111416_
protected final Map<String, com.mojang.datafixers.util.Either<Material, String>>
d
textureMap
field_4251
f_bwamyiot
textureMap
textureMap
f_111417_
protected BlockModel
e
parent
field_4253
f_rvbdaibn
parent
parent
f_111418_
protected ResourceLocation
f
parentLocation
field_4247
f_fgcsuzmp
parentId
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)
m_bfrjmoic(Reader arg0)
deserialize(Reader input)
deserialize(Reader input)
m_111461_(Reader p_111462_)
public static BlockModel
a(String arg0)
fromString(String arg0)
method_3430(String arg0)
m_aqefkcnv(String arg0)
deserialize(String json)
deserialize(String json)
m_111463_(String p_111464_)
public List<BlockElement>
a()
getElements()
method_3433()
m_hdyerhyt()
getElements()
getElements()
m_111436_()
public boolean
b()
hasAmbientOcclusion()
method_3444()
m_ndkuirce()
useAmbientOcclusion()
useAmbientOcclusion()
m_111476_()
public BlockModel$GuiLight
c()
getGuiLight()
method_24298()
m_phxyusmp()
getGuiLight()
getGuiLight()
m_111479_()
public boolean
d()
isResolved()
method_35789()
m_nnlkrtvl()
needsResolution()
needsResolution()
m_173420_()
public List<ItemOverride>
e()
getOverrides()
method_3434()
m_yegahjxn()
getOverrides()
getOverrides()
m_111484_()
private ItemOverrides
a(fco arg0, err arg1)
getItemOverrides(ModelBakery arg0, BlockModel arg1)
method_3440(class_1088 arg0, class_793 arg1)
m_txjpjezv(C_gjnplkfz arg0, C_wmxrezbu arg1)
compileOverrides(ModelLoader modelLoader, JsonUnbakedModel parent)
compileOverrides(ModelLoader modelLoader, JsonUnbakedModel parent)
m_111446_(C_4532_ p_111448_, C_4205_ arg1)
public Collection<ResourceLocation>
f()
getDependencies()
method_4755()
m_hoknelwa()
getModelDependencies()
getModelDependencies()
m_7970_()
public Collection<Material>
a(Function<yt, fcu> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
getMaterials(Function<ResourceLocation, UnbakedModel> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
method_4754(Function<class_2960, class_1100> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
m_fqriwngs(Function<C_ncpywfca, C_nrqwmhri> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
getTextureDependencies(Function<Identifier, UnbakedModel> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
getTextureDependencies(Function<Identifier, UnbakedModel> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
m_5500_(Function<C_5265_, C_4542_> p_111470_, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
public BakedModel
a(fco arg0, Function<fcn, fay> arg1, fcr arg2, yt arg3)
bake(ModelBakery arg0, Function<Material, TextureAtlasSprite> arg1, ModelState arg2, ResourceLocation arg3)
method_4753(class_1088 arg0, Function<class_4730, class_1058> arg1, class_3665 arg2, class_2960 arg3)
m_tzuanxzr(C_gjnplkfz arg0, Function<C_owknzpks, C_uflrwbwt> arg1, C_vucyqort arg2, C_ncpywfca arg3)
bake(ModelLoader arg0, Function<SpriteIdentifier, Sprite> arg1, ModelBakeSettings arg2, Identifier arg3)
bake(ModelLoader arg0, Function<SpriteIdentifier, Sprite> arg1, ModelBakeSettings arg2, Identifier arg3)
m_7611_(C_4532_ p_111458_, Function<C_4531_, C_4486_> p_111459_, C_4537_ p_111460_, C_5265_ arg3)
public BakedModel
a(fco arg0, err arg1, Function<fcn, fay> arg2, fcr arg3, yt arg4, boolean arg5)
bake(ModelBakery arg0, BlockModel arg1, Function<Material, TextureAtlasSprite> arg2, ModelState arg3, ResourceLocation arg4, boolean arg5)
method_3446(class_1088 arg0, class_793 arg1, Function<class_4730, class_1058> arg2, class_3665 arg3, class_2960 arg4, boolean arg5)
m_xpmrijqs(C_gjnplkfz arg0, C_wmxrezbu arg1, Function<C_owknzpks, C_uflrwbwt> arg2, C_vucyqort arg3, C_ncpywfca arg4, boolean arg5)
bake(ModelLoader loader, JsonUnbakedModel parent, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings settings, Identifier id, boolean hasDepth)
bake(ModelLoader loader, JsonUnbakedModel parent, Function<SpriteIdentifier, Sprite> textureGetter, ModelBakeSettings settings, Identifier id, boolean hasDepth)
m_111449_(C_4532_ p_111451_, C_4205_ p_111452_, Function<C_4531_, C_4486_> p_111453_, C_4537_ p_111454_, C_5265_ p_111455_, boolean arg5)
private static BakedQuad
a(ern arg0, ero arg1, fay arg2, go arg3, fcr arg4, yt arg5)
bakeFace(BlockElement arg0, BlockElementFace arg1, TextureAtlasSprite arg2, Direction arg3, ModelState arg4, ResourceLocation arg5)
method_3447(class_785 arg0, class_783 arg1, class_1058 arg2, class_2350 arg3, class_3665 arg4, class_2960 arg5)
m_tcnqoqyy(C_hsydfaux arg0, C_qcpuubnf arg1, C_uflrwbwt arg2, C_xpuuihxf arg3, C_vucyqort arg4, C_ncpywfca arg5)
createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings, Identifier id)
createQuad(ModelElement element, ModelElementFace elementFace, Sprite sprite, Direction side, ModelBakeSettings settings, Identifier id)
m_111437_(C_4197_ p_111438_, C_4200_ p_111439_, C_4486_ p_111440_, C_4687_ p_111441_, C_4537_ p_111442_, C_5265_ p_111443_)
public boolean
b(String arg0)
hasTexture(String arg0)
method_3432(String arg0)
m_fmfupgqy(String arg0)
textureExists(String name)
textureExists(String name)
m_111477_(String arg0)
public Material
c(String arg0)
getMaterial(String arg0)
method_24077(String arg0)
m_edgbgvfr(String arg0)
resolveSprite(String spriteName)
resolveSprite(String spriteName)
m_111480_(String arg0)
private com.mojang.datafixers.util.Either<Material, String>
d(String arg0)
findTextureEntry(String arg0)
method_3442(String arg0)
m_llleiunq(String arg0)
resolveTexture(String name)
resolveTexture(String name)
m_111485_(String arg0)
static boolean
e(String arg0)
isTextureReference(String arg0)
method_3439(String arg0)
m_ygoqawqk(String arg0)
isTextureReference(String reference)
isTextureReference(String reference)
m_111488_(String p_111489_)
public BlockModel
g()
getRootModel()
method_3431()
m_pddoqtlx()
getRootModel()
getRootModel()
m_111490_()
public ItemTransforms
h()
getTransforms()
method_3443()
m_fjidjgoy()
getTransformations()
getTransformations()
m_111491_()
private ItemTransform
a(ery$b arg0)
getTransform(ItemTransforms$TransformType arg0)
method_3438(class_809$class_811 arg0)
m_yvlylunk(C_ddhexvvo$C_cissvwqs arg0)
getTransformation(ModelTransformation$Mode renderMode)
getTransformation(ModelTransformation$Mode renderMode)
m_111444_(C_4222_$C_4225_ arg0)