Package net.minecraft.world
Class ForcedChunksSaveData
- java.lang.Object
-
- net.minecraft.world.storage.WorldSavedData
-
- net.minecraft.world.ForcedChunksSaveData
-
- All Implemented Interfaces:
INBTSerializable<CompoundNBT>
public class ForcedChunksSaveData extends WorldSavedData
-
-
Field Summary
Fields Modifier and Type Field Description private ForgeChunkManager.TicketTracker<BlockPos>
blockForcedChunks
private it.unimi.dsi.fastutil.longs.LongSet
chunks
private ForgeChunkManager.TicketTracker<java.util.UUID>
entityForcedChunks
-
Constructor Summary
Constructors Constructor Description ForcedChunksSaveData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForgeChunkManager.TicketTracker<BlockPos>
getBlockForcedChunks()
it.unimi.dsi.fastutil.longs.LongSet
getChunks()
ForgeChunkManager.TicketTracker<java.util.UUID>
getEntityForcedChunks()
void
load(CompoundNBT p_76184_1_)
CompoundNBT
save(CompoundNBT p_189551_1_)
-
Methods inherited from class net.minecraft.world.storage.WorldSavedData
deserializeNBT, getId, isDirty, save, serializeNBT, setDirty, setDirty
-
-
-
-
Field Detail
-
chunks
private it.unimi.dsi.fastutil.longs.LongSet chunks
-
blockForcedChunks
private ForgeChunkManager.TicketTracker<BlockPos> blockForcedChunks
-
entityForcedChunks
private ForgeChunkManager.TicketTracker<java.util.UUID> entityForcedChunks
-
-
Method Detail
-
load
public void load(CompoundNBT p_76184_1_)
- Specified by:
load
in classWorldSavedData
-
save
public CompoundNBT save(CompoundNBT p_189551_1_)
- Specified by:
save
in classWorldSavedData
-
getChunks
public it.unimi.dsi.fastutil.longs.LongSet getChunks()
-
getBlockForcedChunks
public ForgeChunkManager.TicketTracker<BlockPos> getBlockForcedChunks()
-
getEntityForcedChunks
public ForgeChunkManager.TicketTracker<java.util.UUID> getEntityForcedChunks()
-
-