Class FixedBiomeSource

java.lang.Object
net.minecraft.world.biome.source.BiomeSource
net.minecraft.world.biome.source.FixedBiomeSource
All Implemented Interfaces:
BiomeAccess.Storage, BiomeSupplier

public class FixedBiomeSource extends BiomeSource implements BiomeAccess.Storage
Mappings:
Namespace Name
named net/minecraft/world/biome/source/FixedBiomeSource
intermediary net/minecraft/class_1992
official ddr
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<FixedBiomeSource> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/biome/source/FixedBiomeSource;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_24717 Lnet/minecraft/class_1992;field_24717:Lcom/mojang/serialization/MapCodec;
      official b Lddr;b:Lcom/mojang/serialization/MapCodec;
    • biome

      private final RegistryEntry<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      named biome Lnet/minecraft/world/biome/source/FixedBiomeSource;biome:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_9486 Lnet/minecraft/class_1992;field_9486:Lnet/minecraft/class_6880;
      official c Lddr;c:Ljj;
  • Constructor Details

    • FixedBiomeSource

      public FixedBiomeSource(RegistryEntry<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/biome/source/FixedBiomeSource;<init>(Lnet/minecraft/registry/entry/RegistryEntry;)V
      intermediary <init> Lnet/minecraft/class_1992;<init>(Lnet/minecraft/class_6880;)V
      official <init> Lddr;<init>(Ljj;)V
  • Method Details

    • biomeStream

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

      protected com.mojang.serialization.MapCodec<? extends BiomeSource> getCodec()
      Specified by:
      getCodec in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      named getCodec Lnet/minecraft/world/biome/source/BiomeSource;getCodec()Lcom/mojang/serialization/MapCodec;
      intermediary method_28442 Lnet/minecraft/class_1966;method_28442()Lcom/mojang/serialization/MapCodec;
      official a Lddk;a()Lcom/mojang/serialization/MapCodec;
    • 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
      named getBiome Lnet/minecraft/world/biome/source/BiomeSupplier;getBiome(IIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_38109 Lnet/minecraft/class_6780;method_38109(IIILnet/minecraft/class_6544$class_6552;)Lnet/minecraft/class_6880;
      official getNoiseBiome Lddj;getNoiseBiome(IIILddp$f;)Ljj;
    • getBiomeForNoiseGen

      public RegistryEntry<Biome> getBiomeForNoiseGen(int biomeX, int biomeY, int biomeZ)
      Specified by:
      getBiomeForNoiseGen in interface BiomeAccess.Storage
      Mappings:
      Namespace Name Mixin selector
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_6880;
      official getNoiseBiome Lddi$a;getNoiseBiome(III)Ljj;
    • locateBiome

      @Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(int x, int y, int z, int radius, int blockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, Random random, boolean bool, MultiNoiseUtil.MultiNoiseSampler noiseSampler)
      Overrides:
      locateBiome in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Lnet/minecraft/util/math/random/Random;ZLnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_24385 Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Lnet/minecraft/class_5819;ZLnet/minecraft/class_6544$class_6552;)Lcom/mojang/datafixers/util/Pair;
      official a Lddk;a(IIIIILjava/util/function/Predicate;Layo;ZLddp$f;)Lcom/mojang/datafixers/util/Pair;
    • locateBiome

      @Nullable public @Nullable com.mojang.datafixers.util.Pair<BlockPos,RegistryEntry<Biome>> locateBiome(BlockPos origin, int radius, int horizontalBlockCheckInterval, int verticalBlockCheckInterval, Predicate<RegistryEntry<Biome>> predicate, MultiNoiseUtil.MultiNoiseSampler noiseSampler, WorldView world)
      Overrides:
      locateBiome in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(Lnet/minecraft/util/math/BlockPos;IIILjava/util/function/Predicate;Lnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;Lnet/minecraft/world/WorldView;)Lcom/mojang/datafixers/util/Pair;
      intermediary method_42310 Lnet/minecraft/class_1966;method_42310(Lnet/minecraft/class_2338;IIILjava/util/function/Predicate;Lnet/minecraft/class_6544$class_6552;Lnet/minecraft/class_4538;)Lcom/mojang/datafixers/util/Pair;
      official a Lddk;a(Lja;IIILjava/util/function/Predicate;Lddp$f;Ldcj;)Lcom/mojang/datafixers/util/Pair;
    • getBiomesInArea

      public Set<RegistryEntry<Biome>> getBiomesInArea(int x, int y, int z, int radius, MultiNoiseUtil.MultiNoiseSampler sampler)
      Overrides:
      getBiomesInArea in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      named getBiomesInArea Lnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIIILnet/minecraft/world/biome/source/util/MultiNoiseUtil$MultiNoiseSampler;)Ljava/util/Set;
      intermediary method_8763 Lnet/minecraft/class_1966;method_8763(IIIILnet/minecraft/class_6544$class_6552;)Ljava/util/Set;
      official a Lddk;a(IIIILddp$f;)Ljava/util/Set;