net.minecraft.client.renderer.block.model

public class BlockModel

implements UnbakedModel

drs
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.renderer.model.BlockModel

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
f
LOGGER
field_4248
f_gdmpsnzj
LOGGER
field_178313_f
private static final FaceBakery
g
FACE_BAKERY
field_4249
f_svssmigw
QUAD_FACTORY
field_217647_g
static final com.google.gson.Gson
a
GSON
field_4254
f_obasaxak
GSON
field_178319_a
private final List<BlockElement>
h
elements
field_4245
f_qttyrton
elements
field_178314_g
private final BlockModel$GuiLight
i
guiLight
field_21857
f_cdyfsuvv
guiLight
field_230174_i_
private final boolean
j
hasAmbientOcclusion
field_4244
f_vkqrgyeu
ambientOcclusion
field_178322_i
private final ItemTransforms
k
transforms
field_4250
f_zbyaxvql
transformations
field_178320_j
private final List<ItemOverride>
l
overrides
field_4255
f_phvdshlb
overrides
field_187968_k
public String
b
name
field_4252
f_epjqovvd
id
field_178317_b
protected final Map<String, com.mojang.datafixers.util.Either<Material, String>>
c
textureMap
field_4251
f_bwamyiot
textureMap
field_178318_c
protected BlockModel
d
parent
field_4253
f_rvbdaibn
parent
field_178315_d
protected ResourceLocation
e
parentLocation
field_4247
f_fgcsuzmp
parentId
field_178316_e

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)
func_178307_a(Reader arg0)
public static BlockModel
a(String arg0)
fromString(String arg0)
method_3430(String arg0)
m_aqefkcnv(String arg0)
deserialize(String json)
func_178294_a(String arg0)
public List<BlockElement>
a()
getElements()
method_3433()
m_hdyerhyt()
getElements()
func_178298_a()
public boolean
b()
hasAmbientOcclusion()
method_3444()
m_ndkuirce()
useAmbientOcclusion()
func_178309_b()
public BlockModel$GuiLight
c()
getGuiLight()
method_24298()
m_phxyusmp()
getGuiLight()
func_230176_c_()
public List<ItemOverride>
e()
getOverrides()
method_3434()
m_yegahjxn()
getOverrides()
func_187966_f()
private ItemOverrides
a(ebz arg0, drs 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)
func_217646_a(ModelBakery arg0, BlockModel arg1)
public Collection<ResourceLocation>
f()
getDependencies()
method_4755()
m_hoknelwa()
getModelDependencies()
func_187965_e()
public Collection<Material>
a(Function<sm, ecf> 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)
func_225614_a_(Function<ResourceLocation, IUnbakedModel> arg0, Set<com.mojang.datafixers.util.Pair<String, String>> arg1)
public BakedModel
a(ebz arg0, Function<eby, eaj> arg1, ecc arg2, sm 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)
func_225613_a_(ModelBakery arg0, Function<Material, TextureAtlasSprite> arg1, IModelTransform arg2, ResourceLocation arg3)
public BakedModel
a(ebz arg0, drs arg1, Function<eby, eaj> arg2, ecc arg3, sm 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)
func_228813_a_(ModelBakery arg0, BlockModel arg1, Function<Material, TextureAtlasSprite> arg2, IModelTransform arg3, ResourceLocation arg4, boolean arg5)
private static BakedQuad
a(dro arg0, drp arg1, eaj arg2, fp arg3, ecc arg4, sm 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)
func_228812_a_(BlockPart arg0, BlockPartFace arg1, TextureAtlasSprite arg2, Direction arg3, IModelTransform arg4, ResourceLocation arg5)
public boolean
b(String arg0)
hasTexture(String arg0)
method_3432(String arg0)
m_fmfupgqy(String arg0)
textureExists(String name)
func_178300_b(String arg0)
public Material
c(String arg0)
getMaterial(String arg0)
method_24077(String arg0)
m_edgbgvfr(String arg0)
resolveSprite(String spriteName)
func_228816_c_(String arg0)
private com.mojang.datafixers.util.Either<Material, String>
e(String arg0)
findTextureEntry(String arg0)
method_3442(String arg0)
m_llleiunq(String arg0)
resolveTexture(String name)
func_228818_e_(String arg0)
private static boolean
f(String arg0)
isTextureReference(String arg0)
method_3439(String arg0)
m_ygoqawqk(String arg0)
isTextureReference(String reference)
func_178304_d(String arg0)
public BlockModel
g()
getRootModel()
method_3431()
m_pddoqtlx()
getRootModel()
func_178310_f()
public ItemTransforms
h()
getTransforms()
method_3443()
m_fjidjgoy()
getTransformations()
func_181682_g()
private ItemTransform
a(drz$b arg0)
getTransform(ItemTransforms$TransformType arg0)
method_3438(class_809$class_811 arg0)
m_yvlylunk(C_ddhexvvo$C_cissvwqs arg0)
getTransformation(ModelTransformation$Mode renderMode)
func_181681_a(ItemCameraTransforms$TransformType arg0)