From 62c36dc3ea1a5b2f9231ddba0d64900cb720d807 Mon Sep 17 00:00:00 2001 From: Frank Date: Mon, 1 Aug 2022 22:51:42 +0200 Subject: [PATCH] [Fix] Pillar Features can not grow with BoneMeal --- .../bclib/api/v3/levelgen/features/features/PillarFeature.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/betterx/bclib/api/v3/levelgen/features/features/PillarFeature.java b/src/main/java/org/betterx/bclib/api/v3/levelgen/features/features/PillarFeature.java index 3cc71224..2675fb52 100644 --- a/src/main/java/org/betterx/bclib/api/v3/levelgen/features/features/PillarFeature.java +++ b/src/main/java/org/betterx/bclib/api/v3/levelgen/features/features/PillarFeature.java @@ -25,8 +25,9 @@ public class PillarFeature extends Feature { int maxHeight = config.maxHeight.sample(rnd); int minHeight = config.minHeight.sample(rnd); BlockPos.MutableBlockPos posnow = featurePlaceContext.origin().mutable(); + posnow.move(config.direction); - for (height = 0; height < maxHeight; ++height) { + for (height = 1; height < maxHeight; ++height) { if (!config.allowedPlacement.test(level, posnow)) { maxHeight = height; break;