From b753bac884afb04edc5855e058fbe25f1de2e747 Mon Sep 17 00:00:00 2001 From: Niklas Widmann Date: Thu, 21 Sep 2023 20:32:27 +0200 Subject: [PATCH] correct clone item stack for hemp --- .../java/galena/blissful/world/block/HempCropBlock.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/src/main/java/galena/blissful/world/block/HempCropBlock.java b/common/src/main/java/galena/blissful/world/block/HempCropBlock.java index 80e02ac..156b875 100644 --- a/common/src/main/java/galena/blissful/world/block/HempCropBlock.java +++ b/common/src/main/java/galena/blissful/world/block/HempCropBlock.java @@ -1,7 +1,9 @@ package galena.blissful.world.block; +import galena.blissful.index.BlissfuItems; import net.minecraft.core.BlockPos; import net.minecraft.world.level.BlockGetter; +import net.minecraft.world.level.ItemLike; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.CropBlock; import net.minecraft.world.level.block.state.BlockState; @@ -28,6 +30,11 @@ public HempCropBlock(Properties properties) { super(properties); } + @Override + protected ItemLike getBaseSeedId() { + return BlissfuItems.HEMP_SEEDS.get(); + } + @Override public int getMaxAge() { return MAX_AGE;