Smaller Changes to new API
This commit is contained in:
parent
70b01dc00e
commit
ecb0f6fb99
7 changed files with 44 additions and 20 deletions
|
@ -11,6 +11,7 @@ import org.betterx.worlds.together.util.ModUtil;
|
|||
import org.betterx.worlds.together.world.WorldConfig;
|
||||
import org.betterx.worlds.together.world.WorldGenUtil;
|
||||
import org.betterx.worlds.together.worldPreset.TogetherWorldPreset;
|
||||
import org.betterx.worlds.together.worldPreset.settings.WorldPresetSettings;
|
||||
|
||||
import com.mojang.serialization.Lifecycle;
|
||||
import net.minecraft.core.Holder;
|
||||
|
@ -280,4 +281,12 @@ public class LevelGenUtil {
|
|||
));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Replace by {@link WorldGenUtil#getWorldSettings()}
|
||||
*/
|
||||
@Deprecated(forRemoval = true)
|
||||
public static WorldPresetSettings getWorldSettings() {
|
||||
return WorldGenUtil.getWorldSettings();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@ import net.minecraft.world.level.levelgen.Heightmap.Types;
|
|||
import net.minecraft.world.level.levelgen.feature.Feature;
|
||||
import net.minecraft.world.level.levelgen.feature.configurations.NoneFeatureConfiguration;
|
||||
|
||||
@Deprecated(forRemoval = true)
|
||||
public abstract class DefaultFeature extends Feature<NoneFeatureConfiguration> {
|
||||
protected static final BlockState AIR = Blocks.AIR.defaultBlockState();
|
||||
protected static final BlockState WATER = Blocks.WATER.defaultBlockState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue