Class LootItemConditionalFunction.Serializer<T extends LootItemConditionalFunction>
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<T>
- All Implemented Interfaces:
Serializer<T>
- Direct Known Subclasses:
ApplyBonusCount.Serializer
,ApplyExplosionDecay.Serializer
,CopyBlockState.Serializer
,CopyNameFunction.Serializer
,CopyNbtFunction.Serializer
,EnchantRandomlyFunction.Serializer
,EnchantWithLevelsFunction.Serializer
,ExplorationMapFunction.Serializer
,FillPlayerHead.Serializer
,FunctionReference.Serializer
,LimitCount.Serializer
,LootingEnchantFunction.Serializer
,SetAttributesFunction.Serializer
,SetBannerPatternFunction.Serializer
,SetContainerContents.Serializer
,SetContainerLootTable.Serializer
,SetEnchantmentsFunction.Serializer
,SetInstrumentFunction.Serializer
,SetItemCountFunction.Serializer
,SetItemDamageFunction.Serializer
,SetLoreFunction.Serializer
,SetNameFunction.Serializer
,SetNbtFunction.Serializer
,SetPotionFunction.Serializer
,SetStewEffectFunction.Serializer
,SmeltItemFunction.Serializer
- Enclosing class:
- LootItemConditionalFunction
public abstract static class LootItemConditionalFunction.Serializer<T extends LootItemConditionalFunction>
extends Object
implements Serializer<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal T
deserialize
(com.google.gson.JsonObject p_80719_, com.google.gson.JsonDeserializationContext p_80720_) abstract T
deserialize
(com.google.gson.JsonObject p_80721_, com.google.gson.JsonDeserializationContext p_80722_, LootItemCondition[] p_80723_) void
serialize
(com.google.gson.JsonObject p_80711_, T p_80712_, com.google.gson.JsonSerializationContext p_80713_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_80711_, T p_80712_, com.google.gson.JsonSerializationContext p_80713_) - Specified by:
serialize
in interfaceSerializer<T extends LootItemConditionalFunction>
-
deserialize
public final T deserialize(com.google.gson.JsonObject p_80719_, com.google.gson.JsonDeserializationContext p_80720_) - Specified by:
deserialize
in interfaceSerializer<T extends LootItemConditionalFunction>
-
deserialize
public abstract T deserialize(com.google.gson.JsonObject p_80721_, com.google.gson.JsonDeserializationContext p_80722_, LootItemCondition[] p_80723_)
-