public class DirtyTracker
extends Object
-
Field Summary
Fields
static final Map<net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>,Set<net.minecraft.core.BlockPos>>
-
Constructor Summary
Constructors
-
Method Summary
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()