Class ChunkMap

java.lang.Object
net.minecraft.server.ChunkMap

@Environment(SERVER) public class ChunkMap extends Object
Mappings:
Namespace Name
intermediary net/minecraft/class_167
glue class_564
server oo
client net/minecraft/class_167
named net/minecraft/server/ChunkMap
  • Field Details

    • players

      public List players
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2129 Lnet/minecraft/class_167;field_2129:Ljava/util/List;
      glue field_2349 Lclass_564;field_2349:Ljava/util/List;
      server a Loo;a:Ljava/util/List;
      client field_2129 Lnet/minecraft/class_167;field_2129:Ljava/util/List;
      named players Lnet/minecraft/server/ChunkMap;players:Ljava/util/List;
    • chunkMapping

      private LongObjectHashMap chunkMapping
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2130 Lnet/minecraft/class_167;field_2130:Lnet/minecraft/class_101;
      glue field_2350 Lclass_564;field_2350:Lclass_149;
      server b Loo;b:Ldx;
      client field_2130 Lnet/minecraft/class_167;field_2130:Lnet/minecraft/class_101;
      named chunkMapping Lnet/minecraft/server/ChunkMap;chunkMapping:Lnet/minecraft/util/LongObjectHashMap;
    • chunksToUpdate

      private List chunksToUpdate
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2131 Lnet/minecraft/class_167;field_2131:Ljava/util/List;
      glue field_2351 Lclass_564;field_2351:Ljava/util/List;
      server c Loo;c:Ljava/util/List;
      client field_2131 Lnet/minecraft/class_167;field_2131:Ljava/util/List;
      named chunksToUpdate Lnet/minecraft/server/ChunkMap;chunksToUpdate:Ljava/util/List;
    • server

      private MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2132 Lnet/minecraft/class_167;field_2132:Lnet/minecraft/server/MinecraftServer;
      glue field_2352 Lclass_564;field_2352:Lnet/minecraft/server/MinecraftServer;
      server d Loo;d:Lnet/minecraft/server/MinecraftServer;
      client field_2132 Lnet/minecraft/class_167;field_2132:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/ChunkMap;server:Lnet/minecraft/server/MinecraftServer;
    • dimensionId

      private int dimensionId
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2133 Lnet/minecraft/class_167;field_2133:I
      glue field_2353 Lclass_564;field_2353:I
      server e Loo;e:I
      client field_2133 Lnet/minecraft/class_167;field_2133:I
      named dimensionId Lnet/minecraft/server/ChunkMap;dimensionId:I
    • viewDistance

      private int viewDistance
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2134 Lnet/minecraft/class_167;field_2134:I
      glue field_2354 Lclass_564;field_2354:I
      server f Loo;f:I
      client field_2134 Lnet/minecraft/class_167;field_2134:I
      named viewDistance Lnet/minecraft/server/ChunkMap;viewDistance:I
    • DIRECTIONS

      private final int[][] DIRECTIONS
      Mappings:
      Namespace Name Mixin selector
      intermediary field_2135 Lnet/minecraft/class_167;field_2135:[[I
      glue field_2355 Lclass_564;field_2355:[[I
      server g Loo;g:[[I
      client field_2135 Lnet/minecraft/class_167;field_2135:[[I
      named DIRECTIONS Lnet/minecraft/server/ChunkMap;DIRECTIONS:[[I
  • Constructor Details

    • ChunkMap

      public ChunkMap(MinecraftServer server, int dimensionId, int viewRadius)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_167;<init>(Lnet/minecraft/server/MinecraftServer;II)V
      glue <init> Lclass_564;<init>(Lnet/minecraft/server/MinecraftServer;II)V
      server <init> Loo;<init>(Lnet/minecraft/server/MinecraftServer;II)V
      client <init> Lnet/minecraft/class_167;<init>(Lnet/minecraft/server/MinecraftServer;II)V
      named <init> Lnet/minecraft/server/ChunkMap;<init>(Lnet/minecraft/server/MinecraftServer;II)V
  • Method Details

    • getWorld

      public ServerWorld getWorld()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1741 Lnet/minecraft/class_167;method_1741()Lnet/minecraft/class_73;
      glue method_2019 Lclass_564;method_2019()Lclass_137;
      server a Loo;a()Ldp;
      client method_1741 Lnet/minecraft/class_167;method_1741()Lnet/minecraft/class_73;
      named getWorld Lnet/minecraft/server/ChunkMap;getWorld()Lnet/minecraft/world/ServerWorld;
    • updateChunks

      public void updateChunks()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1747 Lnet/minecraft/class_167;method_1747()V
      glue method_2025 Lclass_564;method_2025()V
      server b Loo;b()V
      client method_1747 Lnet/minecraft/class_167;method_1747()V
      named updateChunks Lnet/minecraft/server/ChunkMap;updateChunks()V
    • getOrCreateChunk

      private ChunkMap.TrackedChunk getOrCreateChunk(int chunkX, int chunkZ, boolean createIfAbsent)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1744 Lnet/minecraft/class_167;method_1744(IIZ)Lnet/minecraft/class_167$class_514;
      glue method_2022 Lclass_564;method_2022(IIZ)Lclass_564$class_707;
      server a Loo;a(IIZ)Ly;
      client method_1744 Lnet/minecraft/class_167;method_1744(IIZ)Lnet/minecraft/class_167$class_514;
      named getOrCreateChunk Lnet/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_1742 Lnet/minecraft/class_167;method_1742(III)V
      glue method_2020 Lclass_564;method_2020(III)V
      server a Loo;a(III)V
      client method_1742 Lnet/minecraft/class_167;method_1742(III)V
      named markBlockForUpdate Lnet/minecraft/server/ChunkMap;markBlockForUpdate(III)V
    • addPlayer

      public void addPlayer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1745 Lnet/minecraft/class_167;method_1745(Lnet/minecraft/class_69;)V
      glue method_2023 Lclass_564;method_2023(Lclass_132;)V
      server a Loo;a(Ldl;)V
      client method_1745 Lnet/minecraft/class_167;method_1745(Lnet/minecraft/class_69;)V
      named addPlayer Lnet/minecraft/server/ChunkMap;addPlayer(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
    • removePlayer

      public void removePlayer(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1748 Lnet/minecraft/class_167;method_1748(Lnet/minecraft/class_69;)V
      glue method_2026 Lclass_564;method_2026(Lclass_132;)V
      server b Loo;b(Ldl;)V
      client method_1748 Lnet/minecraft/class_167;method_1748(Lnet/minecraft/class_69;)V
      named removePlayer Lnet/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_1743 Lnet/minecraft/class_167;method_1743(IIII)Z
      glue method_2021 Lclass_564;method_2021(IIII)Z
      server a Loo;a(IIII)Z
      client method_1743 Lnet/minecraft/class_167;method_1743(IIII)Z
      named isWithinViewDistance Lnet/minecraft/server/ChunkMap;isWithinViewDistance(IIII)Z
    • updatePlayerChunks

      public void updatePlayerChunks(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1751 Lnet/minecraft/class_167;method_1751(Lnet/minecraft/class_69;)V
      glue method_2029 Lclass_564;method_2029(Lclass_132;)V
      server c Loo;c(Ldl;)V
      client method_1751 Lnet/minecraft/class_167;method_1751(Lnet/minecraft/class_69;)V
      named updatePlayerChunks Lnet/minecraft/server/ChunkMap;updatePlayerChunks(Lnet/minecraft/entity/player/ServerPlayerEntity;)V
    • getBlockViewDistance

      public int getBlockViewDistance()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1750 Lnet/minecraft/class_167;method_1750()I
      glue method_2028 Lclass_564;method_2028()I
      server c Loo;c()I
      client method_1750 Lnet/minecraft/class_167;method_1750()I
      named getBlockViewDistance Lnet/minecraft/server/ChunkMap;getBlockViewDistance()I