Package net.minecraft.loot.function
Class SetAttributesLootFunction.Serializer
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<SetAttributesLootFunction>
net.minecraft.loot.function.SetAttributesLootFunction.Serializer
- All Implemented Interfaces:
JsonSerializer<SetAttributesLootFunction>
- Enclosing class:
SetAttributesLootFunction
public static class SetAttributesLootFunction.Serializer
extends ConditionalLootFunction.Serializer<SetAttributesLootFunction>
- Mappings:
Namespace Name official dsv$d
intermediary net/minecraft/class_137$class_139
named net/minecraft/loot/function/SetAttributesLootFunction$Serializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, SetAttributesLootFunction setAttributesLootFunction, 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, SetAttributesLootFunction setAttributesLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<SetAttributesLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.Serializer<SetAttributesLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldsv$d;a(Lcom/google/gson/JsonObject;Ldsv;Lcom/google/gson/JsonSerializationContext;)V
intermediary method_618
Lnet/minecraft/class_137$class_139;method_618(Lcom/google/gson/JsonObject;Lnet/minecraft/class_137;Lcom/google/gson/JsonSerializationContext;)V
named toJson
Lnet/minecraft/loot/function/SetAttributesLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/SetAttributesLootFunction;Lcom/google/gson/JsonSerializationContext;)V
-
fromJson
public SetAttributesLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) - Specified by:
fromJson
in classConditionalLootFunction.Serializer<SetAttributesLootFunction>
- Mappings:
Namespace Name Mixin selector official a
Ldsv$d;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldua;)Ldsv;
intermediary method_617
Lnet/minecraft/class_137$class_139;method_617(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_137;
named fromJson
Lnet/minecraft/loot/function/SetAttributesLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/SetAttributesLootFunction;
-