Class DirtyTracker

java.lang.Object
com.hammy275.immersivemc.server.immersive.DirtyTracker

public class DirtyTracker extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Map<net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>,Set<net.minecraft.core.BlockPos>>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isDirty(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
     
    static void
    markDirty(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
     
    static void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dirtyPositions

      public static final Map<net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>,Set<net.minecraft.core.BlockPos>> dirtyPositions
  • Constructor Details

    • DirtyTracker

      public DirtyTracker()
  • Method Details

    • isDirty

      public static boolean isDirty(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • markDirty

      public static void markDirty(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos)
    • unmarkAllDirty

      public static void unmarkAllDirty()