Class SetContainerContents.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetContainerContents>
net.minecraft.world.level.storage.loot.functions.SetContainerContents.Serializer
- All Implemented Interfaces:
Serializer<SetContainerContents>
- Enclosing class:
- SetContainerContents
public static class SetContainerContents.Serializer
extends LootItemConditionalFunction.Serializer<SetContainerContents>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_80936_, com.google.gson.JsonDeserializationContext p_80937_, LootItemCondition[] p_80938_)
void
serialize(com.google.gson.JsonObject p_80944_, SetContainerContents p_80945_, com.google.gson.JsonSerializationContext p_80946_)
Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_80944_, SetContainerContents p_80945_, com.google.gson.JsonSerializationContext p_80946_)- Specified by:
serialize
in interfaceSerializer<SetContainerContents>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetContainerContents>
-
deserialize
public SetContainerContents deserialize(com.google.gson.JsonObject p_80936_, com.google.gson.JsonDeserializationContext p_80937_, LootItemCondition[] p_80938_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetContainerContents>
-