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
named net/minecraft/command/argument/serialize/ConstantArgumentSerializer$Properties
intermediary net/minecraft/class_2319$class_7219
official io$a
  • Field Details

    • typeSupplier

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

    • Properties

      public Properties(Function<CommandRegistryAccess,A> typeSupplier)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/argument/serialize/ConstantArgumentSerializer$Properties;<init>(Lnet/minecraft/command/argument/serialize/ConstantArgumentSerializer;Ljava/util/function/Function;)V
      intermediary <init> Lnet/minecraft/class_2319$class_7219;<init>(Lnet/minecraft/class_2319;Ljava/util/function/Function;)V
      official <init> Lio$a;<init>(Lio;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
      named createType Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;createType(Lnet/minecraft/command/CommandRegistryAccess;)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;
      official b Lil$a;b(Lem;)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
      named getSerializer Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;getSerializer()Lnet/minecraft/command/argument/serialize/ArgumentSerializer;
      intermediary method_41728 Lnet/minecraft/class_2314$class_7217;method_41728()Lnet/minecraft/class_2314;
      official a Lil$a;a()Lil;