Introduce preChecks to the DataFixer
This commit is contained in:
parent
28b3669f39
commit
b46f9f90d3
3 changed files with 87 additions and 22 deletions
|
@ -3,6 +3,7 @@ package ru.bclib.api.datafixer;
|
|||
import net.minecraft.nbt.CompoundTag;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
@ -151,6 +152,7 @@ public abstract class Patch {
|
|||
* A {@link #Patch} with a given {@link #level} is only included if the patch-level of the
|
||||
* world is less
|
||||
* @param config The current patch-level configuration
|
||||
* @param levelBaseDir The location of the level
|
||||
* @return a new {@link MigrationProfile} Object.
|
||||
*/
|
||||
static MigrationProfile createMigrationData(CompoundTag config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue