net.minecraft.client.render.model.block

public class ModelBakery

bot
net.minecraft.class_2531
net.minecraft.client.render.model.block.ModelBakery
net.minecraft.client.resources.model.ModelBakery

Field summary

Modifier and TypeField
private static final Set<Identifier>
b
field_11297
UNREFERENCED_TEXTURES
LOCATIONS_BUILTIN_TEXTURES
private static final org.apache.logging.log4j.Logger
c
field_11298
LOGGER
LOGGER
protected static final ModelIdentifier
a
field_11296
MISSING
MODEL_MISSING
private static final Map<String, String>
d
field_11299
BUILT_IN
BUILT_IN_MODELS
private static final com.google.common.base.Joiner
e
field_11300
PARENT_CHAIN_JOINER
JOINER
private final ResourceManager
f
field_11301
resourceManager
resourceManager
private final Map<Identifier, TextureAtlasSprite>
g
field_11302
sprites
sprites
private final Map<Identifier, BlockModel>
h
field_11303
blockModels
models
private final Map<ModelIdentifier, BlockModelDefinition$MultiVariant>
i
field_11304
variants
variants
private final TextureAtlas
j
field_11305
blocksAtlas
textureMap
private final BlockModelShaper
k
field_11306
modelShaper
blockModelShapes
private final FaceBakery
l
field_11307
faceBakery
faceBakery
private final ItemModelGenerator
m
field_11308
itemModelGenerator
itemModelGenerator
private MappedRegistry<ModelIdentifier, BakedModel>
n
field_11309
bakedModels
bakedRegistry
private static final BlockModel
o
field_11310
GENERATION_MARKER
MODEL_GENERATED
private static final BlockModel
p
field_11311
COMPASS_GENERATION_MARKER
MODEL_COMPASS
private static final BlockModel
q
field_11312
CLASS_GENERATION_MARKER
MODEL_CLOCK
private static final BlockModel
r
field_11313
BLOCK_ENTITY_MARKER
MODEL_ENTITY
private Map<String, Identifier>
s
field_11314
itemModelLocations
itemLocations
private final Map<Identifier, BlockModelDefinition>
t
field_11315
modelDefinitions
blockDefinitions
private Map<Item, List<String>>
u
field_11316
itemVariants
variantNames

Constructor summary

ModifierConstructor
public (ResourceManager resourceManager, TextureAtlas blocksAtlas, BlockModelShaper modelShaper)

Method summary

Modifier and TypeMethod
public Registry<ModelIdentifier, BakedModel>
a()
method_10383()
bakeModels()
setupModelRegistry()
private void
b()
method_10393()
loadModels()
loadVariantItemModels()
private void
a(Collection<bov> arg0)
method_10390(Collection<class_2533> arg0)
loadModelDefinitions(Collection<ModelIdentifier> locations)
loadVariants(Collection<ModelResourceLocation> arg0)
private void
a(bgm arg0, bov arg1)
method_10387(class_2449 arg0, class_2533 arg1)
registerVariant(BlockModelDefinition modelDefinition, ModelIdentifier location)
registerVariant(ModelBlockDefinition arg0, ModelResourceLocation arg1)
private BlockModelDefinition
a(jy arg0)
method_10391(class_1653 arg0)
loadModelDefinition(Identifier key)
getModelBlockDefinition(ResourceLocation arg0)
private Identifier
b(jy arg0)
method_10395(class_1653 arg0)
getModelDefinitionLocation(Identifier key)
getBlockStateLocation(ResourceLocation arg0)
private void
c()
method_10396()
loadBlockModels()
loadVariantModels()
private BlockModel
c(jy arg0)
method_10398(class_1653 arg0)
loadBlockModel(Identifier location)
loadModel(ResourceLocation arg0)
private Identifier
d(jy arg0)
method_10401(class_1653 arg0)
getModelLocation(Identifier key)
getModelLocation(ResourceLocation arg0)
private void
d()
method_10399()
loadItemModels()
loadItemModels()
private void
e()
method_10402()
registerItemVariants()
registerVariantNames()
private List<String>
a(zw arg0)
method_10392(class_1069 arg0)
getItemVariants(Item item)
getVariantNames(Item arg0)
private Identifier
a(String arg0)
method_10389(String arg0)
getItemModelLocation(String variant)
getItemLocation(String arg0)
private void
f()
method_10404()
bakeItemModels()
bakeBlockModels()
private Set<Identifier>
g()
method_10406()
getBlockTextures()
getVariantsTextureLocations()
private BakedModel
a(bgl arg0, bor arg1, boolean arg2)
method_10386(class_2445 arg0, class_2529 arg1, boolean arg2)
bakeModel(BlockModel model, ModelRotation rotation, boolean uvLock)
bakeModel(ModelBlock modelBlockIn, ModelRotation modelRotationIn, boolean uvLocked)
private BakedQuad
a(bgh arg0, bgi arg1, bmi arg2, cq arg3, bor arg4, boolean arg5)
method_10384(class_2438 arg0, class_2440 arg1, class_1639 arg2, class_1354 arg3, class_2529 arg4, boolean arg5)
bakeQuad(BlockElement element, BlockElementFace elementFace, TextureAtlasSprite blockSprite, Direction face, ModelRotation rotation, boolean uvLock)
makeBakedQuad(BlockPart arg0, BlockPartFace arg1, TextureAtlasSprite arg2, EnumFacing arg3, ModelRotation arg4, boolean arg5)
private void
h()
method_10407()
finalizeModels()
loadModelsCheck()
private void
i()
method_10408()
loadModelDependencies()
loadModels()
private List<Identifier>
e(jy arg0)
method_10403(class_1653 arg0)
getModelDependencyLocations(Identifier location)
getParentPath(ResourceLocation arg0)
private Identifier
f(jy arg0)
method_10405(class_1653 arg0)
findParentModelLocation(Identifier location)
getParentLocation(ResourceLocation arg0)
private Set<Identifier>
a(bgl arg0)
method_10385(class_2445 arg0)
getTextures(BlockModel model)
getTextureLocations(ModelBlock arg0)
private void
j()
method_10409()
loadSprites()
loadSprites()
private Set<Identifier>
k()
method_10410()
getItemTextures()
getItemsTextureLocations()
private boolean
b(bgl arg0)
method_10394(class_2445 arg0)
hasItemModel(BlockModel model)
hasItemModel(ModelBlock arg0)
private boolean
c(bgl arg0)
method_10397(class_2445 arg0)
isBlockEntity(BlockModel model)
isCustomRenderer(ModelBlock arg0)
private void
l()
method_10411()
generateItemModels()
bakeItemModels()
private BlockModel
d(bgl arg0)
method_10400(class_2445 arg0)
generateItemModel(BlockModel model)
makeItemModel(ModelBlock arg0)