Package net.minecraft.loot.function
Class SetDamageLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetDamageLootFunction>
net.minecraft.loot.function.SetDamageLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetDamageLootFunction>
- Enclosing class:
- SetDamageLootFunction
public static class SetDamageLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetDamageLootFunction>
- Mappings:
Namespace Name official dkk$a
intermediary net/minecraft/class_149$class_150
named net/minecraft/loot/function/SetDamageLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, SetDamageLootFunction setDamageLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, SetDamageLootFunction setDamageLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<SetDamageLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetDamageLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldkk$a;a(Lcom/google/gson/JsonObject;Ldkk;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_636
Lnet/minecraft/class_149$class_150;method_636(Lcom/google/gson/JsonObject;Lnet/minecraft/class_149;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/SetDamageLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetDamageLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetDamageLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetDamageLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldkk$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldlh;)Ldkk;
intermediary method_635
Lnet/minecraft/class_149$class_150;method_635(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_149;
named fromJson
Lnet/minecraft/loot/function/SetDamageLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetDamageLootFunction;
-