Class FixedBiomeSource

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

public class FixedBiomeSource
extends BiomeSource
Mappings:
Namespace Name
official bvc
intermediary net/minecraft/class_1992
named net/minecraft/world/biome/source/FixedBiomeSource
  • Field Details

    • CODEC

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

      private final Supplier<Biome> biome
      Mappings:
      Namespace Name Mixin selector
      official f Lbvc;f:Ljava/util/function/Supplier;
      intermediary field_9486 Lnet/minecraft/class_1992;field_9486:Ljava/util/function/Supplier;
      named biome Lnet/minecraft/world/biome/source/FixedBiomeSource;biome:Ljava/util/function/Supplier;
  • Constructor Details

    • FixedBiomeSource

      public FixedBiomeSource​(Biome biome)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvc;<init>(Lbuu;)V
      intermediary <init> Lnet/minecraft/class_1992;<init>(Lnet/minecraft/class_1959;)V
      named <init> Lnet/minecraft/world/biome/source/FixedBiomeSource;<init>(Lnet/minecraft/world/biome/Biome;)V
    • FixedBiomeSource

      public FixedBiomeSource​(Supplier<Biome> biome)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvc;<init>(Ljava/util/function/Supplier;)V
      intermediary <init> Lnet/minecraft/class_1992;<init>(Ljava/util/function/Supplier;)V
      named <init> Lnet/minecraft/world/biome/source/FixedBiomeSource;<init>(Ljava/util/function/Supplier;)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 Lbux;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

      @Environment(CLIENT) public BiomeSource withSeed​(long seed)
      Specified by:
      withSeed in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbux;a(J)Lbux;
      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;
    • getBiomeForNoiseGen

      public Biome getBiomeForNoiseGen​(int biomeX, int biomeY, int biomeZ)
      Mappings:
      Namespace Name Mixin selector
      official b Lbuw$a;b(III)Lbuu;
      intermediary method_16359 Lnet/minecraft/class_4543$class_4544;method_16359(III)Lnet/minecraft/class_1959;
      named getBiomeForNoiseGen Lnet/minecraft/world/biome/source/BiomeAccess$Storage;getBiomeForNoiseGen(III)Lnet/minecraft/world/biome/Biome;
    • locateBiome

      @Nullable public BlockPos locateBiome​(int x, int y, int z, int radius, int int2, Predicate<Biome> predicate, Random random, boolean bool)
      Overrides:
      locateBiome in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbux;a(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lfx;
      intermediary method_24385 Lnet/minecraft/class_1966;method_24385(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/class_2338;
      named locateBiome Lnet/minecraft/world/biome/source/BiomeSource;locateBiome(IIIIILjava/util/function/Predicate;Ljava/util/Random;Z)Lnet/minecraft/util/math/BlockPos;
    • getBiomesInArea

      public Set<Biome> getBiomesInArea​(int x, int y, int z, int radius)
      Overrides:
      getBiomesInArea in class BiomeSource
      Mappings:
      Namespace Name Mixin selector
      official a Lbux;a(IIII)Ljava/util/Set;
      intermediary method_8763 Lnet/minecraft/class_1966;method_8763(IIII)Ljava/util/Set;
      named getBiomesInArea Lnet/minecraft/world/biome/source/BiomeSource;getBiomesInArea(IIII)Ljava/util/Set;