Class FlatChunkGenerator

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

public class FlatChunkGenerator extends Object implements ChunkProvider
Mappings:
Namespace Name
official anv
intermediary net/minecraft/class_1213
named net/minecraft/world/chunk/FlatChunkGenerator
  • Field Details

    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official a Lanv;a:Ladm;
      intermediary field_4794 Lnet/minecraft/class_1213;field_4794:Lnet/minecraft/class_1150;
      named world Lnet/minecraft/world/chunk/FlatChunkGenerator;world:Lnet/minecraft/world/World;
    • random

      private Random random
      Mappings:
      Namespace Name Mixin selector
      official b Lanv;b:Ljava/util/Random;
      intermediary field_4795 Lnet/minecraft/class_1213;field_4795:Ljava/util/Random;
      named random Lnet/minecraft/world/chunk/FlatChunkGenerator;random:Ljava/util/Random;
    • field_10123

      private final BlockState[] field_10123
      Mappings:
      Namespace Name Mixin selector
      official c Lanv;c:[Lalz;
      intermediary field_10123 Lnet/minecraft/class_1213;field_10123:[Lnet/minecraft/class_2232;
      named field_10123 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_10123:[Lnet/minecraft/block/BlockState;
    • field_4940

      private final FlatWorldHelper field_4940
      Mappings:
      Namespace Name Mixin selector
      official d Lanv;d:Lapz;
      intermediary field_4940 Lnet/minecraft/class_1213;field_4940:Lnet/minecraft/class_1281;
      named field_4940 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4940:Lnet/minecraft/world/gen/FlatWorldHelper;
    • field_4941

      private final List<StructureFeature> field_4941
      Mappings:
      Namespace Name Mixin selector
      official e Lanv;e:Ljava/util/List;
      intermediary field_4941 Lnet/minecraft/class_1213;field_4941:Ljava/util/List;
      named field_4941 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4941:Ljava/util/List;
    • field_4942

      private final boolean field_4942
      Mappings:
      Namespace Name Mixin selector
      official f Lanv;f:Z
      intermediary field_4942 Lnet/minecraft/class_1213;field_4942:Z
      named field_4942 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4942:Z
    • field_4943

      private final boolean field_4943
      Mappings:
      Namespace Name Mixin selector
      official g Lanv;g:Z
      intermediary field_4943 Lnet/minecraft/class_1213;field_4943:Z
      named field_4943 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4943:Z
    • field_4944

      private LakesFeature field_4944
      Mappings:
      Namespace Name Mixin selector
      official h Lanv;h:Lapc;
      intermediary field_4944 Lnet/minecraft/class_1213;field_4944:Lnet/minecraft/class_1235;
      named field_4944 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4944:Lnet/minecraft/world/gen/feature/LakesFeature;
    • field_4945

      private LakesFeature field_4945
      Mappings:
      Namespace Name Mixin selector
      official i Lanv;i:Lapc;
      intermediary field_4945 Lnet/minecraft/class_1213;field_4945:Lnet/minecraft/class_1235;
      named field_4945 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_4945:Lnet/minecraft/world/gen/feature/LakesFeature;
  • Constructor Details

    • FlatChunkGenerator

      public FlatChunkGenerator(World world, long long2, boolean bool, String string)
  • Method Details

    • getChunk

      public Chunk getChunk(int x, int z)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d(II)Lamy;
      intermediary method_3873 Lnet/minecraft/class_1193;method_3873(II)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • chunkExists

      public boolean chunkExists(int x, int z)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(II)Z
      intermediary method_3864 Lnet/minecraft/class_1193;method_3864(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • decorateChunk

      public void decorateChunk(ChunkProvider provider, int x, int z)
      Specified by:
      decorateChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;II)V
      intermediary method_3867 Lnet/minecraft/class_1193;method_3867(Lnet/minecraft/class_1193;II)V
      named decorateChunk Lnet/minecraft/world/chunk/ChunkProvider;decorateChunk(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • isChunkModified

      public boolean isChunkModified(ChunkProvider chunkProvider, Chunk chunk, int x, int z)
      Specified by:
      isChunkModified in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;Lamy;II)Z
      intermediary method_9122 Lnet/minecraft/class_1193;method_9122(Lnet/minecraft/class_1193;Lnet/minecraft/class_1196;II)Z
      named isChunkModified Lnet/minecraft/world/chunk/ChunkProvider;isChunkModified(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
    • saveChunks

      public boolean saveChunks(boolean saveEntities, ProgressListener progressListener)
      Specified by:
      saveChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(ZLnu;)Z
      intermediary method_3868 Lnet/minecraft/class_1193;method_3868(ZLnet/minecraft/class_841;)Z
      named saveChunks Lnet/minecraft/world/chunk/ChunkProvider;saveChunks(ZLnet/minecraft/util/ProgressListener;)Z
    • flushChunks

      public void flushChunks()
      Specified by:
      flushChunks in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official c Lamv;c()V
      intermediary method_4727 Lnet/minecraft/class_1193;method_4727()V
      named flushChunks Lnet/minecraft/world/chunk/ChunkProvider;flushChunks()V
    • tickChunks

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

      public boolean isSavingEnabled()
      Specified by:
      isSavingEnabled in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lamv;e()Z
      intermediary method_3870 Lnet/minecraft/class_1193;method_3870()Z
      named isSavingEnabled Lnet/minecraft/world/chunk/ChunkProvider;isSavingEnabled()Z
    • getChunkProviderName

      public String getChunkProviderName()
      Specified by:
      getChunkProviderName in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official f Lamv;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;
    • getSpawnEntries

      public List<Biome.SpawnEntry> getSpawnEntries(EntityCategory category, BlockPos pos)
      Specified by:
      getSpawnEntries in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lpt;Lcj;)Ljava/util/List;
      intermediary method_9124 Lnet/minecraft/class_1193;method_9124(Lnet/minecraft/class_872;Lnet/minecraft/class_2552;)Ljava/util/List;
      named getSpawnEntries Lnet/minecraft/world/chunk/ChunkProvider;getSpawnEntries(Lnet/minecraft/entity/EntityCategory;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
    • getNearestStructurePos

      public BlockPos getNearestStructurePos(World world, String structureName, BlockPos pos)
      Specified by:
      getNearestStructurePos in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Ladm;Ljava/lang/String;Lcj;)Lcj;
      intermediary method_3866 Lnet/minecraft/class_1193;method_3866(Lnet/minecraft/class_1150;Ljava/lang/String;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2552;
      named getNearestStructurePos Lnet/minecraft/world/chunk/ChunkProvider;getNearestStructurePos(Lnet/minecraft/world/World;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • getLoadedChunksCount

      public int getLoadedChunksCount()
      Specified by:
      getLoadedChunksCount in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official g Lamv;g()I
      intermediary method_3874 Lnet/minecraft/class_1193;method_3874()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • handleInitialLoad

      public void handleInitialLoad(Chunk chunk, int x, int z)
      Specified by:
      handleInitialLoad in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamy;II)V
      intermediary method_4702 Lnet/minecraft/class_1193;method_4702(Lnet/minecraft/class_1196;II)V
      named handleInitialLoad Lnet/minecraft/world/chunk/ChunkProvider;handleInitialLoad(Lnet/minecraft/world/chunk/Chunk;II)V
    • getChunk

      public Chunk getChunk(BlockPos pos)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lcj;)Lamy;
      intermediary method_9123 Lnet/minecraft/class_1193;method_9123(Lnet/minecraft/class_2552;)Lnet/minecraft/class_1196;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;