Class SetBannerPatternFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<SetBannerPatternFunction>
net.minecraft.world.level.storage.loot.functions.SetBannerPatternFunction.Serializer
- All Implemented Interfaces:
Serializer<SetBannerPatternFunction>
- Enclosing class:
- SetBannerPatternFunction
public static class SetBannerPatternFunction.Serializer
extends LootItemConditionalFunction.Serializer<SetBannerPatternFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_165299_, com.google.gson.JsonDeserializationContext p_165300_, LootItemCondition[] p_165301_)
void
serialize(com.google.gson.JsonObject p_165307_, SetBannerPatternFunction p_165308_, com.google.gson.JsonSerializationContext p_165309_)
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_165307_, SetBannerPatternFunction p_165308_, com.google.gson.JsonSerializationContext p_165309_)- Specified by:
serialize
in interfaceSerializer<SetBannerPatternFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<SetBannerPatternFunction>
-
deserialize
public SetBannerPatternFunction deserialize(com.google.gson.JsonObject p_165299_, com.google.gson.JsonDeserializationContext p_165300_, LootItemCondition[] p_165301_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<SetBannerPatternFunction>
-