Class ExplorationMapFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<ExplorationMapFunction>
net.minecraft.world.level.storage.loot.functions.ExplorationMapFunction.Serializer
- All Implemented Interfaces:
Serializer<ExplorationMapFunction>
- Enclosing class:
- ExplorationMapFunction
public static class ExplorationMapFunction.Serializer
extends LootItemConditionalFunction.Serializer<ExplorationMapFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80583_, com.google.gson.JsonDeserializationContext p_80584_, LootItemCondition[] p_80585_) private static TagKey<ConfiguredStructureFeature<?,
?>> readStructure
(com.google.gson.JsonObject p_210661_) void
serialize
(com.google.gson.JsonObject p_80587_, ExplorationMapFunction p_80588_, com.google.gson.JsonSerializationContext p_80589_) 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_80587_, ExplorationMapFunction p_80588_, com.google.gson.JsonSerializationContext p_80589_) - Specified by:
serialize
in interfaceSerializer<ExplorationMapFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<ExplorationMapFunction>
-
deserialize
public ExplorationMapFunction deserialize(com.google.gson.JsonObject p_80583_, com.google.gson.JsonDeserializationContext p_80584_, LootItemCondition[] p_80585_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<ExplorationMapFunction>
-
readStructure
private static TagKey<ConfiguredStructureFeature<?,?>> readStructure(com.google.gson.JsonObject p_210661_)
-