类 DamageSourcePropertiesLootCondition.Serializer
- java.lang.Object
-
- net.minecraft.loot.condition.DamageSourcePropertiesLootCondition.Serializer
-
public static class DamageSourcePropertiesLootCondition.Serializer extends Object implements JsonSerializer<DamageSourcePropertiesLootCondition>
- Mappings:
Namespace Name official dkb$aintermediary net/minecraft/class_190$class_191named net/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer
-
-
构造器概要
构造器 构造器 说明 Serializer()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DamageSourcePropertiesLootConditionfromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)voidtoJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
-
-
-
方法详细资料
-
toJson
public void toJson(JsonObject jsonObject, DamageSourcePropertiesLootCondition damageSourcePropertiesLootCondition, JsonSerializationContext jsonSerializationContext)
- 指定者:
toJson在接口中JsonSerializer<DamageSourcePropertiesLootCondition>- Mappings:
Namespace Name Mixin selector official aLdkb$a;a(Lcom/google/gson/JsonObject;Ldkb;Lcom/google/gson/JsonSerializationContext;)Vintermediary method_838Lnet/minecraft/class_190$class_191;method_838(Lcom/google/gson/JsonObject;Lnet/minecraft/class_190;Lcom/google/gson/JsonSerializationContext;)Vnamed toJsonLnet/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 bLdkb$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldkb;intermediary method_839Lnet/minecraft/class_190$class_191;method_839(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_190;named fromJsonLnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/condition/DamageSourcePropertiesLootCondition;
-
-