net.minecraft.client.resources.model

public class ModelBakery

fww
net.minecraft.client.resources.model.ModelBakery
net.minecraft.class_1088
net.minecraft.unmapped.C_gjnplkfz
net.minecraft.client.render.model.ModelLoader
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
f_pqtezevi
FIRE_0
FIRE_0
f_119219_
public static final Material
b
FIRE_1
field_5370
f_htzriirg
FIRE_1
FIRE_1
f_119220_
public static final Material
c
LAVA_FLOW
field_5381
f_jxdahvbg
LAVA_FLOW
LAVA_FLOW
f_119221_
public static final Material
d
WATER_FLOW
field_5391
f_ahdnbftv
WATER_FLOW
WATER_FLOW
f_119222_
public static final Material
e
WATER_OVERLAY
field_5388
f_irckqypw
WATER_OVERLAY
WATER_OVERLAY
f_119223_
public static final Material
f
BANNER_BASE
field_20847
f_aufeqpjx
BANNER_BASE
BANNER_BASE
f_119224_
public static final Material
g
SHIELD_BASE
field_21557
f_ekvxeuas
SHIELD_BASE
SHIELD_BASE
f_119225_
public static final Material
h
NO_PATTERN_SHIELD
field_21558
f_izgenlnd
SHIELD_BASE_NO_PATTERN
SHIELD_BASE_NO_PATTERN
f_119226_
public static final int
i
DESTROY_STAGE_COUNT
field_32983
f_bvdijdov
field_32983
DESTROY_STAGES
f_174875_
public static final List<ResourceLocation>
j
DESTROY_STAGES
field_20848
f_zbtpqpnr
BLOCK_DESTRUCTION_STAGES
BLOCK_DESTRUCTION_STAGES
f_119227_
public static final List<ResourceLocation>
k
BREAKING_LOCATIONS
field_21020
f_vyprzaxs
BLOCK_DESTRUCTION_STAGE_TEXTURES
BLOCK_DESTRUCTION_STAGE_TEXTURES
f_119228_
public static final List<RenderType>
l
DESTROY_TYPES
field_21772
f_tbmtqwuk
BLOCK_DESTRUCTION_RENDER_LAYERS
BLOCK_DESTRUCTION_RENDER_LAYERS
f_119229_
static final int
m
SINGLETON_MODEL_GROUP
field_32984
f_draiqfwu
field_32984
SINGLETON_MODEL_GROUP
f_174876_
private static final int
t
INVISIBLE_MODEL_GROUP
field_32985
f_vnowzbbm
field_32985
INVISIBLE_MODEL_GROUP
f_174877_
private static final org.slf4j.Logger
u
LOGGER
field_5380
f_usnxiewu
LOGGER
LOGGER
f_119235_
private static final String
v
BUILTIN_SLASH
field_32986
f_dhrmnhis
BUILTIN
BUILTIN
f_174878_
private static final String
w
BUILTIN_SLASH_GENERATED
field_32987
f_roephnlh
BUILTIN_GENERATED
BUILTIN_GENERATED
f_174879_
private static final String
x
BUILTIN_BLOCK_ENTITY
field_32988
f_zijsbupb
BUILTIN_ENTITY
BUILTIN_ENTITY
f_174880_
private static final String
y
MISSING_MODEL_NAME
field_32989
f_ylqduglg
MISSING
MISSING
f_174881_
public static final ModelResourceLocation
n
MISSING_MODEL_LOCATION
field_5374
f_sitcifig
MISSING_ID
MISSING_ID
f_119230_
public static final FileToIdConverter
o
BLOCKSTATE_LISTER
field_40569
f_zsiwclho
BLOCK_STATES_FINDER
BLOCKSTATE_IDS
f_244202_
public static final FileToIdConverter
p
MODEL_LISTER
field_40570
f_xqahzdba
MODELS_FINDER
MODEL_IDS
f_244378_
public static final String
q
MISSING_MODEL_MESH
field_5371
f_xutdrrkl
MISSING_DEFINITION
MISSING_DEFINITION
f_119231_
private static final Map<String, String>
z
BUILTIN_MODELS
field_5396
f_wcwwyixq
BUILTIN_MODEL_DEFINITIONS
BUILTIN_MODEL_DEFINITIONS
f_119237_
private static final com.google.common.base.Splitter
A
COMMA_SPLITTER
field_5373
f_nbrjtmvy
COMMA_SPLITTER
COMMA_SPLITTER
f_119238_
private static final com.google.common.base.Splitter
B
EQUAL_SPLITTER
field_5372
f_ofpkadqh
KEY_VALUE_SPLITTER
KEY_VALUE_SPLITTER
f_119239_
public static final BlockModel
r
GENERATION_MARKER
field_5400
f_zwuiysrb
GENERATION_MARKER
GENERATION_MARKER
f_119232_
public static final BlockModel
s
BLOCK_ENTITY_MARKER
field_5389
f_pgpcuprk
BLOCK_ENTITY_MARKER
BLOCK_ENTITY_MARKER
f_119233_
private static final StateDefinition<Block, BlockState>
C
ITEM_FRAME_FAKE_DEFINITION
field_5395
f_drardajs
ITEM_FRAME_STATE_FACTORY
ITEM_FRAME_STATE_FACTORY
f_119240_
static final ItemModelGenerator
D
ITEM_MODEL_GENERATOR
field_5384
f_dvfrhimt
ITEM_MODEL_GENERATOR
ITEM_MODEL_GENERATOR
f_119241_
private static final Map<ResourceLocation, StateDefinition<Block, BlockState>>
E
STATIC_DEFINITIONS
field_5383
f_yvzqbbvy
STATIC_DEFINITIONS
STATIC_DEFINITIONS
f_119242_
private final BlockColors
F
blockColors
field_20272
f_ynmmqpgc
blockColors
blockColors
f_119209_
private final Map<ResourceLocation, BlockModel>
G
modelResources
field_40567
f_vhrdqcaj
jsonUnbakedModels
modelResources
f_244132_
private final Map<ResourceLocation, List<ModelBakery$LoadedJson>>
H
blockStateResources
field_40568
f_fhdibohs
blockStates
blockStateResources
f_243866_
private final Set<ResourceLocation>
I
loadingStack
field_5390
f_rhekuetz
modelsToLoad
modelsToLoad
f_119210_
private final BlockModelDefinition$Context
J
context
field_5399
f_akeoydro
variantMapDeserializationContext
variantMapDeserializationContext
f_119211_
private final Map<ResourceLocation, UnbakedModel>
K
unbakedCache
field_5376
f_zrsegbpd
unbakedModels
unbakedModels
f_119212_
final Map<ModelBakery$BakedCacheKey, BakedModel>
L
bakedCache
field_5398
f_zrbwhuop
bakedModelCache
bakedModelCache
f_119213_
private final Map<ResourceLocation, UnbakedModel>
M
topLevelModels
field_5394
f_hxaewlwa
modelsToBake
modelsToBake
f_119214_
private final Map<ResourceLocation, BakedModel>
N
bakedTopLevelModels
field_5387
f_caxfftfo
bakedModels
bakedModels
f_119215_
private int
O
nextModelGroup
field_20273
f_bdrbcvat
nextStateId
nextStateId
f_119217_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
P
modelGroups
field_20274
f_glpgsrvk
stateLookup
stateLookup
f_119218_

