net.minecraft.client.resources.model

public class BlockStateModelLoader

gso
net.minecraft.client.resources.model.BlockStateModelLoader
net.minecraft.class_9824
net.minecraft.client.render.model.BlockStatesLoader
net.minecraft.src.C_336451_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
c
LOGGER
field_52261
LOGGER
f_337111_
static final int
a
SINGLETON_MODEL_GROUP
field_52259
field_52259
f_336854_
private static final int
d
INVISIBLE_MODEL_GROUP
field_52262
field_52262
f_337627_
public static final FileToIdConverter
b
BLOCKSTATE_LISTER
field_52260
FINDER
f_337368_
private static final com.google.common.base.Splitter
e
COMMA_SPLITTER
field_52263
COMMA_SPLITTER
f_337641_
private static final com.google.common.base.Splitter
f
EQUAL_SPLITTER
field_52264
EQUAL_SIGN_SPLITTER
f_336803_
private static final StateDefinition<Block, BlockState>
g
ITEM_FRAME_FAKE_DEFINITION
field_52265
ITEM_FRAME_STATE_MANAGER
f_336962_
private static final Map<ResourceLocation, StateDefinition<Block, BlockState>>
h
STATIC_DEFINITIONS
field_52266
STATIC_DEFINITIONS
f_337705_
private final Map<ResourceLocation, List<BlockStateModelLoader$LoadedJson>>
i
blockStateResources
field_52267
blockStates
f_337676_
private final ProfilerFiller
j
profiler
field_52268
profiler
f_337018_
private final BlockColors
k
blockColors
field_52269
blockColors
f_337621_
private final BiConsumer<ModelResourceLocation, UnbakedModel>
l
discoveredModelOutput
field_52270
onLoad
f_337708_
private int
m
nextModelGroup
field_52271
lookupId
f_336966_
private final it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
n
modelGroups
field_52272
stateLookup
f_337591_
private final BlockStateModelLoader$LoadedModel
o
missingModel
field_52273
missingModel
f_336883_
private final BlockModelDefinition$Context
p
context
field_52274
context
f_336707_

Constructor summary

ModifierConstructor
public (Map<ResourceLocation, List<BlockStateModelLoader$LoadedJson>> blockStates, ProfilerFiller profiler, UnbakedModel missingModel, BlockColors blockColors, BiConsumer<ModelResourceLocation, UnbakedModel> onLoad)

Method summary

Modifier and TypeMethod
public void
a()
loadAllBlockStates()
method_61051()
load()
m_338905_()
private void
a(akr arg0, dtd<dfy, dtc> arg1)
loadBlockStateDefinitions(ResourceLocation arg0, StateDefinition<Block, BlockState> arg1)
method_61053(class_2960 arg0, class_2689<class_2248, class_2680> arg1)
loadBlockStates(Identifier id, StateManager<Block, BlockState> stateManager)
m_339144_(C_5265_ p_342234_, C_2065_<C_1706_, C_2064_> arg1)
private static Predicate<BlockState>
a(dtd<dfy, dtc> arg0, String arg1)
predicate(StateDefinition<Block, BlockState> arg0, String arg1)
method_61057(class_2689<class_2248, class_2680> arg0, String arg1)
toStatePredicate(StateManager<Block, BlockState> stateManager, String predicate)
m_338618_(C_2065_<C_1706_, C_2064_> p_344966_, String p_342983_)
static <T extends Comparable<T>> T
a(duf<T> arg0, String arg1)
getValueHelper(Property<T> arg0, String arg1)
method_61058(class_2769<T> arg0, String arg1)
parseProperty(Property<T> property, String value)
m_338822_(C_2097_<T> p_343450_, String p_342834_)
private void
a(Iterable<dtc> arg0)
registerModelGroup(Iterable<BlockState> arg0)
method_61063(Iterable<class_2680> arg0)
addStates(Iterable<BlockState> states)
m_339576_(Iterable<C_2064_> arg0)
public it.unimi.dsi.fastutil.objects.Object2IntMap<BlockState>
b()
getModelGroups()
method_61069()
getStateLookup()
m_338779_()