|
@@ -138,6 +138,7 @@ public class ModItems {
|
|
|
public static Item scroll;
|
|
|
public static Item soulStone;
|
|
|
public static Item piercingStone;
|
|
|
+ public static Item shell;
|
|
|
|
|
|
// food
|
|
|
public static Item coloredSoup;
|
|
@@ -173,6 +174,14 @@ public class ModItems {
|
|
|
public static Item herbGold;
|
|
|
public static Item herbBreathing;
|
|
|
public static Item herbFire;
|
|
|
+
|
|
|
+ // berry
|
|
|
+ public static Item berryBeast;
|
|
|
+ public static Item berryCloud;
|
|
|
+ public static Item berryGold;
|
|
|
+ public static Item berryMagma;
|
|
|
+ public static Item berryWork;
|
|
|
+ public static Item berryExperience;
|
|
|
|
|
|
private static Item newSword(IItemTier tier) {
|
|
|
return new SwordItem(tier, 3, -2.4f, (new Item.Properties()).group(ItemGroup.COMBAT));
|
|
@@ -224,7 +233,12 @@ public class ModItems {
|
|
|
|
|
|
private static Item newHerb() {
|
|
|
return new Item(new Properties().group(ItemGroup.FOOD).food(
|
|
|
- new Food.Builder().setAlwaysEdible().fastToEat().build()));
|
|
|
+ new Food.Builder().hunger(2).saturation(0.1F).setAlwaysEdible().fastToEat().build()));
|
|
|
+ }
|
|
|
+
|
|
|
+ private static Item newBerry() {
|
|
|
+ return new Item(new Properties().group(ItemGroup.FOOD).food(
|
|
|
+ new Food.Builder().hunger(2).saturation(0.1F).setAlwaysEdible().fastToEat().build()));
|
|
|
}
|
|
|
|
|
|
private static Item newFood(int food, float saturation) {
|
|
@@ -352,6 +366,7 @@ public class ModItems {
|
|
|
scroll = register(r, newItem(ItemGroup.MISC), "scroll");
|
|
|
soulStone = register(r, newItem(ItemGroup.MATERIALS), "soul_stone");
|
|
|
piercingStone = register(r, newItem(ItemGroup.MATERIALS), "piercing_stone");
|
|
|
+ shell = register(r, newItem(ItemGroup.MATERIALS), "shell");
|
|
|
|
|
|
// food
|
|
|
coloredSoup = register(r, new ItemColoredSoup(), "colored_soup");
|
|
@@ -387,6 +402,14 @@ public class ModItems {
|
|
|
herbGold = register(r, newHerb(), "herb_gold");
|
|
|
herbBreathing = register(r, newHerb(), "herb_breathing");
|
|
|
herbFire = register(r, newHerb(), "herb_fire");
|
|
|
+
|
|
|
+ // berries
|
|
|
+ berryBeast = register(r, newBerry(), "berry_beast");
|
|
|
+ berryCloud = register(r, newBerry(), "berry_cloud");
|
|
|
+ berryGold = register(r, newBerry(), "berry_gold");
|
|
|
+ berryMagma = register(r, newBerry(), "berry_magma");
|
|
|
+ berryWork = register(r, newBerry(), "berry_work");
|
|
|
+ berryExperience = register(r, newBerry(), "berry_experience");
|
|
|
|
|
|
// skill icons
|
|
|
for(int i = 1; i <= 57; i++) {
|