Changed priority for filler

This commit is contained in:
Frank 2021-12-15 11:56:09 +01:00
parent 294d59a88b
commit 81f6de2ac2

View file

@ -83,12 +83,12 @@ public class SurfaceRuleBuilder {
} }
/** /**
* Set biome filler with specified {@link BlockState}. Example - stone in the Overworld biomes. The rule is added with priority 3. * Set biome filler with specified {@link BlockState}. Example - stone in the Overworld biomes. The rule is added with priority 10.
* @param state {@link BlockState} for filling. * @param state {@link BlockState} for filling.
* @return same {@link SurfaceRuleBuilder} instance. * @return same {@link SurfaceRuleBuilder} instance.
*/ */
public SurfaceRuleBuilder filler(BlockState state) { public SurfaceRuleBuilder filler(BlockState state) {
entryInstance = getFromCache("fill_" + state.toString(), () -> new SurfaceRuleEntry(3, SurfaceRules.state(state))); entryInstance = getFromCache("fill_" + state.toString(), () -> new SurfaceRuleEntry(10, SurfaceRules.state(state)));
rules.add(entryInstance); rules.add(entryInstance);
return this; return this;
} }