Interface ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
- All Known Implementing Classes:
DoubleArgumentInfo
,EntityArgument.Info
,EnumArgument.Info
,FloatArgumentInfo
,IntegerArgumentInfo
,LongArgumentInfo
,ResourceKeyArgument.Info
,ResourceOrTagLocationArgument.Info
,ScoreHolderArgument.Info
,SingletonArgumentInfo
,StringArgumentSerializer
public interface ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
ArgumentTypeInfo.Template<A extends com.mojang.brigadier.arguments.ArgumentType<?>>
-
Method Summary
Modifier and TypeMethodDescriptiondeserializeFromNetwork
(FriendlyByteBuf p_235377_) void
serializeToJson
(T p_235373_, com.google.gson.JsonObject p_235374_) void
serializeToNetwork
(T p_235375_, FriendlyByteBuf p_235376_)
-
Method Details
-
serializeToNetwork
-
deserializeFromNetwork
-
serializeToJson
-
unpack
-