Uses of Interface
net.minecraft.command.argument.serialize.ArgumentSerializer
Package
Description
-
Uses of ArgumentSerializer in net.minecraft.command.argument
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
Modifier and TypeFieldDescriptionprivate static final Map
<Class<?>, ArgumentSerializer<?, ?>> ArgumentTypes.CLASS_MAP
Modifier and TypeMethodDescriptionstatic <A extends com.mojang.brigadier.arguments.ArgumentType<?>>
ArgumentSerializer<A, ?> ArgumentTypes.get
(A argumentType) EntityArgumentType.Serializer.Properties.getSerializer()
RegistryEntryPredicateArgumentType.Serializer.Properties.getSerializer()
RegistryEntryReferenceArgumentType.Serializer.Properties.getSerializer()
RegistryKeyArgumentType.Serializer.Properties.getSerializer()
RegistryPredicateArgumentType.Serializer.Properties.getSerializer()
ScoreHolderArgumentType.Serializer.Properties.getSerializer()
TimeArgumentType.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.Modifier 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) Modifier 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
Modifier and TypeClassDescriptionclass
ConstantArgumentSerializer<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
class
class
class
class
class
Modifier 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
Modifier 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.registry
Modifier and TypeFieldDescriptionstatic final Registry
<ArgumentSerializer<?, ?>> Registries.COMMAND_ARGUMENT_TYPE
static final RegistryKey
<Registry<ArgumentSerializer<?, ?>>> RegistryKeys.COMMAND_ARGUMENT_TYPE