net.minecraft.client.resources.model

public class ModelBakery

elk
net.minecraft.client.resources.model.ModelBakery
net.minecraft.class_1088
net.minecraft.client.render.model.ModelLoader
net.minecraft.client.renderer.model.ModelBakery

Field summary

Modifier and TypeField
public static final Material
a
FIRE_0
field_5397
FIRE_0
field_207763_a
public static final Material
b
FIRE_1
field_5370
FIRE_1
field_207764_b
public static final Material
c
LAVA_FLOW
field_5381
LAVA_FLOW
field_207766_d
public static final Material
d
WATER_FLOW
field_5391
WATER_FLOW
field_207768_f
public static final Material
e
WATER_OVERLAY
field_5388
WATER_OVERLAY
field_207769_g
public static final Material
f
BANNER_BASE
field_20847
BANNER_BASE
field_229315_f_
public static final Material
g
SHIELD_BASE
field_21557
SHIELD_BASE
field_229316_g_
public static final Material
h
NO_PATTERN_SHIELD
field_21558
SHIELD_BASE_NO_PATTERN
field_229317_h_
public static final List<ResourceLocation>
i
DESTROY_STAGES
field_20848
BLOCK_DESTRUCTION_STAGES
field_229318_i_
public static final List<ResourceLocation>
j
BREAKING_LOCATIONS
field_21020
BLOCK_DESTRUCTION_STAGE_TEXTURES
field_229319_j_
public static final List<RenderType>
k
DESTROY_TYPES
field_21772
BLOCK_DESTRUCTION_RENDER_LAYERS
field_229320_k_
private static final Set<Material>
p
UNREFERENCED_TEXTURES
field_5378
DEFAULT_TEXTURES
field_177602_b
private static final org.apache.logging.log4j.Logger
q
LOGGER
field_5380
LOGGER
field_177603_c
public static final ModelResourceLocation
l
MISSING_MODEL_LOCATION
field_5374
MISSING
field_177604_a
private static final String
r
MISSING_MODEL_LOCATION_STRING
field_21773
field_21773
field_229321_r_
public static final String
m
MISSING_MODEL_MESH
field_5371
MISSING_DEFINITION
field_188641_d
private static final Map<String, String>
s
BUILTIN_MODELS
field_5396
BUILTIN_MODEL_DEFINITIONS
field_177600_d
private static final com.google.common.base.Splitter
t
COMMA_SPLITTER
field_5373
COMMA_SPLITTER
field_209611_w
private static final com.google.common.base.Splitter
u
EQUAL_SPLITTER
field_5372
KEY_VALUE_SPLITTER
field_209612_x
public static final BlockModel
n
GENERATION_MARKER
field_5400
GENERATION_MARKER
field_177606_o
public static final BlockModel
o
BLOCK_ENTITY_MARKER
field_5389
BLOCK_ENTITY_MARKER
field_177616_r
private static final StateDefinition<Block, BlockState>
v
ITEM_FRAME_FAKE_DEFINITION
field_5395
ITEM_FRAME_STATE_FACTORY
field_209613_y
private static final ItemModelGenerator
w
ITEM_MODEL_GENERATOR
field_5384
ITEM_MODEL_GENERATOR
field_217854_z
private static final Map<ResourceLocation, StateDefinition<Block, BlockState>>
x
STATIC_DEFINITIONS
field_5383
STATIC_DEFINITIONS
field_209607_C
private final ResourceManager
y
resourceManager
field_5379
resourceManager
field_177598_f
private AtlasSet
z
atlasSet
field_21774
spriteAtlasManager
field_229322_z_
private final BlockColors
A
blockColors
field_20272
blockColors
field_225365_D
private final Set<ResourceLocation>
B
loadingStack
field_5390
modelsToLoad
field_217848_D
private final BlockModelDefinition$Context
C
context
field_5399
variantMapDeserializationContext
field_209610_F
private final Map<ResourceLocation, UnbakedModel>
D
unbakedCache
field_5376
unbakedModels
field_217849_F
private final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Transformation, Boolean>, BakedModel>
E
bakedCache
field_5398
bakedModelCache
field_217850_G
private final Map<ResourceLocation, UnbakedModel>
F
topLevelModels
field_5394
modelsToBake
field_217851_H
private final Map<ResourceLocation, BakedModel>
G
bakedTopLevelModels
field_5387
bakedModels
field_217852_I
private final Map<ResourceLocation, com.mojang.datafixers.util.Pair<TextureAtlas, TextureAtlas$Preparations>>
H
atlasPreparations
field_17907
spriteAtlasData
field_217853_J
private int
I
nextModelGroup
field_20273
nextStateId
field_225366_L
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
J
modelGroups
field_20274
stateLookup
field_225367_M