Constructor summary

ModifierConstructor
public (BlockColors blockColors, ProfilerFiller profiler, Map<ResourceLocation, BlockModel> jsonUnbakedModels, Map<ResourceLocation, List<ModelBakery$LoadedJson>> blockStates)

Method summary

Modifier and TypeMethod
public void
a(BiFunction<acq, fwu, fuv> arg0)
bakeModels(BiFunction<ResourceLocation, Material, TextureAtlasSprite> arg0)
method_45876(BiFunction<class_2960, class_4730, class_1058> arg0)
m_llkjzunn(BiFunction<C_ncpywfca, C_djlixbky, C_uflrwbwt> arg0)
bake(BiFunction<Identifier, SpriteIdentifier, Sprite> spriteLoader)
bakeModels(BiFunction<Identifier, Material, Sprite> spriteGenerator)
m_245909_(BiFunction<C_5265_, C_4531_, C_4486_> arg0)
private static Predicate<BlockState>
a(dcc<cpn, dcb> arg0, String arg1)
predicate(StateDefinition<Block, BlockState> arg0, String arg1)
method_4725(class_2689<class_2248, class_2680> arg0, String arg1)
m_okeektss(C_ezfeikaq<C_mmxmpdoq, C_txtbiemp> arg0, String arg1)
stateKeyToPredicate(StateManager<Block, BlockState> stateFactory, String key)
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(dde<T> arg0, String arg1)
getValueHelper(Property<T> arg0, String arg1)
method_4724(class_2769<T> arg0, String arg1)
m_mmsczdng(C_vzlztuyw<T> arg0, String arg1)
getPropertyValue(Property<T> property, String string)
getPropertyValue(Property<T> property, String string)
m_119276_(C_2097_<T> p_119277_, String p_119278_)
public UnbakedModel
a(acq arg0)
getModel(ResourceLocation arg0)
method_4726(class_2960 arg0)
m_znmoyvgs(C_ncpywfca arg0)
getOrLoadModel(Identifier id)
getOrLoadModel(Identifier id)
m_119341_(C_5265_ arg0)
private void
b(acq arg0)
loadModel(ResourceLocation arg0)
method_4715(class_2960 arg0)
m_upnjzzlf(C_ncpywfca arg0)
loadModel(Identifier id)
loadModel(Identifier id)
m_119362_(C_5265_ arg0)
private void
a(acq arg0, fxc arg1)
cacheAndQueueDependencies(ResourceLocation arg0, UnbakedModel arg1)
method_4729(class_2960 arg0, class_1100 arg1)
m_xyrgsrze(C_ncpywfca arg0, C_nrqwmhri arg1)
putModel(Identifier id, UnbakedModel unbakedModel)
putModel(Identifier id, UnbakedModel unbakedModel)
m_119352_(C_5265_ p_119354_, C_4542_ arg1)
private void
a(fwy arg0)
loadTopLevel(ModelResourceLocation arg0)
method_4727(class_1091 arg0)
m_hykdwzug(C_jcudnsmp arg0)
addModel(ModelIdentifier modelId)
addModel(ModelIdentifier modelId)
m_119306_(C_4536_ arg0)
private void
a(Iterable<dcb> arg0)
registerModelGroup(Iterable<BlockState> arg0)
method_21603(Iterable<class_2680> arg0)
m_oqeuofwh(Iterable<C_txtbiemp> arg0)
addStates(Iterable<BlockState> states)
addStates(Iterable<BlockState> states)
m_119310_(Iterable<C_2064_> arg0)
private BlockModel
c(acq arg0)
loadBlockModel(ResourceLocation arg0)
method_4718(class_2960 arg0)
m_tzxfcora(C_ncpywfca arg0)
loadModelFromJson(Identifier id)
loadModelFromJson(Identifier id)
m_119364_(C_5265_ arg0)
public Map<ResourceLocation, BakedModel>
a()
getBakedTopLevelModels()
method_4734()
m_rlrkrbpx()
getBakedModelMap()
getBakedModelMap()
m_119251_()
public it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
b()
getModelGroups()
method_21605()
m_jttuvliw()
getStateLookup()
getStateLookup()
m_119355_()