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>blockForcedChunksprivate it.unimi.dsi.fastutil.longs.LongSetchunksprivate 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.LongSetgetChunks()ForgeChunkManager.TicketTracker<java.util.UUID>getEntityForcedChunks()voidload(CompoundNBT p_76184_1_)CompoundNBTsave(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:
loadin classWorldSavedData
-
save
public CompoundNBT save(CompoundNBT p_189551_1_)
- Specified by:
savein classWorldSavedData
-
getChunks
public it.unimi.dsi.fastutil.longs.LongSet getChunks()
-
getBlockForcedChunks
public ForgeChunkManager.TicketTracker<BlockPos> getBlockForcedChunks()
-
getEntityForcedChunks
public ForgeChunkManager.TicketTracker<java.util.UUID> getEntityForcedChunks()
-
-