Package net.minecraft.loot.conditions
Class RandomChanceWithLooting.Serializer
- java.lang.Object
-
- net.minecraft.loot.conditions.RandomChanceWithLooting.Serializer
-
- All Implemented Interfaces:
ILootSerializer<RandomChanceWithLooting>
- Enclosing class:
- RandomChanceWithLooting
public static class RandomChanceWithLooting.Serializer extends java.lang.Object implements ILootSerializer<RandomChanceWithLooting>
-
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomChanceWithLooting
deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)
void
serialize(com.google.gson.JsonObject p_230424_1_, RandomChanceWithLooting p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
-
-
-
Method Detail
-
serialize
public void serialize(com.google.gson.JsonObject p_230424_1_, RandomChanceWithLooting p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
- Specified by:
serialize
in interfaceILootSerializer<RandomChanceWithLooting>
-
deserialize
public RandomChanceWithLooting deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_)
- Specified by:
deserialize
in interfaceILootSerializer<RandomChanceWithLooting>
-
-