Skip to content

Commit

Permalink
correct clone item stack for hemp
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed Sep 21, 2023
1 parent 041ff46 commit b753bac
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit b753bac

Please sign in to comment.