类 LootContext.EntityTarget.Serializer

  • 封闭类:
    LootContext.EntityTarget

    public static class LootContext.EntityTarget.Serializer
    extends TypeAdapter<LootContext.EntityTarget>
    Mappings:
    Namespace Name
    official dhp$c$a
    intermediary net/minecraft/class_47$class_50$class_51
    named net/minecraft/loot/context/LootContext$EntityTarget$Serializer
    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • write

        public void write​(JsonWriter jsonWriter,
                          LootContext.EntityTarget entityTarget)
                   throws IOException
        指定者:
        write 在类中 TypeAdapter<LootContext.EntityTarget>
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Ldhp$c$a;a(Lcom/google/gson/stream/JsonWriter;Ldhp$c;)V
        intermediary method_318 Lnet/minecraft/class_47$class_50$class_51;method_318(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/class_47$class_50;)V
        named write Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;write(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
      • read

        public LootContext.EntityTarget read​(JsonReader jsonReader)
                                      throws IOException
        指定者:
        read 在类中 TypeAdapter<LootContext.EntityTarget>
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Ldhp$c$a;a(Lcom/google/gson/stream/JsonReader;)Ldhp$c;
        intermediary method_317 Lnet/minecraft/class_47$class_50$class_51;method_317(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/class_47$class_50;
        named read Lnet/minecraft/loot/context/LootContext$EntityTarget$Serializer;read(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/loot/context/LootContext$EntityTarget;