类 DamageSourcePropertiesLootCondition.Serializer

    • 构造器详细资料

      • Serializer

        public Serializer()
    • 方法详细资料

      • toJson

        public void toJson​(JsonObject jsonObject,
                           DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition,
                           JsonSerializationContext jsonSerializationContext)
        指定者:
        toJson 在接口中 JsonSerializer<DamageSourcePropertiesLootCondition>
        Mappings:
        Namespace Name Mixin selector
        official a Ldkb$a;a(Lcom/google/gson/JsonObject;Ldkb;Lcom/google/gson/JsonSerializationContext;)V
        intermediary method_838 Lnet/minecraft/class_190$class_191;method_838(Lcom/google/gson/JsonObject;Lnet/minecraft/class_190;Lcom/google/gson/JsonSerializationContext;)V
        named toJson Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;Lcom/google/gson/JsonSerializationContext;)V
      • fromJson

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