Surface rules API

This commit is contained in:
paulevsGitch 2021-12-03 18:16:37 +03:00
parent 92dae621f1
commit c7ce0b5547
6 changed files with 94 additions and 62 deletions

View file

@ -0,0 +1,21 @@
package ru.bclib.api.biomes;
import net.minecraft.world.level.levelgen.SurfaceRules;
import net.minecraft.world.level.levelgen.SurfaceRules.ConditionSource;
import java.util.List;
public class SurfaceRuleBuilder {
private static final SurfaceRuleBuilder INSTANCE = new SurfaceRuleBuilder();
private List<ConditionSource> conditions;
private SurfaceRuleBuilder() {}
public static SurfaceRuleBuilder start() {
return INSTANCE;
}
public static SurfaceRules.RuleSource build() {
return null;
}
}