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