public static class ExplorationMapLootFunction.Factory extends ConditionalLootFunction.Factory<ExplorationMapLootFunction>
Modifier | Constructor and Description |
---|---|
protected |
Factory() |
Modifier and Type | Method and Description |
---|---|
ExplorationMapLootFunction |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext,
LootCondition[] lootCondition) |
void |
toJson(JsonObject jsonObject,
ExplorationMapLootFunction explorationMapLootFunction,
JsonSerializationContext jsonSerializationContext) |
fromJson
getFunctionClass, getId
public void toJson(JsonObject jsonObject, ExplorationMapLootFunction explorationMapLootFunction, JsonSerializationContext jsonSerializationContext)
toJson
in class ConditionalLootFunction.Factory<ExplorationMapLootFunction>
public ExplorationMapLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
fromJson
in class ConditionalLootFunction.Factory<ExplorationMapLootFunction>