Class BiomeParametersProvider

java.lang.Object
net.minecraft.data.server.BiomeParametersProvider
All Implemented Interfaces:
DataProvider

public class BiomeParametersProvider extends Object implements DataProvider
Mappings:
Namespace Name
official jv
intermediary net/minecraft/class_7228
named net/minecraft/data/server/BiomeParametersProvider
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Ljv;d:Lorg/slf4j/Logger;
      intermediary field_38012 Lnet/minecraft/class_7228;field_38012:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/data/server/BiomeParametersProvider;LOGGER:Lorg/slf4j/Logger;
    • BIOME_KEY_CODEC

      private static final com.mojang.serialization.MapCodec<RegistryKey<Biome>> BIOME_KEY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official g Ljv;g:Lcom/mojang/serialization/MapCodec;
      intermediary field_43090 Lnet/minecraft/class_7228;field_43090:Lcom/mojang/serialization/MapCodec;
      named BIOME_KEY_CODEC Lnet/minecraft/data/server/BiomeParametersProvider;BIOME_KEY_CODEC:Lcom/mojang/serialization/MapCodec;
    • BIOME_ENTRY_CODEC

      private static final com.mojang.serialization.Codec<MultiNoiseUtil.Entries<RegistryKey<Biome>>> BIOME_ENTRY_CODEC
      Mappings:
      Namespace Name Mixin selector
      official h Ljv;h:Lcom/mojang/serialization/Codec;
      intermediary field_43091 Lnet/minecraft/class_7228;field_43091:Lcom/mojang/serialization/Codec;
      named BIOME_ENTRY_CODEC Lnet/minecraft/data/server/BiomeParametersProvider;BIOME_ENTRY_CODEC:Lcom/mojang/serialization/Codec;
    • path

      private final Path path
      Mappings:
      Namespace Name Mixin selector
      official e Ljv;e:Ljava/nio/file/Path;
      intermediary field_39373 Lnet/minecraft/class_7228;field_39373:Ljava/nio/file/Path;
      named path Lnet/minecraft/data/server/BiomeParametersProvider;path:Ljava/nio/file/Path;
    • registryLookupFuture

      private final CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture
      Mappings:
      Namespace Name Mixin selector
      official f Ljv;f:Ljava/util/concurrent/CompletableFuture;
      intermediary field_40950 Lnet/minecraft/class_7228;field_40950:Ljava/util/concurrent/CompletableFuture;
      named registryLookupFuture Lnet/minecraft/data/server/BiomeParametersProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
  • Constructor Details

    • BiomeParametersProvider

      public BiomeParametersProvider(DataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ljv;<init>(Ljk;Ljava/util/concurrent/CompletableFuture;)V
      intermediary <init> Lnet/minecraft/class_7228;<init>(Lnet/minecraft/class_7784;Ljava/util/concurrent/CompletableFuture;)V
      named <init> Lnet/minecraft/data/server/BiomeParametersProvider;<init>(Lnet/minecraft/data/DataOutput;Ljava/util/concurrent/CompletableFuture;)V
  • Method Details

    • run

      public CompletableFuture<?> run(DataWriter writer)
      Specified by:
      run in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a(Ljg;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_10319 Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
      named run Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
    • write

      private static <E> CompletableFuture<?> write(Path path, DataWriter writer, com.mojang.serialization.DynamicOps<com.google.gson.JsonElement> ops, com.mojang.serialization.Encoder<E> codec, E biomeSource)
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Ljava/nio/file/Path;Ljg;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
      intermediary method_42030 Lnet/minecraft/class_7228;method_42030(Ljava/nio/file/Path;Lnet/minecraft/class_7403;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
      named write Lnet/minecraft/data/server/BiomeParametersProvider;write(Ljava/nio/file/Path;Lnet/minecraft/data/DataWriter;Lcom/mojang/serialization/DynamicOps;Lcom/mojang/serialization/Encoder;Ljava/lang/Object;)Ljava/util/concurrent/CompletableFuture;
    • resolvePath

      private Path resolvePath(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      official a Ljv;a(Laew;)Ljava/nio/file/Path;
      intermediary method_42032 Lnet/minecraft/class_7228;method_42032(Lnet/minecraft/class_2960;)Ljava/nio/file/Path;
      named resolvePath Lnet/minecraft/data/server/BiomeParametersProvider;resolvePath(Lnet/minecraft/util/Identifier;)Ljava/nio/file/Path;
    • getName

      public final String getName()
      Specified by:
      getName in interface DataProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lji;a()Ljava/lang/String;
      intermediary method_10321 Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
      named getName Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;