net.minecraft.server.v1_14_R1

public class PlayerChunkMap

extends IChunkLoader implements PlayerChunk$d

All mapped superinterfaces:

PlayerChunk$d

uu
net.minecraft.class_3898
net.minecraft.server.world.ThreadedAnvilChunkStorage
net.minecraft.world.chunk.ChunkManager
net.minecraft.server.v1_14_R1.PlayerChunkMap

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
d
field_17212
LOGGER
field_219250_d
public static final int
a
field_18239
MAX_LEVEL
field_219249_a
GOLDEN_TICKET
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<PlayerChunk>
e
field_17213
currentChunkHolders
field_219251_e
updatingChunks
private volatile it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<PlayerChunk>
f
field_17220
chunkHolders
field_219252_f
visibleChunks
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<PlayerChunk>
g
field_18807
field_18807
field_219253_g
pendingUnload
private final it.unimi.dsi.fastutil.longs.LongSet
h
field_18307
field_18307
field_219254_h
loadedChunks
private final WorldServer
i
field_17214
world
field_219255_i
world
private final LightEngineThreaded
j
field_17215
serverLightingProvider
field_219256_j
lightEngine
private final IAsyncTaskHandler<Runnable>
k
field_17216
mainThreadExecutor
field_219257_k
executor
private final ChunkGenerator<?>
l
field_17218
chunkGenerator
field_219258_l
chunkGenerator
private final Supplier<WorldPersistentData>
m
field_17705
persistentStateManagerFactory
field_219259_m
private final VillagePlace
n
field_18808
pointOfInterestStorage
field_219260_n
private final it.unimi.dsi.fastutil.longs.LongSet
o
field_17221
unloadedChunks
field_219261_o
unloadQueue
private boolean
p
field_17222
chunkHolderListDirty
field_219262_p
updatingChunksModified
private final ChunkTaskQueueSorter
q
field_17223
chunkTaskPrioritySystem
field_219263_q
private final Mailbox<ChunkTaskQueueSorter$a<Runnable>>
r
field_17224
worldgenActor
field_219264_r
mailboxWorldGen
private final Mailbox<ChunkTaskQueueSorter$a<Runnable>>
s
field_17226
mainActor
field_219265_s
mailboxMain
private final WorldLoadListener
t
field_17442
worldGenerationProgressListener
field_219266_t
worldLoadListener
private final PlayerChunkMap$a
u
field_17228
ticketManager
field_219267_u
private final AtomicInteger
v
field_17230
totalChunksLoadedCount
field_219268_v
private final DefinedStructureManager
w
field_17706
structureManager
field_219269_w
definedStructureManager
private final File
x
field_17707
saveDir
field_219270_x
private final PlayerMap
y
field_18241
playerChunkWatchingManager
field_219271_y
playerMap
private final it.unimi.dsi.fastutil.ints.Int2ObjectMap<PlayerChunkMap$EntityTracker>
z
field_18242
entityTrackers
field_219272_z
trackedEntities
private final Queue<Runnable>
A
field_19343
field_19343
field_223181_A
private int
B
field_18243
watchDistance
field_219247_A
viewDistance

Constructor summary

ModifierConstructor
public (WorldServer arg0, File arg1, com.mojang.datafixers.DataFixer arg2, DefinedStructureManager arg3, Executor arg4, IAsyncTaskHandler<Runnable> arg5, ILightAccess arg6, ChunkGenerator<?> arg7, WorldLoadListener arg8, Supplier<WorldPersistentData> arg9, int arg10)

Method summary

