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 js
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 Ljs;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;
    • path

      private final Path path
      Mappings:
      Namespace Name Mixin selector
      official e Ljs;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 Ljs;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> Ljs;<init>(Ljf;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 Ljd;a(Ljb;)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<JsonElement> ops, com.mojang.serialization.Encoder<E> codec, E biomeSource)
      Mappings:
      Namespace Name Mixin selector
      official a Ljs;a(Ljava/nio/file/Path;Ljb;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 Ljs;a(Lacf;)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 Ljd;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;