Class ModelDataManager


  • public class ModelDataManager
    extends java.lang.Object
    • Field Detail

      • currentWorld

        private static java.lang.ref.WeakReference<World> currentWorld
      • needModelDataRefresh

        private static final java.util.Map<ChunkPos,​java.util.Set<BlockPos>> needModelDataRefresh
    • Constructor Detail

      • ModelDataManager

        public ModelDataManager()
    • Method Detail

      • cleanCaches

        private static void cleanCaches​(World world)
      • requestModelDataRefresh

        public static void requestModelDataRefresh​(TileEntity te)
      • refreshModelData

        private static void refreshModelData​(World world,
                                             ChunkPos chunk)