Class ArgumentTypeEnum.Info
java.lang.Object
org.cyclops.cyclopscore.command.argument.ArgumentTypeEnum.Info
- All Implemented Interfaces:
net.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,
ArgumentTypeEnum.Info.Template<?>>
- Enclosing class:
- ArgumentTypeEnum<T extends Enum<T>>
public static class ArgumentTypeEnum.Info
extends Object
implements net.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,ArgumentTypeEnum.Info.Template<?>>
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(net.minecraft.network.FriendlyByteBuf packetBuffer) void
serializeToJson
(ArgumentTypeEnum.Info.Template<?> argumentTypeEnum, com.google.gson.JsonObject jsonObject) void
serializeToNetwork
(ArgumentTypeEnum.Info.Template<?> argumentTypeEnum, net.minecraft.network.FriendlyByteBuf packetBuffer) unpack
(ArgumentTypeEnum<?> arg)
-
Constructor Details
-
Info
public Info()
-
-
Method Details
-
serializeToNetwork
public void serializeToNetwork(ArgumentTypeEnum.Info.Template<?> argumentTypeEnum, net.minecraft.network.FriendlyByteBuf packetBuffer) - Specified by:
serializeToNetwork
in interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,
ArgumentTypeEnum.Info.Template<?>>
-
deserializeFromNetwork
public ArgumentTypeEnum.Info.Template deserializeFromNetwork(net.minecraft.network.FriendlyByteBuf packetBuffer) - Specified by:
deserializeFromNetwork
in interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,
ArgumentTypeEnum.Info.Template<?>>
-
serializeToJson
public void serializeToJson(ArgumentTypeEnum.Info.Template<?> argumentTypeEnum, com.google.gson.JsonObject jsonObject) - Specified by:
serializeToJson
in interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,
ArgumentTypeEnum.Info.Template<?>>
-
unpack
- Specified by:
unpack
in interfacenet.minecraft.commands.synchronization.ArgumentTypeInfo<ArgumentTypeEnum<?>,
ArgumentTypeEnum.Info.Template<?>>
-