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, ResourceArgument.Info, ResourceKeyArgument.Info, ResourceOrTagArgument.Info, ResourceOrTagKeyArgument.Info, ScoreHolderArgument.Info, SingletonArgumentInfo, StringArgumentSerializer, TimeArgument.Info

public interface ArgumentTypeInfo<A extends com.mojang.brigadier.arguments.ArgumentType<?>,T extends ArgumentTypeInfo.Template<A>>
  • Method Details

    • serializeToNetwork

      void serializeToNetwork(T p_235375_, FriendlyByteBuf p_235376_)
    • deserializeFromNetwork

      T deserializeFromNetwork(FriendlyByteBuf p_235377_)
    • serializeToJson

      void serializeToJson(T p_235373_, com.google.gson.JsonObject p_235374_)
    • unpack

      T unpack(A p_235372_)