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_421
named net/minecraft/world/chunk/FlatChunkGenerator
  • Field Details

    • world

      private World world
      Mappings:
      Namespace Name Mixin selector
      official a Lanv;a:Ladm;
      intermediary field_1810 Lnet/minecraft/class_421;field_1810:Lnet/minecraft/class_99;
      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_1811 Lnet/minecraft/class_421;field_1811:Ljava/util/Random;
      named random Lnet/minecraft/world/chunk/FlatChunkGenerator;random:Ljava/util/Random;
    • field_1812

      private final BlockState[] field_1812
      Mappings:
      Namespace Name Mixin selector
      official c Lanv;c:[Lalz;
      intermediary field_1812 Lnet/minecraft/class_421;field_1812:[Lnet/minecraft/class_376;
      named field_1812 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1812:[Lnet/minecraft/block/BlockState;
    • field_1813

      private final FlatWorldHelper field_1813
      Mappings:
      Namespace Name Mixin selector
      official d Lanv;d:Lapz;
      intermediary field_1813 Lnet/minecraft/class_421;field_1813:Lnet/minecraft/class_473;
      named field_1813 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1813:Lnet/minecraft/world/gen/FlatWorldHelper;
    • field_1814

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

      private final boolean field_1815
      Mappings:
      Namespace Name Mixin selector
      official f Lanv;f:Z
      intermediary field_1815 Lnet/minecraft/class_421;field_1815:Z
      named field_1815 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1815:Z
    • field_1816

      private final boolean field_1816
      Mappings:
      Namespace Name Mixin selector
      official g Lanv;g:Z
      intermediary field_1816 Lnet/minecraft/class_421;field_1816:Z
      named field_1816 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1816:Z
    • field_1817

      private LakesFeature field_1817
      Mappings:
      Namespace Name Mixin selector
      official h Lanv;h:Lapc;
      intermediary field_1817 Lnet/minecraft/class_421;field_1817:Lnet/minecraft/class_451;
      named field_1817 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1817:Lnet/minecraft/world/gen/feature/LakesFeature;
    • field_1818

      private LakesFeature field_1818
      Mappings:
      Namespace Name Mixin selector
      official i Lanv;i:Lapc;
      intermediary field_1818 Lnet/minecraft/class_421;field_1818:Lnet/minecraft/class_451;
      named field_1818 Lnet/minecraft/world/chunk/FlatChunkGenerator;field_1818: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 int2, int int3)
      Specified by:
      getChunk in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official d Lamv;d(II)Lamy;
      intermediary method_1331 Lnet/minecraft/class_396;method_1331(II)Lnet/minecraft/class_399;
      named getChunk Lnet/minecraft/world/chunk/ChunkProvider;getChunk(II)Lnet/minecraft/world/chunk/Chunk;
    • chunkExists

      public boolean chunkExists​(int chunkX, int chunkZ)
      Specified by:
      chunkExists in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(II)Z
      intermediary method_1321 Lnet/minecraft/class_396;method_1321(II)Z
      named chunkExists Lnet/minecraft/world/chunk/ChunkProvider;chunkExists(II)Z
    • method_1323

      public void method_1323​(ChunkProvider chunkProvider, int int2, int int3)
      Specified by:
      method_1323 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;II)V
      intermediary method_1323 Lnet/minecraft/class_396;method_1323(Lnet/minecraft/class_396;II)V
      named method_1323 Lnet/minecraft/world/chunk/ChunkProvider;method_1323(Lnet/minecraft/world/chunk/ChunkProvider;II)V
    • method_1324

      public boolean method_1324​(ChunkProvider chunkProvider, Chunk chunk, int int2, int int3)
      Specified by:
      method_1324 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamv;Lamy;II)Z
      intermediary method_1324 Lnet/minecraft/class_396;method_1324(Lnet/minecraft/class_396;Lnet/minecraft/class_399;II)Z
      named method_1324 Lnet/minecraft/world/chunk/ChunkProvider;method_1324(Lnet/minecraft/world/chunk/ChunkProvider;Lnet/minecraft/world/chunk/Chunk;II)Z
    • method_1328

      public boolean method_1328​(boolean bool, ProgressListener progressListener)
      Specified by:
      method_1328 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(ZLnu;)Z
      intermediary method_1328 Lnet/minecraft/class_396;method_1328(ZLnet/minecraft/class_1707;)Z
      named method_1328 Lnet/minecraft/world/chunk/ChunkProvider;method_1328(ZLnet/minecraft/util/ProgressListener;)Z
    • method_1329

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

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

      public boolean method_1332()
      Specified by:
      method_1332 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official e Lamv;e()Z
      intermediary method_1332 Lnet/minecraft/class_396;method_1332()Z
      named method_1332 Lnet/minecraft/world/chunk/ChunkProvider;method_1332()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_1333 Lnet/minecraft/class_396;method_1333()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_1327 Lnet/minecraft/class_396;method_1327(Lnet/minecraft/class_1755;Lnet/minecraft/class_1372;)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_1322 Lnet/minecraft/class_396;method_1322(Lnet/minecraft/class_99;Ljava/lang/String;Lnet/minecraft/class_1372;)Lnet/minecraft/class_1372;
      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_1334 Lnet/minecraft/class_396;method_1334()I
      named getLoadedChunksCount Lnet/minecraft/world/chunk/ChunkProvider;getLoadedChunksCount()I
    • method_1325

      public void method_1325​(Chunk chunk, int int2, int int3)
      Specified by:
      method_1325 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lamy;II)V
      intermediary method_1325 Lnet/minecraft/class_396;method_1325(Lnet/minecraft/class_399;II)V
      named method_1325 Lnet/minecraft/world/chunk/ChunkProvider;method_1325(Lnet/minecraft/world/chunk/Chunk;II)V
    • method_1326

      public Chunk method_1326​(BlockPos pos)
      Specified by:
      method_1326 in interface ChunkProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lamv;a(Lcj;)Lamy;
      intermediary method_1326 Lnet/minecraft/class_396;method_1326(Lnet/minecraft/class_1372;)Lnet/minecraft/class_399;
      named method_1326 Lnet/minecraft/world/chunk/ChunkProvider;method_1326(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/world/chunk/Chunk;