All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
void |
close() |
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
convertToFullChunk(ChunkHolder chunkHolder) |
private boolean |
doesNotGenerateChunks(ServerPlayerEntity player) |
(package private) void |
dump(Writer writer) |
CompletableFuture<Void> |
enableTickSchedulers(WorldChunk worldChunk) |
protected Iterable<ChunkHolder> |
entryIterator() |
private static int |
getChebyshevDistance(ChunkPos pos,
int x,
int z) |
private static int |
getChebyshevDistance(ChunkPos pos,
ServerPlayerEntity player,
boolean useCameraPosition) |
CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
getChunk(ChunkHolder holder,
ChunkStatus requiredStatus) |
protected ChunkHolder |
getChunkHolder(long pos) |
String |
getChunkLoadingDebugInfo(ChunkPos chunkPos) |
protected IntSupplier |
getCompletedLevelSupplier(long pos) |
protected ChunkHolder |
getCurrentChunkHolder(long pos) |
private static String |
getFutureStatus(CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> completableFuture) |
protected ServerLightingProvider |
getLightProvider() |
int |
getLoadedChunkCount() |
Stream<ServerPlayerEntity> |
getPlayersWatchingChunk(ChunkPos chunkPos,
boolean onlyOnWatchDistanceEdge) |
protected PointOfInterestStorage |
getPointOfInterestStorage() |
private CompletableFuture<com.mojang.datafixers.util.Either<List<Chunk>,ChunkHolder.Unloaded>> |
getRegion(ChunkPos centerChunk,
int margin,
IntFunction<ChunkStatus> distanceToStatus) |
private ChunkStatus |
getRequiredStatusForGeneration(ChunkStatus centerChunkTargetStatus,
int distance) |
private static double |
getSquaredDistance(ChunkPos pos,
Entity entity) |
protected ThreadedAnvilChunkStorage.TicketManager |
getTicketManager() |
int |
getTotalChunksLoadedCount() |
private CompoundTag |
getUpdatedChunkTag(ChunkPos pos) |
(package private) void |
handlePlayerAddedOrRemoved(ServerPlayerEntity player,
boolean added) |
(package private) boolean |
isTooFarFromPlayersToSpawnMobs(ChunkPos chunkPos) |
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
loadChunk(ChunkPos pos) |
protected void |
loadEntity(Entity entity) |
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> |
makeChunkAccessible(ChunkHolder holder) |
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> |
makeChunkEntitiesTickable(ChunkPos pos) |
CompletableFuture<com.mojang.datafixers.util.Either<WorldChunk,ChunkHolder.Unloaded>> |
makeChunkTickable(ChunkHolder holder) |
private ChunkSectionPos |
method_20726(ServerPlayerEntity serverPlayerEntity) |
private byte |
method_27053(ChunkPos chunkPos,
ChunkStatus.ChunkType chunkType) |
private void |
method_27054(ChunkPos chunkPos) |
private boolean |
method_27055(ChunkPos chunkPos) |
protected void |
releaseLightTicket(ChunkPos pos) |
protected void |
save(boolean flush) |
private boolean |
save(Chunk chunk) |
private void |
sendChunkDataPackets(ServerPlayerEntity player,
Packet<?>[] packets,
WorldChunk chunk) |
protected void |
sendToNearbyPlayers(Entity entity,
Packet<?> packet) |
protected void |
sendToOtherNearbyPlayers(Entity entity,
Packet<?> packet) |
protected void |
sendWatchPackets(ServerPlayerEntity player,
ChunkPos pos,
Packet<?>[] packets,
boolean withinMaxWatchDistance,
boolean withinViewDistance) |
private ChunkHolder |
setLevel(long pos,
int level,
ChunkHolder holder,
int int2) |
protected void |
setViewDistance(int watchDistance) |
protected void |
tick(BooleanSupplier shouldKeepTicking) |
protected void |
tickPlayerMovement() |
private void |
tryUnloadChunk(long pos,
ChunkHolder chunkHolder) |
private void |
unloadChunks(BooleanSupplier shouldKeepTicking) |
protected void |
unloadEntity(Entity entity) |
void |
updateCameraPosition(ServerPlayerEntity player) |
protected boolean |
updateHolderMap() |
private CompletableFuture<com.mojang.datafixers.util.Either<Chunk,ChunkHolder.Unloaded>> |
upgradeChunk(ChunkHolder holder,
ChunkStatus requiredStatus) |