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 cns
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 Lcns;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 RegistryEntryList<Biome> biomeArray
      Mappings:
      Namespace Name Mixin selector
      official c Lcns;c:Lhi;
      intermediary field_9481 Lnet/minecraft/class_1973;field_9481:Lnet/minecraft/class_6885;
      named biomeArray Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;biomeArray:Lnet/minecraft/registry/entry/RegistryEntryList;
    • gridSize

      private final int gridSize
      Mappings:
      Namespace Name Mixin selector
      official d Lcns;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 Lcns;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(RegistryEntryList<Biome> biomes, int size)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcns;<init>(Lhi;I)V
      intermediary <init> Lnet/minecraft/class_1973;<init>(Lnet/minecraft/class_6885;I)V
      named <init> Lnet/minecraft/world/biome/source/CheckerboardBiomeSource;<init>(Lnet/minecraft/registry/entry/RegistryEntryList;I)V
  • Method Details

    • biomeStream

      protected Stream<RegistryEntry<Biome>> biomeStream()
      Specified by:
      biomeStream in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official b Lcno;b()Ljava/util/stream/Stream;
      intermediary method_49494 Lnet/minecraft/class_1966;method_49494()Ljava/util/stream/Stream;
      named biomeStream Lnet/minecraft/world/biome/source/BiomeSource;biomeStream()Ljava/util/stream/Stream;
    • getCodec

      protected com.mojang.serialization.Codec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lcno;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;
    • getBiome

      public RegistryEntry<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 Lcnn;getNoiseBiome(IIILcnt$f;)Lhe;
      intermediary method_38109 Lnet/minecraft/class_6780;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_6880;
      named getBiome Lnet/minecraft/world/biome/source/BiomeSupplier;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/registry/entry/RegistryEntry;