Skip to content

Commit 97a3f5f

Browse files
authored
Merge pull request #17 from Asis2019/main
Fixed HWE compatability. (right click top block replants crop)
2 parents 7f29c95 + e9eca63 commit 97a3f5f

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"values": [
3+
"smokeleafindustry:blue_ice_crop",
4+
"smokeleafindustry:bubble_kush_crop",
5+
"smokeleafindustry:bubblegum_crop",
6+
"smokeleafindustry:lemon_haze_crop",
7+
"smokeleafindustry:purple_haze_crop",
8+
"smokeleafindustry:sour_diesel_crop",
9+
"smokeleafindustry:white_widow_crop"
10+
]
11+
}

src/main/java/net/micaxs/smokeleafindustry/datagen/ModBlockTagGenerator.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,14 @@ protected void addTags(HolderLookup.Provider provider) {
4040

4141
this.tag(BlockTags.MINEABLE_WITH_AXE)
4242
.add(ModBlocks.HEMP_PLANKS.get());
43+
44+
this.tag(BlockTags.CROPS)
45+
.add(ModBlocks.BLUE_ICE_CROP.get())
46+
.add(ModBlocks.BUBBLE_KUSH_CROP.get())
47+
.add(ModBlocks.BUBBLEGUM_CROP.get())
48+
.add(ModBlocks.LEMON_HAZE_CROP.get())
49+
.add(ModBlocks.PURPLE_HAZE_CROP.get())
50+
.add(ModBlocks.SOUR_DIESEL_CROP.get())
51+
.add(ModBlocks.WHITE_WIDOW_CROP.get());
4352
}
4453
}

0 commit comments

Comments
 (0)