Package net.minecraft.loot.functions
Class SetAttributes.Serializer
java.lang.Object
net.minecraft.loot.LootFunction.Serializer<SetAttributes>
net.minecraft.loot.functions.SetAttributes.Serializer
- All Implemented Interfaces:
ILootSerializer<SetAttributes>
- Enclosing class:
- SetAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) void
serialize
(com.google.gson.JsonObject p_230424_1_, SetAttributes p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) Methods inherited from class net.minecraft.loot.LootFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_230424_1_, SetAttributes p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) - Specified by:
serialize
in interfaceILootSerializer<SetAttributes>
- Overrides:
serialize
in classLootFunction.Serializer<SetAttributes>
-
deserialize
public SetAttributes deserialize(com.google.gson.JsonObject p_186530_1_, com.google.gson.JsonDeserializationContext p_186530_2_, ILootCondition[] p_186530_3_) - Specified by:
deserialize
in classLootFunction.Serializer<SetAttributes>
-