net.minecraft.client.render.model.block

public class ModelBakery

cgb
net.minecraft.class_2531
net.minecraft.client.render.model.block.ModelBakery
net.minecraft.client.renderer.block.model.ModelBakery
net.minecraft.client.renderer.block.model.ModelBakery

Field summary

Modifier and TypeField
private static final Set<Identifier>
b
field_11297
UNREFERENCED_TEXTURES
field_177602_b
LOCATIONS_BUILTIN_TEXTURES
private static final org.apache.logging.log4j.Logger
c
field_11298
LOGGER
field_177603_c
LOGGER
protected static final ModelIdentifier
a
field_11296
MISSING
field_177604_a
MODEL_MISSING
private static final String
d
field_13659
MISSING_MODEL_MESH
field_188641_d
MISSING_MODEL_MESH
private static final Map<String, String>
e
field_11299
BUILT_IN
field_177600_d
BUILT_IN_MODELS
private static final com.google.common.base.Joiner
f
field_11300
PARENT_CHAIN_JOINER
field_177601_e
JOINER
private final ResourceManager
g
field_11301
resourceManager
field_177598_f
resourceManager
private final Map<Identifier, TextureAtlasSprite>
h
field_11302
sprites
field_177599_g
sprites
private final Map<Identifier, BlockModel>
i
field_11303
blockModels
field_177611_h
models
private final Map<ModelIdentifier, MultiVariant>
j
field_11304
variants
field_177612_i
variants
private final Map<BlockModelDefinition, Collection<ModelIdentifier>>
k
field_13660
multiPartVariants
field_188642_k
multipartVariantMap
private final TextureAtlas
l
field_11305
blocksAtlas
field_177609_j
textureMap
private final BlockModelShaper
m
field_13661
modelShaper
field_177610_k
blockModelShapes
private final FaceBakery
n
field_11307
faceBakery
field_177607_l
faceBakery
private final ItemModelGenerator
o
field_11308
itemModelGenerator
field_177608_m
itemModelGenerator
private final MappedRegistry<ModelIdentifier, BakedModel>
p
field_11309
bakedModels
field_177605_n
bakedRegistry
private static final String
q
field_13662
MARKER_MODEL_MESH
field_188643_q
EMPTY_MODEL_RAW
private static final BlockModel
r
field_13663
GENERATION_MARKER
field_177606_o
MODEL_GENERATED
private static final BlockModel
s
field_13664
BLOCK_ENTITY_MARKER
field_177616_r
MODEL_ENTITY
private final Map<String, Identifier>
t
field_11314
itemModelLocations
field_177615_s
itemLocations
private final Map<Identifier, BlockModelDefinition>
u
field_11315
modelDefinitions
field_177614_t
blockDefinitions
private final Map<Item, List<String>>
v
field_11316
itemVariants
field_177613_u
variantNames

Constructor summary

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

Method summary

