net.minecraft.client.resources.model

public class ModelBakery

dys
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 ResourceLocation
a
FIRE_0
field_5397
FIRE_0
field_207763_a
public static final ResourceLocation
b
FIRE_1
field_5370
FIRE_1
field_207764_b
public static final ResourceLocation
c
LAVA_FLOW
field_5381
LAVA_FLOW
field_207766_d
public static final ResourceLocation
d
WATER_FLOW
field_5391
WATER_FLOW
field_207768_f
public static final ResourceLocation
e
WATER_OVERLAY
field_5388
WATER_OVERLAY
field_207769_g
public static final ResourceLocation
f
DESTROY_STAGE_0
field_5377
DESTROY_STAGE_0
field_207770_h
public static final ResourceLocation
g
DESTROY_STAGE_1
field_5385
DESTROY_STAGE_1
field_207771_i
public static final ResourceLocation
h
DESTROY_STAGE_2
field_5375
DESTROY_STAGE_2
field_207772_j
public static final ResourceLocation
i
DESTROY_STAGE_3
field_5403
DESTROY_STAGE_3
field_207773_k
public static final ResourceLocation
j
DESTROY_STAGE_4
field_5393
DESTROY_STAGE_4
field_207774_l
public static final ResourceLocation
k
DESTROY_STAGE_5
field_5386
DESTROY_STAGE_5
field_207775_m
public static final ResourceLocation
l
DESTROY_STAGE_6
field_5369
DESTROY_STAGE_6
field_207776_n
public static final ResourceLocation
m
DESTROY_STAGE_7
field_5401
DESTROY_STAGE_7
field_207777_o
public static final ResourceLocation
n
DESTROY_STAGE_8
field_5392
DESTROY_STAGE_8
field_207778_p
public static final ResourceLocation
o
DESTROY_STAGE_9
field_5382
DESTROY_STAGE_9
field_207779_q
private static final Set<ResourceLocation>
t
UNREFERENCED_TEXTURES
field_5378
DEFAULT_TEXTURES
field_177602_b
private static final org.apache.logging.log4j.Logger
u
LOGGER
field_5380
LOGGER
field_177603_c
public static final ModelResourceLocation
p
MISSING_MODEL_LOCATION
field_5374
MISSING
field_177604_a
public static final String
q
MISSING_MODEL_MESH
field_5371
MISSING_DEFINITION
field_188641_d
private static final Map<String, String>
v
BUILTIN_MODELS
field_5396
BUILTIN_MODEL_DEFINITIONS
field_177600_d
private static final com.google.common.base.Splitter
w
COMMA_SPLITTER
field_5373
COMMA_SPLITTER
field_209611_w
private static final com.google.common.base.Splitter
x
EQUAL_SPLITTER
field_5372
KEY_VALUE_SPLITTER
field_209612_x
public static final BlockModel
r
GENERATION_MARKER
field_5400
GENERATION_MARKER
field_177606_o
public static final BlockModel
s
BLOCK_ENTITY_MARKER
field_5389
BLOCK_ENTITY_MARKER
field_177616_r
private static final StateDefinition<Block, BlockState>
y
ITEM_FRAME_FAKE_DEFINITION
field_5395
ITEM_FRAME_STATE_FACTORY
field_209613_y
private static final ItemModelGenerator
z
ITEM_MODEL_GENERATOR
field_5384
ITEM_MODEL_GENERATOR
field_217854_z
private static final Map<ResourceLocation, StateDefinition<Block, BlockState>>
A
STATIC_DEFINITIONS
field_5383
STATIC_DEFINITIONS
field_209607_C
private final ResourceManager
B
resourceManager
field_5379
resourceManager
field_177598_f
private final TextureAtlas
C
blockAtlas
field_5402
spriteAtlas
field_177609_j
private final BlockColors
D
blockColors
field_20272
field_225365_D
private final Set<ResourceLocation>
E
loadingStack
field_5390
modelsToLoad
field_217848_D
private final BlockModelDefinition$Context
F
context
field_5399
variantMapDeserializationContext
field_209610_F
private final Map<ResourceLocation, UnbakedModel>
G
unbakedCache
field_5376
unbakedModels
field_217849_F
private final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation, BlockModelRotation, Boolean>, BakedModel>
H
bakedCache
field_5398
bakedModelCache
field_217850_G
private final Map<ResourceLocation, UnbakedModel>
I
topLevelModels
field_5394
modelsToBake
field_217851_H
private final Map<ResourceLocation, BakedModel>
J
bakedTopLevelModels
field_5387
bakedModels
field_217852_I
private final TextureAtlas$Preparations
K
atlasPreparations
field_17907
spriteAtlasData
field_217853_J
private int
L
nextModelGroup
field_20273
field_225366_L
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
M
modelGroups
field_20274
field_225367_M

Constructor summary

ModifierConstructor
public (ResourceManager arg0, TextureAtlas spriteAtlas, BlockColors arg2, ProfilerFiller arg3)

Method summary

Modifier and TypeMethod
public void
a(agn arg0)
uploadTextures(ProfilerFiller arg0)
method_18177(class_3695 arg0)
upload(Profiler profiler)
func_217844_a(IProfiler arg0)
private static Predicate<BlockState>
a(bvu<bmv, bvt> 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(bww<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(IProperty<T> arg0, String arg1)
public UnbakedModel
a(qv arg0)
getModel(ResourceLocation arg0)
method_4726(class_2960 arg0)
getOrLoadModel(Identifier id)
func_209597_a(ResourceLocation arg0)
private void
b(qv arg0)
loadModel(ResourceLocation arg0)
method_4715(class_2960 arg0)
loadModel(Identifier id)
func_209598_b(ResourceLocation arg0)
private void
a(qv arg0, dyy 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(dyu arg0)
loadTopLevel(ModelResourceLocation arg0)
method_4727(class_1091 arg0)
addModel(ModelIdentifier modelId)
func_217843_a(ModelResourceLocation arg0)
private void
a(Iterable<bvt> arg0)
registerModelGroup(Iterable<BlockState> arg0)
method_21603(Iterable<class_2680> arg0)
func_225352_a(Iterable<BlockState> arg0)
public BakedModel
a(qv arg0, dyv arg1)
bake(ResourceLocation arg0, ModelState arg1)
method_15878(class_2960 arg0, class_3665 arg1)
bake(Identifier arg0, ModelBakeSettings settings)
func_217845_a(ResourceLocation arg0, ISprite arg1)
private BlockModel
c(qv 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()
func_225354_b()