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 Map<ChunkPos,Map<BlockPos,IModelData>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
cleanCaches(Level world)
static IModelData
getModelData(Level world, BlockPos pos)
static Map<BlockPos,IModelData>
getModelData(Level world, ChunkPos pos)
static void
onChunkUnload(ChunkEvent.Unload event)
private static void
refreshModelData(Level world, ChunkPos chunk)
static void
-
Field Details
-
currentWorld
-
needModelDataRefresh
-
modelDataCache
-
-
Constructor Details
-
ModelDataManager
public ModelDataManager()
-
-
Method Details
-
cleanCaches
-
requestModelDataRefresh
-
refreshModelData
-
onChunkUnload
-
getModelData
-
getModelData
-