Modifier and TypeMethod
public Registry<ModelIdentifier, BakedModel>
a()
method_10383()
bakeModels()
func_177570_a()
setupModelRegistry()
private void
b()
method_12511()
loadModelDefinitions()
func_188640_b()
loadBlocks()
private void
c()
method_10393()
loadModels()
func_177577_b()
loadVariantItemModels()
private void
d()
method_13891()
loadItemFrameModels()
func_191401_d()
loadStaticModels()
private void
a(bvv arg0, cgd arg1)
method_10387(class_2449 arg0, class_2533 arg1)
registerVariant(BlockModelDefinition modelDefinition, ModelIdentifier location)
func_177569_a(ModelBlockDefinition arg0, ModelResourceLocation arg1)
registerVariant(ModelBlockDefinition blockstateDefinition, ModelResourceLocation location)
private BlockModelDefinition
a(nf arg0)
method_12508(class_1653 arg0)
loadModelDefinition(Identifier key)
func_177586_a(ResourceLocation arg0)
getModelBlockDefinition(ResourceLocation location)
private BlockModelDefinition
a(nf arg0, nf arg1)
method_12510(class_1653 arg0, class_1653 arg1)
loadModelDefinition(Identifier key, Identifier location)
func_188632_a(ResourceLocation arg0, ResourceLocation arg1)
loadMultipartMBD(ResourceLocation location, ResourceLocation fileIn)
private BlockModelDefinition
a(nf arg0, ceo arg1)
method_12509(class_1653 arg0, class_1652 arg1)
loadModelDefinition(Identifier key, Resource resource)
func_188636_a(ResourceLocation arg0, IResource arg1)
loadModelBlockDefinition(ResourceLocation location, IResource resource)
private Identifier
b(nf arg0)
method_10395(class_1653 arg0)
getModelDefinitionLocation(Identifier key)
func_188631_b(ResourceLocation arg0)
getBlockstateLocation(ResourceLocation location)
private void
e()
method_12512()
loadVariantModels()
func_177595_c()
loadVariantModels()
private void
f()
method_12513()
loadMultiPartModels()
func_188637_e()
loadMultipartVariantModels()
private void
a(cgd arg0, bwd arg1)
method_12505(class_2533 arg0, class_2877 arg1)
loadBlockModels(ModelIdentifier location, MultiVariant multiVariant)
func_188638_a(ModelResourceLocation arg0, VariantList arg1)
loadVariantList(ModelResourceLocation arg0, VariantList arg1)
private BlockModel
c(nf arg0)
method_10398(class_1653 arg0)
loadBlockModel(Identifier location)
func_177594_c(ResourceLocation arg0)
loadModel(ResourceLocation location)
private Identifier
d(nf arg0)
method_10401(class_1653 arg0)
getModelLocation(Identifier key)
func_177580_d(ResourceLocation arg0)
getModelLocation(ResourceLocation location)
private void
g()
method_12514()
loadItemModels()
func_177590_d()
loadItemModels()
private void
a(String arg0, nf arg1, nf arg2)
method_12506(String arg0, class_1653 arg1, class_1653 arg2)
loadItemModel(String variant, Identifier location, Identifier item)
func_188634_a(String arg0, ResourceLocation arg1, ResourceLocation arg2)
loadItemModel(String variantName, ResourceLocation location, ResourceLocation itemName)
private void
h()
method_10402()
registerItemVariants()
func_177592_e()
registerVariantNames()
private List<String>
a(ain arg0)
method_10392(class_1069 arg0)
getItemVariants(Item item)
func_177596_a(Item arg0)
getVariantNames(Item stack)
private Identifier
a(String arg0)
method_10389(String arg0)
getItemModelLocation(String variant)
func_177583_a(String arg0)
getItemLocation(String location)
private void
i()
method_12515()
bakeBlockModels()
func_177588_f()
bakeBlockModels()
private BakedModel
a(bwd arg0, String arg1)
method_12504(class_2877 arg0, String arg1)
bakeWeightedModel(MultiVariant multiVariant, String modelLocation)
func_188639_a(VariantList arg0, String arg1)
createRandomModelForVariantList(VariantList variantsIn, String modelLocation)
private void
j()
method_10404()
bakeItemModels()
func_188635_i()
bakeItemModels()
private Set<Identifier>
k()
method_10406()
getBlockTextures()
func_177575_g()
getVariantsTextureLocations()
private BakedModel
a(bvu arg0, cfz arg1, boolean arg2)
method_10386(class_2445 arg0, class_2529 arg1, boolean arg2)
bakeModel(BlockModel model, ModelRotation rotation, boolean uvLock)
func_177578_a(ModelBlock arg0, ModelRotation arg1, boolean arg2)
bakeModel(ModelBlock modelBlockIn, ModelRotation modelRotationIn, boolean uvLocked)
private BakedQuad
a(bvq arg0, bvr arg1, cdq arg2, fa arg3, cfz 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)
func_177589_a(BlockPart arg0, BlockPartFace arg1, TextureAtlasSprite arg2, EnumFacing arg3, ModelRotation arg4, boolean arg5)
makeBakedQuad(BlockPart blockPartt, BlockPartFace blockPartFaceIn, TextureAtlasSprite sprite, EnumFacing face, ModelRotation transform, boolean uvLocked)
private void
l()
method_10407()
finalizeModels()
func_177597_h()
loadModelsCheck()
private void
m()
method_10408()
loadModelDependencies()
func_177574_i()
loadModels()
private void
a(Deque<nf> arg0, Set<nf> arg1, bvu arg2)
method_12507(Deque<class_1653> arg0, Set<class_1653> arg1, class_2445 arg2)
enqueueModelParentLocation(Deque<Identifier> loadingQueue, Set<Identifier> loadedModels, BlockModel model)
func_188633_a(Deque<ResourceLocation> arg0, Set<ResourceLocation> arg1, ModelBlock arg2)
addModelParentLocation(Deque<ResourceLocation> arg0, Set<ResourceLocation> arg1, ModelBlock arg2)
private List<Identifier>
e(nf arg0)
method_10403(class_1653 arg0)
getModelDependencyLocations(Identifier location)
func_177573_e(ResourceLocation arg0)
getParentPath(ResourceLocation arg0)
private Identifier
f(nf arg0)
method_10405(class_1653 arg0)
findParentModelLocation(Identifier location)
func_177576_f(ResourceLocation arg0)
getParentLocation(ResourceLocation arg0)
private Set<Identifier>
a(bvu arg0)
method_10385(class_2445 arg0)
getTextures(BlockModel model)
func_177585_a(ModelBlock arg0)
getTextureLocations(ModelBlock arg0)
private void
n()
method_10409()
loadSprites()
func_177572_j()
loadSprites()
private Set<Identifier>
o()
method_10410()
getItemTextures()
func_177571_k()
getItemsTextureLocations()
private boolean
b(bvu arg0)
method_10394(class_2445 arg0)
hasItemModel(BlockModel model)
func_177581_b(ModelBlock arg0)
hasItemModel(ModelBlock arg0)
private boolean
c(bvu arg0)
method_10397(class_2445 arg0)
isBlockEntity(BlockModel model)
func_177587_c(ModelBlock arg0)
isCustomRenderer(ModelBlock arg0)
private void
p()
method_10411()
generateItemModels()
func_177593_l()
makeItemModels()
private BlockModel
d(bvu arg0)
method_10400(class_2445 arg0)
generateItemModel(BlockModel model)
func_177582_d(ModelBlock arg0)
makeItemModel(ModelBlock arg0)