net.minecraft.client.resources.model

public class ModelBakery

flu
net.minecraft.client.resources.model.ModelBakery
net.minecraft.class_1088
net.minecraft.client.render.model.ModelLoader
net.minecraft.src.C_4532_

Field summary

Modifier and TypeField
public static final Material
a
FIRE_0
field_5397
FIRE_0
f_119219_
public static final Material
b
FIRE_1
field_5370
FIRE_1
f_119220_
public static final Material
c
LAVA_FLOW
field_5381
LAVA_FLOW
f_119221_
public static final Material
d
WATER_FLOW
field_5391
WATER_FLOW
f_119222_
public static final Material
e
WATER_OVERLAY
field_5388
WATER_OVERLAY
f_119223_
public static final Material
f
BANNER_BASE
field_20847
BANNER_BASE
f_119224_
public static final Material
g
SHIELD_BASE
field_21557
SHIELD_BASE
f_119225_
public static final Material
h
NO_PATTERN_SHIELD
field_21558
SHIELD_BASE_NO_PATTERN
f_119226_
public static final int
i
DESTROY_STAGE_COUNT
field_32983
field_32983
f_174875_
public static final List<ResourceLocation>
j
DESTROY_STAGES
field_20848
BLOCK_DESTRUCTION_STAGES
f_119227_
public static final List<ResourceLocation>
k
BREAKING_LOCATIONS
field_21020
BLOCK_DESTRUCTION_STAGE_TEXTURES
f_119228_
public static final List<RenderType>
l
DESTROY_TYPES
field_21772
BLOCK_DESTRUCTION_RENDER_LAYERS
f_119229_
private static final Set<Material>
r
UNREFERENCED_TEXTURES
field_5378
DEFAULT_TEXTURES
f_119234_
static final int
m
SINGLETON_MODEL_GROUP
field_32984
field_32984
f_174876_
private static final int
s
INVISIBLE_MODEL_GROUP
field_32985
field_32985
f_174877_
private static final org.slf4j.Logger
t
LOGGER
field_5380
LOGGER
f_119235_
private static final String
u
BUILTIN_SLASH
field_32986
BUILTIN
f_174878_
private static final String
v
BUILTIN_SLASH_GENERATED
field_32987
BUILTIN_GENERATED
f_174879_
private static final String
w
BUILTIN_BLOCK_ENTITY
field_32988
BUILTIN_ENTITY
f_174880_
private static final String
x
MISSING_MODEL_NAME
field_32989
MISSING
f_174881_
public static final ModelResourceLocation
n
MISSING_MODEL_LOCATION
field_5374
MISSING_ID
f_119230_
private static final String
y
MISSING_MODEL_LOCATION_STRING
field_21773
MISSING_ID_STRING
f_119236_
public static final String
o
MISSING_MODEL_MESH
field_5371
MISSING_DEFINITION
f_119231_
private static final Map<String, String>
z
BUILTIN_MODELS
field_5396
BUILTIN_MODEL_DEFINITIONS
f_119237_
private static final com.google.common.base.Splitter
A
COMMA_SPLITTER
field_5373
COMMA_SPLITTER
f_119238_
private static final com.google.common.base.Splitter
B
EQUAL_SPLITTER
field_5372
KEY_VALUE_SPLITTER
f_119239_
public static final BlockModel
p
GENERATION_MARKER
field_5400
GENERATION_MARKER
f_119232_
public static final BlockModel
q
BLOCK_ENTITY_MARKER
field_5389
BLOCK_ENTITY_MARKER
f_119233_
private static final StateDefinition<Block, BlockState>
C
ITEM_FRAME_FAKE_DEFINITION
field_5395
ITEM_FRAME_STATE_FACTORY
f_119240_
private static final ItemModelGenerator
D
ITEM_MODEL_GENERATOR
field_5384
ITEM_MODEL_GENERATOR
f_119241_
private static final Map<ResourceLocation, StateDefinition<Block, BlockState>>
E
STATIC_DEFINITIONS
field_5383
STATIC_DEFINITIONS
f_119242_
private final ResourceManager
F
resourceManager
field_5379
resourceManager
f_119243_
private AtlasSet
G
atlasSet
field_21774
spriteAtlasManager
f_119244_
private final BlockColors
H
blockColors
field_20272
blockColors
f_119209_
private final Set<ResourceLocation>
I
loadingStack
field_5390
modelsToLoad
f_119210_
private final BlockModelDefinition$Context
J
context
field_5399
variantMapDeserializationContext
f_119211_
private final Map<ResourceLocation, UnbakedModel>
K
unbakedCache
field_5376
unbakedModels
f_119212_
private final Map<org.apache.commons.lang3.tuple.Triple<ResourceLocation, Transformation, Boolean>, BakedModel>
L
bakedCache
field_5398
bakedModelCache
f_119213_
private final Map<ResourceLocation, UnbakedModel>
M
topLevelModels
field_5394
modelsToBake
f_119214_
private final Map<ResourceLocation, BakedModel>
N
bakedTopLevelModels
field_5387
bakedModels
f_119215_
private final Map<ResourceLocation, com.mojang.datafixers.util.Pair<TextureAtlas, TextureAtlas$Preparations>>
O
atlasPreparations
field_17907
spriteAtlasData
f_119216_
private int
P
nextModelGroup
field_20273
nextStateId
f_119217_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
Q
modelGroups
field_20274
stateLookup
f_119218_

