类 KilledByPlayerLootCondition.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           KilledByPlayerLootCondition killedByPlayerLootCondition,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<KilledByPlayerLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkl$a;a(Lcom/google/gson/JsonObject;Ldkl;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_942 Lnet/minecraft/class_221$class_222;method_942(Lcom/google/gson/JsonObject;Lnet/minecraft/class_221;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/KilledByPlayerLootCondition;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

        public KilledByPlayerLootCondition fromJson​(JsonObject jsonObject,
                                                    JsonDeserializationContext jsonDeserializationContext)
        指定者:
        fromJson 在接口中 JsonSerializer<KilledByPlayerLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official b Ldkl$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkl;
        intermediary method_943 Lnet/minecraft/class_221$class_222;method_943(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_221;
        named fromJson Lnet/minecraft/loot/condition/KilledByPlayerLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/KilledByPlayerLootCondition;