Class LootItemRandomChanceWithLootingCondition.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceWithLootingCondition.Serializer
- All Implemented Interfaces:
Serializer<LootItemRandomChanceWithLootingCondition>
- Enclosing class:
- LootItemRandomChanceWithLootingCondition
public static class LootItemRandomChanceWithLootingCondition.Serializer
extends Object
implements Serializer<LootItemRandomChanceWithLootingCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_81991_, com.google.gson.JsonDeserializationContext p_81992_)
void
serialize(com.google.gson.JsonObject p_81983_, LootItemRandomChanceWithLootingCondition p_81984_, com.google.gson.JsonSerializationContext p_81985_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_81983_, LootItemRandomChanceWithLootingCondition p_81984_, com.google.gson.JsonSerializationContext p_81985_)- Specified by:
serialize
in interfaceSerializer<LootItemRandomChanceWithLootingCondition>
-
deserialize
public LootItemRandomChanceWithLootingCondition deserialize(com.google.gson.JsonObject p_81991_, com.google.gson.JsonDeserializationContext p_81992_)- Specified by:
deserialize
in interfaceSerializer<LootItemRandomChanceWithLootingCondition>
-