Constructor summary

ModifierConstructor
public (ResourceManager resourceManager, BlockColors arg1, ProfilerFiller arg2, int arg3)

Method summary

Modifier and TypeMethod
public AtlasSet
a(ejv arg0, ant arg1)
uploadTextures(TextureManager arg0, ProfilerFiller arg1)
method_18177(class_1060 arg0, class_3695 arg1)
upload(TextureManager arg0, Profiler arg1)
func_229333_a_(TextureManager arg0, IProfiler arg1)
private static Predicate<BlockState>
a(cef<bul, cee> arg0, String arg1)
predicate(StateDefinition<Block, BlockState> arg0, String arg1)
method_4725(class_2689<class_2248, class_2680> arg0, String arg1)
stateKeyToPredicate(StateManager<Block, BlockState> stateFactory, String key)
func_209605_a(StateContainer<Block, BlockState> arg0, String arg1)
static <T extends Comparable<T>> T
a(cfg<T> arg0, String arg1)
getValueHelper(Property<T> arg0, String arg1)
method_4724(class_2769<T> arg0, String arg1)
getPropertyValue(Property<T> property, String string)
func_209592_a(Property<T> arg0, String arg1)
public UnbakedModel
a(vk arg0)
getModel(ResourceLocation arg0)
method_4726(class_2960 arg0)
getOrLoadModel(Identifier id)
func_209597_a(ResourceLocation arg0)
private void
b(vk arg0)
loadModel(ResourceLocation arg0)
method_4715(class_2960 arg0)
loadModel(Identifier id)
func_209598_b(ResourceLocation arg0)
private void
a(vk arg0, elq arg1)
cacheAndQueueDependencies(ResourceLocation arg0, UnbakedModel arg1)
method_4729(class_2960 arg0, class_1100 arg1)
putModel(Identifier id, UnbakedModel unbakedModel)
func_209593_a(ResourceLocation arg0, IUnbakedModel arg1)
private void
a(elm arg0)
loadTopLevel(ModelResourceLocation arg0)
method_4727(class_1091 arg0)
addModel(ModelIdentifier modelId)
func_217843_a(ModelResourceLocation arg0)
private void
a(Iterable<cee> arg0)
registerModelGroup(Iterable<BlockState> arg0)
method_21603(Iterable<class_2680> arg0)
addStates(Iterable<BlockState> states)
func_225352_a(Iterable<BlockState> arg0)
public BakedModel
a(vk arg0, eln arg1)
bake(ResourceLocation arg0, ModelState arg1)
method_15878(class_2960 arg0, class_3665 arg1)
bake(Identifier arg0, ModelBakeSettings settings)
func_217845_a(ResourceLocation arg0, IModelTransform arg1)
private BlockModel
c(vk arg0)
loadBlockModel(ResourceLocation arg0)
method_4718(class_2960 arg0)
loadModelFromJson(Identifier id)
func_177594_c(ResourceLocation arg0)
public Map<ResourceLocation, BakedModel>
a()
getBakedTopLevelModels()
method_4734()
getBakedModelMap()
func_217846_a()
public it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
b()
getModelGroups()
method_21605()
getStateLookup()
func_225354_b()