Package net.minecraft.command.argument
Class ArgumentTypes
java.lang.Object
net.minecraft.command.argument.ArgumentTypes
- Mappings:
Namespace Name named net/minecraft/command/argument/ArgumentTypes
intermediary net/minecraft/class_2316
official im
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
ArgumentSerializer<A, ?> get
(A argumentType) static <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
ArgumentSerializer.ArgumentTypeProperties<A> getArgumentTypeProperties
(A argumentType) static boolean
static ArgumentSerializer
<?, ?> register
(Registry<ArgumentSerializer<?, ?>> registry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A, T> register
(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>>
Class<T>
-
Field Details
-
CLASS_MAP
- Mappings:
Namespace Name Mixin selector named CLASS_MAP
Lnet/minecraft/command/argument/ArgumentTypes;CLASS_MAP:Ljava/util/Map;
intermediary field_10921
Lnet/minecraft/class_2316;field_10921:Ljava/util/Map;
official a
Lim;a:Ljava/util/Map;
-
-
Constructor Details
-
ArgumentTypes
public ArgumentTypes()
-
-
Method Details
-
register
private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentSerializer.ArgumentTypeProperties<A>> ArgumentSerializer<A,T> register(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/command/argument/ArgumentTypes;register(Lnet/minecraft/registry/Registry;Ljava/lang/String;Ljava/lang/Class;Lnet/minecraft/command/argument/serialize/ArgumentSerializer;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer;
intermediary method_10017
Lnet/minecraft/class_2316;method_10017(Lnet/minecraft/class_2378;Ljava/lang/String;Ljava/lang/Class;Lnet/minecraft/class_2314;)Lnet/minecraft/class_2314;
official a
Lim;a(Ljw;Ljava/lang/String;Ljava/lang/Class;Lil;)Lil;
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/command/argument/ArgumentTypes;register(Lnet/minecraft/registry/Registry;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer;
intermediary method_10015
Lnet/minecraft/class_2316;method_10015(Lnet/minecraft/class_2378;)Lnet/minecraft/class_2314;
official a
Lim;a(Ljw;)Lil;
-
upcast
private static <T extends com.mojang.brigadier.arguments.ArgumentType<?>> Class<T> upcast(Class<? super T> clazz) - Mappings:
Namespace Name Mixin selector named upcast
Lnet/minecraft/command/argument/ArgumentTypes;upcast(Ljava/lang/Class;)Ljava/lang/Class;
intermediary method_41181
Lnet/minecraft/class_2316;method_41181(Ljava/lang/Class;)Ljava/lang/Class;
official b
Lim;b(Ljava/lang/Class;)Ljava/lang/Class;
-
has
- Mappings:
Namespace Name Mixin selector named has
Lnet/minecraft/command/argument/ArgumentTypes;has(Ljava/lang/Class;)Z
intermediary method_41984
Lnet/minecraft/class_2316;method_41984(Ljava/lang/Class;)Z
official a
Lim;a(Ljava/lang/Class;)Z
-
get
public static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> ArgumentSerializer<A,?> get(A argumentType) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/command/argument/ArgumentTypes;get(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer;
intermediary method_41983
Lnet/minecraft/class_2316;method_41983(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/class_2314;
official a
Lim;a(Lcom/mojang/brigadier/arguments/ArgumentType;)Lil;
-
getArgumentTypeProperties
public static <A extends com.mojang.brigadier.arguments.ArgumentType<?>> ArgumentSerializer.ArgumentTypeProperties<A> getArgumentTypeProperties(A argumentType) - Mappings:
Namespace Name Mixin selector named getArgumentTypeProperties
Lnet/minecraft/command/argument/ArgumentTypes;getArgumentTypeProperties(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/command/argument/serialize/ArgumentSerializer$ArgumentTypeProperties;
intermediary method_41985
Lnet/minecraft/class_2316;method_41985(Lcom/mojang/brigadier/arguments/ArgumentType;)Lnet/minecraft/class_2314$class_7217;
official b
Lim;b(Lcom/mojang/brigadier/arguments/ArgumentType;)Lil$a;
-