Class CheckerboardBiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.CheckerboardBiomeSource
All Implemented Interfaces:
BiomeSupplier

public class CheckerboardBiomeSource extends BiomeSource
Mappings:
Namespace Name
official cbg
intermediary net/minecraft/class_1973
named net/minecraft/world/biome/source/CheckerboardBiomeSource
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<CheckerboardBiomeSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcbg;b:Lcom/mojang/serialization/Codec;
      intermediary field_24715 Lnet/minecraft/class_1973;field_24715:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;CODEC:Lcom/mojang/serialization/Codec;
    • biomeArray

      private final List<Supplier<Biome>> biomeArray
      Mappings:
      Namespace Name Mixin selector
      official c Lcbg;c:Ljava/util/List;
      intermediary field_9481 Lnet/minecraft/class_1973;field_9481:Ljava/util/List;
      named biomeArray Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;biomeArray:Ljava/util/List;
    • gridSize

      private final int gridSize
      Mappings:
      Namespace Name Mixin selector
      official d Lcbg;d:I
      intermediary field_9480 Lnet/minecraft/class_1973;field_9480:I
      named gridSize Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;gridSize:I
    • scale

      private final int scale
      Mappings:
      Namespace Name Mixin selector
      official e Lcbg;e:I
      intermediary field_24716 Lnet/minecraft/class_1973;field_24716:I
      named scale Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;scale:I
  • Constructor Details

    • CheckerboardBiomeSource

      public CheckerboardBiomeSource(List<Supplier<Biome>> biomeArray, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbg;<init>(Ljava/util/List;I)V
      intermediary <init> Lnet/minecraft/class_1973;<init>(Ljava/util/List;I)V
      named <init> Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;<init>(Ljava/util/List;I)V
  • Method Details

    • getCodec

      protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lcbd;a()Lcom/mojang/serialization/Codec;
      intermediary method_28442 Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/Codec;
      named getCodec Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/Codec;
    • withSeed

      public BiomeSource withSeed(long seed)
      Specified by:
      withSeed in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lcbd;a(J)Lcbd;
      intermediary method_27985 Lnet/minecraft/class_1966;method_27985(J)Lnet/minecraft/class_1966;
      named withSeed Lnet/minecraft/world/biome/source/BiomeSource;withSeed(J)Lnet/minecraft/world/biome/source/BiomeSource;
    • getBiome

      public Biome getBiome(int x, int y, int z, MultiNoiseUtil.MultiNoiseSampler noise)
      Specified by:
      getBiome in interface BiomeSupplier
      Specified by:
      getBiome in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official getNoiseBiome Lcbc;getNoiseBiome(IIILcbh$f;)Lcaz;
      intermediary method_38109 Lnet/minecraft/class_6780;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_1959;
      named getBiome Lnet/minecraft/world/biome/source/BiomeSupplier;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/world/biome/Biome;