Uses of Interface
net.minecraft.command.argument.serialize.ArgumentSerializer
Packages that use ArgumentSerializer
Package
Description
-
Uses of ArgumentSerializer in net.minecraft.command.argument
Classes in net.minecraft.command.argument that implement ArgumentSerializerModifier and TypeClassDescriptionstatic class
static class
static class
static class
Fields in net.minecraft.command.argument with type parameters of type ArgumentSerializerModifier and TypeFieldDescriptionprivate static final Map<Class<?>,
ArgumentSerializer<?, ?>> ArgumentTypes.CLASS_MAP
Methods in net.minecraft.command.argument that return ArgumentSerializerModifier and TypeMethodDescriptionstatic <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
ArgumentSerializer<A,?> ArgumentTypes.get
(A argumentType) EntityArgumentType.Serializer.Properties.getSerializer()
RegistryKeyArgumentType.Serializer.Properties.getSerializer()
RegistryPredicateArgumentType.Serializer.Properties.getSerializer()
ScoreHolderArgumentType.Serializer.Properties.getSerializer()
static ArgumentSerializer<?,
?> ArgumentTypes.register
(Registry<ArgumentSerializer<?, ?>> registry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A,T> ArgumentTypes.register
(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.Methods in net.minecraft.command.argument with parameters of type ArgumentSerializerModifier and TypeMethodDescriptionprivate static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A,T> ArgumentTypes.register
(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer.private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
voidArgumentHelper.writeArgumentProperties
(JsonObject json, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) Method parameters in net.minecraft.command.argument with type arguments of type ArgumentSerializerModifier and TypeMethodDescriptionstatic ArgumentSerializer<?,
?> ArgumentTypes.register
(Registry<ArgumentSerializer<?, ?>> registry) private static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
ArgumentSerializer<A,T> ArgumentTypes.register
(Registry<ArgumentSerializer<?, ?>> registry, String id, Class<? extends A> clazz, ArgumentSerializer<A, T> serializer) Registers an argument type's serializer. -
Uses of ArgumentSerializer in net.minecraft.command.argument.serialize
Classes in net.minecraft.command.argument.serialize that implement ArgumentSerializerModifier and TypeClassDescriptionclass
ConstantArgumentSerializer<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
class
class
class
class
class
Methods in net.minecraft.command.argument.serialize that return ArgumentSerializerModifier and TypeMethodDescriptionArgumentSerializer.ArgumentTypeProperties.getSerializer()
ConstantArgumentSerializer.Properties.getSerializer()
ArgumentSerializer<com.mojang.brigadier.arguments.DoubleArgumentType,
?> DoubleArgumentSerializer.Properties.getSerializer()
ArgumentSerializer<com.mojang.brigadier.arguments.FloatArgumentType,
?> FloatArgumentSerializer.Properties.getSerializer()
ArgumentSerializer<com.mojang.brigadier.arguments.IntegerArgumentType,
?> IntegerArgumentSerializer.Properties.getSerializer()
ArgumentSerializer<com.mojang.brigadier.arguments.LongArgumentType,
?> LongArgumentSerializer.Properties.getSerializer()
ArgumentSerializer<com.mojang.brigadier.arguments.StringArgumentType,
?> StringArgumentSerializer.Properties.getSerializer()
-
Uses of ArgumentSerializer in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play with parameters of type ArgumentSerializerModifier and TypeMethodDescriptionprivate static <A extends com.mojang.brigadier.arguments.ArgumentType<?>,
T extends ArgumentSerializer.ArgumentTypeProperties<A>>
voidCommandTreeS2CPacket.ArgumentNode.write
(PacketByteBuf buf, ArgumentSerializer<A, T> serializer, ArgumentSerializer.ArgumentTypeProperties<A> properties) -
Uses of ArgumentSerializer in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type ArgumentSerializerModifier and TypeFieldDescriptionstatic final Registry<ArgumentSerializer<?,
?>> Registry.COMMAND_ARGUMENT_TYPE
static final RegistryKey<Registry<ArgumentSerializer<?,
?>>> Registry.COMMAND_ARGUMENT_TYPE_KEY