public static class ExplorationMapLootFunction.Serializer extends ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
ExplorationMapLootFunction |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
private static StructureFeature<?> |
method_29039(JsonObject jsonObject) |
void |
toJson(JsonObject jsonObject,
ExplorationMapLootFunction explorationMapLootFunction,
JsonSerializationContext jsonSerializationContext) |
fromJson
public void toJson(JsonObject jsonObject, ExplorationMapLootFunction explorationMapLootFunction, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<ExplorationMapLootFunction>
toJson
in class ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
public ExplorationMapLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson
in class ConditionalLootFunction.Serializer<ExplorationMapLootFunction>
private static StructureFeature<?> method_29039(JsonObject jsonObject)