Constructor summary

ModifierConstructor
public (ResourceManager resourceManager, BlockColors blockColors, ProfilerFiller profiler, int mipmapLevel)

Method summary

Modifier and TypeMethod
public AtlasSet
a(fkf arg0, awz arg1)
uploadTextures(TextureManager arg0, ProfilerFiller arg1)
method_18177(class_1060 arg0, class_3695 arg1)
upload(TextureManager textureManager, Profiler profiler)
m_119298_(C_4490_ p_119300_, C_442_ arg1)
private static Predicate<BlockState>
a(cvp<cjt, cvo> 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)
m_119273_(C_2065_<C_1706_, C_2064_> p_119274_, String p_119275_)
static <T extends Comparable<T>> T
a(cwr<T> arg0, String arg1)
getValueHelper(Property<T> arg0, String arg1)
method_4724(class_2769<T> arg0, String arg1)
getPropertyValue(Property<T> property, String string)
m_119276_(C_2097_<T> p_119277_, String p_119278_)
public UnbakedModel
a(abb arg0)
getModel(ResourceLocation arg0)
method_4726(class_2960 arg0)
getOrLoadModel(Identifier id)
m_119341_(C_5265_ arg0)
private void
b(abb arg0)
loadModel(ResourceLocation arg0)
method_4715(class_2960 arg0)
loadModel(Identifier id)
m_119362_(C_5265_ arg0)
private void
a(abb arg0, fma arg1)
cacheAndQueueDependencies(ResourceLocation arg0, UnbakedModel arg1)
method_4729(class_2960 arg0, class_1100 arg1)
putModel(Identifier id, UnbakedModel unbakedModel)
m_119352_(C_5265_ p_119354_, C_4542_ arg1)
private void
a(flw arg0)
loadTopLevel(ModelResourceLocation arg0)
method_4727(class_1091 arg0)
addModel(ModelIdentifier modelId)
m_119306_(C_4536_ arg0)
private void
a(Iterable<cvo> arg0)
registerModelGroup(Iterable<BlockState> arg0)
method_21603(Iterable<class_2680> arg0)
addStates(Iterable<BlockState> states)
m_119310_(Iterable<C_2064_> arg0)
public BakedModel
a(abb arg0, flx arg1)
bake(ResourceLocation arg0, ModelState arg1)
method_15878(class_2960 arg0, class_3665 arg1)
bake(Identifier id, ModelBakeSettings settings)
m_119349_(C_5265_ p_119351_, C_4537_ arg1)
private BlockModel
c(abb arg0)
loadBlockModel(ResourceLocation arg0)
method_4718(class_2960 arg0)
loadModelFromJson(Identifier id)
m_119364_(C_5265_ arg0)
public Map<ResourceLocation, BakedModel>
a()
getBakedTopLevelModels()
method_4734()
getBakedModelMap()
m_119251_()
public it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
b()
getModelGroups()
method_21605()
getStateLookup()
m_119355_()