Class SetContainerLootTable.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetContainerLootTable>
net.minecraft.world.level.storage.loot.functions.SetContainerLootTable.Serializer
- All Implemented Interfaces:
Serializer<SetContainerLootTable>
- Enclosing class:
- SetContainerLootTable
public static class SetContainerLootTable.Serializer
extends LootItemConditionalFunction.Serializer<SetContainerLootTable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80978_, com.google.gson.JsonDeserializationContext p_80979_, LootItemCondition[] p_80980_) void
serialize
(com.google.gson.JsonObject p_80986_, SetContainerLootTable p_80987_, com.google.gson.JsonSerializationContext p_80988_) 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_80986_, SetContainerLootTable p_80987_, com.google.gson.JsonSerializationContext p_80988_) - Specified by:
serialize
in interfaceSerializer<SetContainerLootTable>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetContainerLootTable>
-
deserialize
public SetContainerLootTable deserialize(com.google.gson.JsonObject p_80978_, com.google.gson.JsonDeserializationContext p_80979_, LootItemCondition[] p_80980_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetContainerLootTable>
-