类 EntityArgumentType.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toPacket

        public void toPacket​(EntityArgumentType entityArgumentType,
                             PacketByteBuf packetByteBuf)
        指定者:
        toPacket 在接口中 ArgumentSerializer<EntityArgumentType>
        Mappings:
        Namespace Name Mixin selector
        official a Ldq$a;a(Ldq;Lob;)V
        intermediary method_9320 Lnet/minecraft/class_2186$class_2187;method_9320(Lnet/minecraft/class_2186;Lnet/minecraft/class_2540;)V
        named toPacket Lnet/minecraft/command/argument/EntityArgumentType$Serializer;toPacket(Lnet/minecraft/command/argument/EntityArgumentType;Lnet/minecraft/network/PacketByteBuf;)V
      • fromPacket

        public EntityArgumentType fromPacket​(PacketByteBuf packetByteBuf)
        指定者:
        fromPacket 在接口中 ArgumentSerializer<EntityArgumentType>
        Mappings:
        Namespace Name Mixin selector
        official a Ldq$a;a(Lob;)Ldq;
        intermediary method_9321 Lnet/minecraft/class_2186$class_2187;method_9321(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2186;
        named fromPacket Lnet/minecraft/command/argument/EntityArgumentType$Serializer;fromPacket(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/command/argument/EntityArgumentType;
      • toJson

        public void toJson​(EntityArgumentType entityArgumentType,
                           JsonObject jsonObject)
        指定者:
        toJson 在接口中 ArgumentSerializer<EntityArgumentType>
        Mappings:
        Namespace Name Mixin selector
        official a Ldq$a;a(Ldq;Lcom/google/gson/JsonObject;)V
        intermediary method_9319 Lnet/minecraft/class_2186$class_2187;method_9319(Lnet/minecraft/class_2186;Lcom/google/gson/JsonObject;)V
        named toJson Lnet/minecraft/command/argument/EntityArgumentType$Serializer;toJson(Lnet/minecraft/command/argument/EntityArgumentType;Lcom/google/gson/JsonObject;)V