Modifier and TypeMethod
private static double
a(bgy arg0, ail arg1)
method_18704(class_1923 arg0, class_1297 arg1)
getSquaredDistance(ChunkPos arg0, Entity arg1)
func_219217_a(ChunkPos arg0, Entity arg1)
private static int
b(bgy arg0, vj arg1, boolean arg2)
method_18719(class_1923 arg0, class_3222 arg1, boolean arg2)
getChebyshevDistance(ChunkPos arg0, ServerPlayerEntity arg1, boolean arg2)
func_219215_b(ChunkPos arg0, ServerPlayerEntity arg1, boolean arg2)
private static int
a(bgy arg0, int arg1, int arg2)
method_18703(class_1923 arg0, int arg1, int arg2)
getChebyshevDistance(ChunkPos arg0, int arg1, int arg2)
func_219232_a(ChunkPos arg0, int arg1, int arg2)
protected LightEngineThreaded
a()
method_17212()
getLightProvider()
func_219207_a()
protected PlayerChunk
a(long arg0)
method_17255(long arg0)
getCurrentChunkHolder(long arg0)
func_219220_a(long arg0)
getUpdatingChunk(long arg0)
protected PlayerChunk
b(long arg0)
method_17216(long arg0)
getChunkHolder(long arg0)
func_219219_b(long arg0)
getVisibleChunk(long arg0)
protected IntSupplier
c(long arg0)
method_17604(long arg0)
getCompletedLevelSupplier(long arg0)
func_219191_c(long arg0)
private CompletableFuture<com.mojang.datafixers.util.Either<List<IChunkAccess>, PlayerChunk$Failure>>
a(bgy arg0, int arg1, IntFunction<bxh> arg2)
method_17220(class_1923 arg0, int arg1, IntFunction<class_2806> arg2)
createChunkRegionFuture(ChunkPos arg0, int arg1, IntFunction<ChunkStatus> arg2)
func_219236_a(ChunkPos arg0, int arg1, IntFunction<ChunkStatus> arg2)
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk, PlayerChunk$Failure>>
b(bgy arg0)
method_17247(class_1923 arg0)
createEntityTickingChunkFuture(ChunkPos arg0)
func_219188_b(ChunkPos arg0)
private PlayerChunk
a(long arg0, int arg1, ut arg2, int arg3)
method_17217(long arg0, int arg1, class_3193 arg2, int arg3)
setLevel(long arg0, int arg1, ChunkHolder arg2, int arg3)
func_219213_a(long arg0, int arg1, ChunkHolder arg2, int arg3)
public void
close()
close()
close()
close()
protected void
a(boolean arg0)
method_17242(boolean arg0)
save(boolean arg0)
func_219177_a(boolean arg0)
save(boolean arg0)
protected void
a(BooleanSupplier arg0)
method_17233(BooleanSupplier arg0)
tick(BooleanSupplier arg0)
func_219204_a(BooleanSupplier arg0)
unloadChunks(BooleanSupplier arg0)
private void
b(BooleanSupplier arg0)
method_20605(BooleanSupplier arg0)
method_20605(BooleanSupplier arg0)
func_223155_b(BooleanSupplier arg0)
private void
a(long arg0, ut arg1)
method_20458(long arg0, class_3193 arg1)
method_20458(long arg0, ChunkHolder arg1)
func_219212_a(long arg0, ChunkHolder arg1)
protected boolean
b()
method_17244()
updateHolderMap()
func_219245_b()
public CompletableFuture<com.mojang.datafixers.util.Either<IChunkAccess, PlayerChunk$Failure>>
a(ut arg0, bxh arg1)
method_17236(class_3193 arg0, class_2806 arg1)
createChunkFuture(ChunkHolder arg0, ChunkStatus arg1)
func_219244_a(ChunkHolder arg0, ChunkStatus arg1)
private CompletableFuture<com.mojang.datafixers.util.Either<IChunkAccess, PlayerChunk$Failure>>
f(bgy arg0)
method_20619(class_1923 arg0)
method_20619(ChunkPos arg0)
func_223172_f(ChunkPos arg0)
private CompletableFuture<com.mojang.datafixers.util.Either<IChunkAccess, PlayerChunk$Failure>>
b(ut arg0, bxh arg1)
method_20617(class_3193 arg0, class_2806 arg1)
method_20617(ChunkHolder arg0, ChunkStatus arg1)
func_223156_b(ChunkHolder arg0, ChunkStatus arg1)
protected void
c(bgy arg0)
method_20441(class_1923 arg0)
method_20441(ChunkPos arg0)
func_219209_c(ChunkPos arg0)
private ChunkStatus
a(bxh arg0, int arg1)
method_17229(class_2806 arg0, int arg1)
getRequiredStatusForGeneration(ChunkStatus arg0, int arg1)
func_219205_a(ChunkStatus arg0, int arg1)
private CompletableFuture<com.mojang.datafixers.util.Either<IChunkAccess, PlayerChunk$Failure>>
c(ut arg0)
method_17226(class_3193 arg0)
convertToFullChunk(ChunkHolder arg0)
func_219200_b(ChunkHolder arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk, PlayerChunk$Failure>>
a(ut arg0)
method_17235(class_3193 arg0)
createTickingFuture(ChunkHolder arg0)
func_219179_a(ChunkHolder arg0)
public CompletableFuture<com.mojang.datafixers.util.Either<Chunk, PlayerChunk$Failure>>
b(ut arg0)
method_20580(class_3193 arg0)
createBorderFuture(ChunkHolder arg0)
func_222961_b(ChunkHolder arg0)
public int
c()
method_17253()
getTotalChunksLoadedCount()
func_219174_c()
private boolean
a(bxc arg0)
method_17228(class_2791 arg0)
save(Chunk arg0)
func_219229_a(IChunk arg0)
saveChunk(IChunkAccess arg0)
protected void
a(int arg0)
method_17214(int arg0)
setViewDistance(int arg0)
func_219175_a(int arg0)
setViewDistance(int arg0)
protected void
a(vj arg0, bgy arg1, kb<?>[] arg2, boolean arg3, boolean arg4)
method_17241(class_3222 arg0, class_1923 arg1, class_2596<?>[] arg2, boolean arg3, boolean arg4)
sendWatchPackets(ServerPlayerEntity arg0, ChunkPos arg1, Packet<?>[] arg2, boolean arg3, boolean arg4)
func_219199_a(ServerPlayerEntity arg0, ChunkPos arg1, IPacket<?>[] arg2, boolean arg3, boolean arg4)
sendChunk(EntityPlayer arg0, ChunkCoordIntPair arg1, Packet<?>[] arg2, boolean arg3, boolean arg4)
public int
d()
method_17260()
getLoadedChunkCount()
func_219194_d()
protected PlayerChunkMap$a
e()
method_17263()
getTicketManager()
func_219246_e()
protected Iterable<PlayerChunk>
f()
method_17264()
entryIterator()
func_223491_f()
private NBTTagCompound
g(bgy arg0)
method_17979(class_1923 arg0)
getUpdatedChunkTag(ChunkPos arg0)
func_219178_f(ChunkPos arg0)
readChunkData(ChunkCoordIntPair arg0)
boolean
d(bgy arg0)
method_18724(class_1923 arg0)
isTooFarFromPlayersToSpawnMobs(ChunkPos arg0)
func_219243_d(ChunkPos arg0)
isOutsideOfRange(ChunkCoordIntPair arg0)
private boolean
b(vj arg0)
method_18722(class_3222 arg0)
doesNotGenerateChunks(ServerPlayerEntity arg0)
func_219187_b(ServerPlayerEntity arg0)
void
a(vj arg0, boolean arg1)
method_18714(class_3222 arg0, boolean arg1)
handlePlayerAddedOrRemoved(ServerPlayerEntity arg0, boolean arg1)
func_219234_a(ServerPlayerEntity arg0, boolean arg1)
private SectionPosition
c(vj arg0)
method_20726(class_3222 arg0)
method_20726(ServerPlayerEntity arg0)
func_223489_c(ServerPlayerEntity arg0)
public void
a(vj arg0)
method_18713(class_3222 arg0)
updateCameraPosition(ServerPlayerEntity arg0)
func_219183_a(ServerPlayerEntity arg0)
movePlayer(EntityPlayer arg0)
public Stream<EntityPlayer>
a(bgy arg0, boolean arg1)
method_17210(class_1923 arg0, boolean arg1)
getPlayersWatchingChunk(ChunkPos arg0, boolean arg1)
func_219097_a(ChunkPos arg0, boolean arg1)
protected void
a(ail arg0)
method_18701(class_1297 arg0)
loadEntity(Entity arg0)
func_219210_a(Entity arg0)
addEntity(Entity arg0)
protected void
b(ail arg0)
method_18716(class_1297 arg0)
unloadEntity(Entity arg0)
func_219231_b(Entity arg0)
removeEntity(Entity arg0)
protected void
g()
method_18727()
tickPlayerMovement()
func_219169_g()
protected void
a(ail arg0, kb<?> arg1)
method_18702(class_1297 arg0, class_2596<?> arg1)
sendToOtherNearbyPlayers(Entity arg0, Packet<?> arg1)
func_219222_a(Entity arg0, IPacket<?> arg1)
broadcast(Entity arg0, Packet<?> arg1)
protected void
b(ail arg0, kb<?> arg1)
method_18717(class_1297 arg0, class_2596<?> arg1)
sendToNearbyPlayers(Entity arg0, Packet<?> arg1)
func_219225_b(Entity arg0, IPacket<?> arg1)
broadcastIncludingSelf(Entity arg0, Packet<?> arg1)
private void
a(vj arg0, kb<?>[] arg1, bxo arg2)
method_18715(class_3222 arg0, class_2596<?>[] arg1, class_2818 arg2)
sendChunkDataPackets(ServerPlayerEntity arg0, Packet<?>[] arg1, WorldChunk arg2)
func_219180_a(ServerPlayerEntity arg0, IPacket<?>[] arg1, Chunk arg2)
protected VillagePlace
h()
method_19488()
getPointOfInterestStorage()
func_219189_h()
public CompletableFuture<Void>
a(bxo arg0)
method_20576(class_2818 arg0)
method_20576(WorldChunk arg0)
func_222973_a(Chunk arg0)
public String
a(bgy arg0)
method_17218(class_1923 arg0)
getDebugString(ChunkPos arg0)
func_219170_a(ChunkPos arg0)