Package net.minecraft.server
Class ChunkMap
java.lang.Object
net.minecraft.server.ChunkMap
- Mappings:
Namespace Name intermediary net/minecraft/class_167glue class_564server ooclient net/minecraft/class_167named net/minecraft/server/ChunkMap
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LongObjectHashMapprivate Listprivate intprivate final int[][]private MinecraftServerprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPlayer(ServerPlayerEntity player) intprivate ChunkMap.TrackedChunkgetOrCreateChunk(int chunkX, int chunkZ, boolean createIfAbsent) getWorld()private booleanisWithinViewDistance(int chunkX, int chunkZ, int centerX, int centerZ) voidmarkBlockForUpdate(int x, int y, int z) voidremovePlayer(ServerPlayerEntity player) voidvoidupdatePlayerChunks(ServerPlayerEntity player)
-
Field Details
-
players
- Mappings:
Namespace Name Mixin selector intermediary field_2129Lnet/minecraft/class_167;field_2129:Ljava/util/List;glue field_2349Lclass_564;field_2349:Ljava/util/List;server aLoo;a:Ljava/util/List;client field_2129Lnet/minecraft/class_167;field_2129:Ljava/util/List;named playersLnet/minecraft/server/ChunkMap;players:Ljava/util/List;
-
chunkMapping
- Mappings:
Namespace Name Mixin selector intermediary field_2130Lnet/minecraft/class_167;field_2130:Lnet/minecraft/class_101;glue field_2350Lclass_564;field_2350:Lclass_149;server bLoo;b:Ldx;client field_2130Lnet/minecraft/class_167;field_2130:Lnet/minecraft/class_101;named chunkMappingLnet/minecraft/server/ChunkMap;chunkMapping:Lnet/minecraft/util/LongObjectHashMap;
-
chunksToUpdate
- Mappings:
Namespace Name Mixin selector intermediary field_2131Lnet/minecraft/class_167;field_2131:Ljava/util/List;glue field_2351Lclass_564;field_2351:Ljava/util/List;server cLoo;c:Ljava/util/List;client field_2131Lnet/minecraft/class_167;field_2131:Ljava/util/List;named chunksToUpdateLnet/minecraft/server/ChunkMap;chunksToUpdate:Ljava/util/List;
-
server
- Mappings:
Namespace Name Mixin selector intermediary field_2132Lnet/minecraft/class_167;field_2132:Lnet/minecraft/server/MinecraftServer;glue field_2352Lclass_564;field_2352:Lnet/minecraft/server/MinecraftServer;server dLoo;d:Lnet/minecraft/server/MinecraftServer;client field_2132Lnet/minecraft/class_167;field_2132:Lnet/minecraft/server/MinecraftServer;named serverLnet/minecraft/server/ChunkMap;server:Lnet/minecraft/server/MinecraftServer;
-
dimensionId
private int dimensionId- Mappings:
Namespace Name Mixin selector intermediary field_2133Lnet/minecraft/class_167;field_2133:Iglue field_2353Lclass_564;field_2353:Iserver eLoo;e:Iclient field_2133Lnet/minecraft/class_167;field_2133:Inamed dimensionIdLnet/minecraft/server/ChunkMap;dimensionId:I
-
viewDistance
private int viewDistance- Mappings:
Namespace Name Mixin selector intermediary field_2134Lnet/minecraft/class_167;field_2134:Iglue field_2354Lclass_564;field_2354:Iserver fLoo;f:Iclient field_2134Lnet/minecraft/class_167;field_2134:Inamed viewDistanceLnet/minecraft/server/ChunkMap;viewDistance:I
-
DIRECTIONS
private final int[][] DIRECTIONS- Mappings:
Namespace Name Mixin selector intermediary field_2135Lnet/minecraft/class_167;field_2135:[[Iglue field_2355Lclass_564;field_2355:[[Iserver gLoo;g:[[Iclient field_2135Lnet/minecraft/class_167;field_2135:[[Inamed DIRECTIONSLnet/minecraft/server/ChunkMap;DIRECTIONS:[[I
-
-
Constructor Details
-
ChunkMap
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_167;<init>(Lnet/minecraft/server/MinecraftServer;II)Vglue <init>Lclass_564;<init>(Lnet/minecraft/server/MinecraftServer;II)Vserver <init>Loo;<init>(Lnet/minecraft/server/MinecraftServer;II)Vclient <init>Lnet/minecraft/class_167;<init>(Lnet/minecraft/server/MinecraftServer;II)Vnamed <init>Lnet/minecraft/server/ChunkMap;<init>(Lnet/minecraft/server/MinecraftServer;II)V
-
-
Method Details
-
getWorld
- Mappings:
Namespace Name Mixin selector intermediary method_1741Lnet/minecraft/class_167;method_1741()Lnet/minecraft/class_73;glue method_2019Lclass_564;method_2019()Lclass_137;server aLoo;a()Ldp;client method_1741Lnet/minecraft/class_167;method_1741()Lnet/minecraft/class_73;named getWorldLnet/minecraft/server/ChunkMap;getWorld()Lnet/minecraft/world/ServerWorld;
-
updateChunks
public void updateChunks()- Mappings:
Namespace Name Mixin selector intermediary method_1747Lnet/minecraft/class_167;method_1747()Vglue method_2025Lclass_564;method_2025()Vserver bLoo;b()Vclient method_1747Lnet/minecraft/class_167;method_1747()Vnamed updateChunksLnet/minecraft/server/ChunkMap;updateChunks()V
-
getOrCreateChunk
- Mappings:
Namespace Name Mixin selector intermediary method_1744Lnet/minecraft/class_167;method_1744(IIZ)Lnet/minecraft/class_167$class_514;glue method_2022Lclass_564;method_2022(IIZ)Lclass_564$class_707;server aLoo;a(IIZ)Ly;client method_1744Lnet/minecraft/class_167;method_1744(IIZ)Lnet/minecraft/class_167$class_514;named getOrCreateChunkLnet/minecraft/server/ChunkMap;getOrCreateChunk(IIZ)Lnet/minecraft/server/ChunkMap$TrackedChunk;
-
markBlockForUpdate
public void markBlockForUpdate(int x, int y, int z) - Mappings:
Namespace Name Mixin selector intermediary method_1742Lnet/minecraft/class_167;method_1742(III)Vglue method_2020Lclass_564;method_2020(III)Vserver aLoo;a(III)Vclient method_1742Lnet/minecraft/class_167;method_1742(III)Vnamed markBlockForUpdateLnet/minecraft/server/ChunkMap;markBlockForUpdate(III)V
-
addPlayer
- Mappings:
Namespace Name Mixin selector intermediary method_1745Lnet/minecraft/class_167;method_1745(Lnet/minecraft/class_69;)Vglue method_2023Lclass_564;method_2023(Lclass_132;)Vserver aLoo;a(Ldl;)Vclient method_1745Lnet/minecraft/class_167;method_1745(Lnet/minecraft/class_69;)Vnamed addPlayerLnet/minecraft/server/ChunkMap;addPlayer(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
-
removePlayer
- Mappings:
Namespace Name Mixin selector intermediary method_1748Lnet/minecraft/class_167;method_1748(Lnet/minecraft/class_69;)Vglue method_2026Lclass_564;method_2026(Lclass_132;)Vserver bLoo;b(Ldl;)Vclient method_1748Lnet/minecraft/class_167;method_1748(Lnet/minecraft/class_69;)Vnamed removePlayerLnet/minecraft/server/ChunkMap;removePlayer(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
-
isWithinViewDistance
private boolean isWithinViewDistance(int chunkX, int chunkZ, int centerX, int centerZ) - Mappings:
Namespace Name Mixin selector intermediary method_1743Lnet/minecraft/class_167;method_1743(IIII)Zglue method_2021Lclass_564;method_2021(IIII)Zserver aLoo;a(IIII)Zclient method_1743Lnet/minecraft/class_167;method_1743(IIII)Znamed isWithinViewDistanceLnet/minecraft/server/ChunkMap;isWithinViewDistance(IIII)Z
-
updatePlayerChunks
- Mappings:
Namespace Name Mixin selector intermediary method_1751Lnet/minecraft/class_167;method_1751(Lnet/minecraft/class_69;)Vglue method_2029Lclass_564;method_2029(Lclass_132;)Vserver cLoo;c(Ldl;)Vclient method_1751Lnet/minecraft/class_167;method_1751(Lnet/minecraft/class_69;)Vnamed updatePlayerChunksLnet/minecraft/server/ChunkMap;updatePlayerChunks(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
-
getBlockViewDistance
public int getBlockViewDistance()- Mappings:
Namespace Name Mixin selector intermediary method_1750Lnet/minecraft/class_167;method_1750()Iglue method_2028Lclass_564;method_2028()Iserver cLoo;c()Iclient method_1750Lnet/minecraft/class_167;method_1750()Inamed getBlockViewDistanceLnet/minecraft/server/ChunkMap;getBlockViewDistance()I
-