Class ConstantArgumentSerializer.Properties

java.lang.Object
net.minecraft.command.argument.serialize.ConstantArgumentSerializer.Properties
All Implemented Interfaces:
ArgumentSerializer.ArgumentTypeProperties<A>
Enclosing class:
ConstantArgumentSerializer<A extends com.mojang.brigadier.arguments.ArgumentType<?>>

public final class ConstantArgumentSerializer.Properties extends Object implements ArgumentSerializer.ArgumentTypeProperties<A>
Mappings:
Namespace Name
official gi$a
intermediary net/minecraft/class_2319$class_7219
named net/minecraft/command/argument/serialize/ConstantArgumentSerializer$Properties
  • Field Details

    • typeSupplier

      private final Function<CommandRegistryAccess,A extends com.mojang.brigadier.arguments.ArgumentType<?>> typeSupplier
      Mappings:
      Namespace Name Mixin selector
      official b Lgi$a;b:Ljava/util/function/Function;
      intermediary field_37980 Lnet/minecraft/class_2319$class_7219;field_37980:Ljava/util/function/Function;
      named typeSupplier Lnet/minecraft/command/argument/serialize/ConstantArgumentSerializer$Properties;typeSupplier:Ljava/util/function/Function;
  • Constructor Details

    • Properties

      public Properties(Function<CommandRegistryAccess,A> typeSupplier)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgi$a;<init>(Lgi;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_2319$class_7219;<init>(Lnet/minecraft/class_2319;Ljava/util/function/Function;)V
      named <init> Lnet/minecraft/command/argument/serialize/ConstantArgumentSerializer$Properties;<init>(Lnet/minecraft/command/argument/serialize/ConstantArgumentSerializer;Ljava/util/function/Function;)V
  • Method Details

    • createType

      public A createType(CommandRegistryAccess commandRegistryAccess)
      Specified by:
      createType in interface ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
      Mappings:
      Namespace Name Mixin selector
      official b Lgf$a;b(Ldl;)Lcom/mojang/brigadier/arguments/ArgumentType;
      intermediary method_41730 Lnet/minecraft/class_2314$class_7217;method_41730(Lnet/minecraft/class_7157;)Lcom/mojang/brigadier/arguments/ArgumentType;
      named createType Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;createType(Lnet/minecraft/command/CommandRegistryAccess;)Lcom/mojang/brigadier/arguments/ArgumentType;
    • getSerializer

      public ArgumentSerializer<A,?> getSerializer()
      Specified by:
      getSerializer in interface ArgumentSerializer.ArgumentTypeProperties<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
      Mappings:
      Namespace Name Mixin selector
      official a Lgf$a;a()Lgf;
      intermediary method_41728 Lnet/minecraft/class_2314$class_7217;method_41728()Lnet/minecraft/class_2314;
      named getSerializer Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;getSerializer()Lnet/minecraft/command/argument/serialize/ArgumentSerializer;