Skip to content

Commit c3fe881

Browse files
authored
Merge pull request #15 from Asis2019/main
Implemented weed gummy
2 parents 6aac284 + e29b872 commit c3fe881

File tree

21 files changed

+240
-3
lines changed

21 files changed

+240
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/blue_ice_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/bubble_kush_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/bubblegum_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/lemon_haze_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/purple_haze_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/sour_diesel_gummy"
5+
}
6+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"parent": "minecraft:item/generated",
3+
"textures": {
4+
"layer0": "smokeleafindustry:item/white_widow_gummy"
5+
}
6+
}

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@ protected void registerModels() {
9898
simpleItem(ModItems.HASH_BROWNIE);
9999
simpleItem(ModItems.WEED_COOKIE);
100100

101+
simpleItem(ModItems.WHITE_WIDOW_GUMMY);
102+
simpleItem(ModItems.SOUR_DIESEL_GUMMY);
103+
simpleItem(ModItems.PURPLE_HAZE_GUMMY);
104+
simpleItem(ModItems.LEMON_HAZE_GUMMY);
105+
simpleItem(ModItems.BUBBLE_KUSH_GUMMY);
106+
simpleItem(ModItems.BLUE_ICE_GUMMY);
107+
simpleItem(ModItems.BUBBLEGUM_GUMMY);
108+
101109
simpleItem(ModItems.HASH_OIL_BUCKET);
102110

103111
trimmedArmorItem(ModItems.HEMP_HELMET_RED);

src/main/java/net/micaxs/smokeleafindustry/item/ModCreativeModTabs.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,14 @@ public class ModCreativeModTabs {
9393
pOutput.accept(ModItems.HASH_BROWNIE.get());
9494
pOutput.accept(ModItems.WEED_COOKIE.get());
9595

96+
pOutput.accept(ModItems.WHITE_WIDOW_GUMMY.get());
97+
pOutput.accept(ModItems.SOUR_DIESEL_GUMMY.get());
98+
pOutput.accept(ModItems.PURPLE_HAZE_GUMMY.get());
99+
pOutput.accept(ModItems.LEMON_HAZE_GUMMY.get());
100+
pOutput.accept(ModItems.BUBBLE_KUSH_GUMMY.get());
101+
pOutput.accept(ModItems.BLUE_ICE_GUMMY.get());
102+
pOutput.accept(ModItems.BUBBLEGUM_GUMMY.get());
103+
96104
pOutput.accept(ModBlocks.HEMP_STONE.get());
97105
pOutput.accept(ModBlocks.HEMP_PLANKS.get());
98106
pOutput.accept(ModBlocks.HEMP_WOOL.get());

src/main/java/net/micaxs/smokeleafindustry/item/ModFoods.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,9 @@ public class ModFoods {
2020
.saturationMod(0.1f)
2121
.fast()
2222
.build();
23+
public static final FoodProperties WEED_GUMMY = new FoodProperties.Builder()
24+
.alwaysEat()
25+
.nutrition(4)
26+
.saturationMod(0.4f)
27+
.build();
2328
}

0 commit comments

Comments
 (0)