Class ServerChunkProvider

java.lang.Object
net.minecraft.world.chunk.ServerChunkProvider
All Implemented Interfaces:
ChunkProvider

public class ServerChunkProvider extends Object implements ChunkProvider
Mappings:
Namespace Name
official lp
intermediary net/minecraft/class_794
named net/minecraft/world/chunk/ServerChunkProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_8891 Lnet/minecraft/class_794;field_8891:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/world/chunk/ServerChunkProvider;LOGGER:Lorg/apache/logging/log4j/Logger;
    • chunksToUnload

      private final Set<Long> chunksToUnload
      Mappings:
      Namespace Name Mixin selector
      official b Llp;b:Ljava/util/Set;
      intermediary field_2802 Lnet/minecraft/class_794;field_2802:Ljava/util/Set;
      named chunksToUnload Lnet/minecraft/world/chunk/ServerChunkProvider;chunksToUnload:Ljava/util/Set;
    • generator

      private final ChunkGenerator generator
      Mappings:
      Namespace Name Mixin selector
      official c Llp;c:Larz;
      intermediary field_13850 Lnet/minecraft/class_794;field_13850:Lnet/minecraft/class_2744;
      named generator Lnet/minecraft/world/chunk/ServerChunkProvider;generator:Lnet/minecraft/server/world/ChunkGenerator;
    • chunkWriter

      private final ChunkStorage chunkWriter
      Mappings:
      Namespace Name Mixin selector
      official d Llp;d:Lasn;
      intermediary field_2805 Lnet/minecraft/class_794;field_2805:Lnet/minecraft/class_1199;
      named chunkWriter Lnet/minecraft/world/chunk/ServerChunkProvider;chunkWriter:Lnet/minecraft/world/chunk/ChunkStorage;
    • field_13851

      private final Long2ObjectMap<Chunk> field_13851
      Mappings:
      Namespace Name Mixin selector
      official e Llp;e:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      intermediary field_13851 Lnet/minecraft/class_794;field_13851:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
      named field_13851 Lnet/minecraft/world/chunk/ServerChunkProvider;field_13851:Lit/unimi/dsi/fastutil/longs/Long2ObjectMap;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      official f Llp;f:Llq;
      intermediary field_2808 Lnet/minecraft/class_794;field_2808:Lnet/minecraft/class_795;
      named world Lnet/minecraft/world/chunk/ServerChunkProvider;world:Lnet/minecraft/server/world/ServerWorld;
  • Constructor Details

    • ServerChunkProvider

      public ServerChunkProvider(ServerWorld world, ChunkStorage chunkWriter, ChunkGenerator generator)
      Mappings:
      Namespace Name Mixin selector
      official <init> Llp;<init>(Llq;Lasn;Larz;)V
      intermediary <init> Lnet/minecraft/class_794;<init>(Lnet/minecraft/class_795;Lnet/minecraft/class_1199;Lnet/minecraft/class_2744;)V
      named <init> Lnet/minecraft/world/chunk/ServerChunkProvider;<init>(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/world/chunk/ChunkStorage;Lnet/minecraft/server/world/ChunkGenerator;)V
  • Method Details

    • method_12772

      public Collection<Chunk> method_12772()
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a()Ljava/util/Collection;
      intermediary method_12772 Lnet/minecraft/class_794;method_12772()Ljava/util/Collection;
      named method_12772 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12772()Ljava/util/Collection;
    • method_12774

      public void method_12774(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a(Lasf;)V
      intermediary method_12774 Lnet/minecraft/class_794;method_12774(Lnet/minecraft/class_1196;)V
      named method_12774 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12774(Lnet/minecraft/world/chunk/Chunk;)V
    • unloadAll

      public void unloadAll()
      Mappings:
      Namespace Name Mixin selector
      official b Llp;b()V
      intermediary method_2125 Lnet/minecraft/class_794;method_2125()V
      named unloadAll Lnet/minecraft/world/chunk/ServerChunkProvider;unloadAll()V
    • getLoadedChunk

      @Nullable public Chunk getLoadedChunk(int x, int z)
      Specified by:
      getLoadedChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lasa;a(II)Lasf;
      intermediary method_11765 Lnet/minecraft/class_1193;method_11765(II)Lnet/minecraft/class_1196;
      named getLoadedChunk Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • method_12777

      @Nullable public Chunk method_12777(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official b Llp;b(II)Lasf;
      intermediary method_12777 Lnet/minecraft/class_794;method_12777(II)Lnet/minecraft/class_1196;
      named method_12777 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12777(II)Lnet/minecraft/world/chunk/Chunk;
    • getOrGenerateChunks

      public Chunk getOrGenerateChunks(int x, int z)
      Specified by:
      getOrGenerateChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lasa;c(II)Lasf;
      intermediary method_11766 Lnet/minecraft/class_1193;method_11766(II)Lnet/minecraft/class_1196;
      named getOrGenerateChunks Lnet/minecraft/world/chunk/ChunkProvider;getOrGenerateChunks(II)Lnet/minecraft/world/chunk/Chunk;
    • loadChunk

      @Nullable private Chunk loadChunk(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official e Llp;e(II)Lasf;
      intermediary method_8131 Lnet/minecraft/class_794;method_8131(II)Lnet/minecraft/class_1196;
      named loadChunk Lnet/minecraft/world/chunk/ServerChunkProvider;loadChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • saveEntities

      private void saveEntities(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official b Llp;b(Lasf;)V
      intermediary method_8129 Lnet/minecraft/class_794;method_8129(Lnet/minecraft/class_1196;)V
      named saveEntities Lnet/minecraft/world/chunk/ServerChunkProvider;saveEntities(Lnet/minecraft/world/chunk/Chunk;)V
    • saveChunk

      private void saveChunk(Chunk chunk)
      Mappings:
      Namespace Name Mixin selector
      official c Llp;c(Lasf;)V
      intermediary method_8130 Lnet/minecraft/class_794;method_8130(Lnet/minecraft/class_1196;)V
      named saveChunk Lnet/minecraft/world/chunk/ServerChunkProvider;saveChunk(Lnet/minecraft/world/chunk/Chunk;)V
    • method_12776

      public boolean method_12776(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a(Z)Z
      intermediary method_12776 Lnet/minecraft/class_794;method_12776(Z)Z
      named method_12776 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12776(Z)Z
    • flushChunks

      public void flushChunks()
      Mappings:
      Namespace Name Mixin selector
      official c Llp;c()V
      intermediary method_4727 Lnet/minecraft/class_794;method_4727()V
      named flushChunks Lnet/minecraft/world/chunk/ServerChunkProvider;flushChunks()V
    • tickChunks

      public boolean tickChunks()
      Specified by:
      tickChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lasa;d()Z
      intermediary method_3869 Lnet/minecraft/class_1193;method_3869()Z
      named tickChunks Lnet/minecraft/world/chunk/ChunkProvider;tickChunks()Z
    • method_3870

      public boolean method_3870()
      Mappings:
      Namespace Name Mixin selector
      official e Llp;e()Z
      intermediary method_3870 Lnet/minecraft/class_794;method_3870()Z
      named method_3870 Lnet/minecraft/world/chunk/ServerChunkProvider;method_3870()Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lasa;f()Ljava/lang/String;
      intermediary method_3872 Lnet/minecraft/class_1193;method_3872()Ljava/lang/String;
      named getChunkProviderName Lnet/minecraft/world/chunk/ChunkProvider;getChunkProviderName()Ljava/lang/String;
    • method_12775

      public List<Biome.SpawnEntry> method_12775(EntityCategory entityCategory, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a(Lsc;Lcl;)Ljava/util/List;
      intermediary method_12775 Lnet/minecraft/class_794;method_12775(Lnet/minecraft/class_872;Lnet/minecraft/class_2552;)Ljava/util/List;
      named method_12775 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12775(Lnet/minecraft/entity/EntityCategory;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • method_12773

      @Nullable public BlockPos method_12773(World world, String string, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official a Llp;a(Laht;Ljava/lang/String;Lcl;)Lcl;
      intermediary method_12773 Lnet/minecraft/class_794;method_12773(Lnet/minecraft/class_1150;Ljava/lang/String;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2552;
      named method_12773 Lnet/minecraft/world/chunk/ServerChunkProvider;method_12773(Lnet/minecraft/world/World;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • method_3874

      public int method_3874()
      Mappings:
      Namespace Name Mixin selector
      official g Llp;g()I
      intermediary method_3874 Lnet/minecraft/class_794;method_3874()I
      named method_3874 Lnet/minecraft/world/chunk/ServerChunkProvider;method_3874()I
    • method_3864

      public boolean method_3864(int x, int z)
      Mappings:
      Namespace Name Mixin selector
      official d Llp;d(II)Z
      intermediary method_3864 Lnet/minecraft/class_794;method_3864(II)Z
      named method_3864 Lnet/minecraft/world/chunk/ServerChunkProvider;method_3864(II)Z