Package net.minecraftforge.client.model
Class ModelDataManager
java.lang.Object
net.minecraftforge.client.model.ModelDataManager
-
Field Summary
Modifier and TypeFieldDescriptionprivate static WeakReference<Level>
private static final Map<ChunkPos,
Map<BlockPos, IModelData>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
cleanCaches
(Level level) static IModelData
getModelData
(Level level, BlockPos pos) static Map<BlockPos,
IModelData> getModelData
(Level level, ChunkPos pos) static void
onChunkUnload
(ChunkEvent.Unload event) private static void
refreshModelData
(Level level, ChunkPos chunk) static void
-
Field Details
-
currentLevel
-
needModelDataRefresh
-
modelDataCache
-
-
Constructor Details
-
ModelDataManager
public ModelDataManager()
-
-
Method Details
-
cleanCaches
-
requestModelDataRefresh
-
refreshModelData
-
onChunkUnload
-
getModelData
-
getModelData
-