Skip to content

Commit eb1a6a7

Browse files
committed
2.0.0 Release Touch-Up (itneverendsdoesit)
- Renamed Horn to Sheep Horn - Touched up the Deprecated Recipes Class - Fixed some more typos
1 parent d41dcb1 commit eb1a6a7

File tree

6 files changed

+601
-606
lines changed

6 files changed

+601
-606
lines changed

src/main/java/darkbum/saltymod/entity/EntityHornedSheep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ protected void dropFewItems(boolean wasRecentlyHit, int lootingLevel) {
142142
0.0F
143143
);
144144
if (this.rand.nextFloat() < 0.5F) {
145-
this.dropItem(ModItems.horn, 1);
145+
this.dropItem(ModItems.sheep_horn, 1);
146146
}
147147
}
148148
}

src/main/java/darkbum/saltymod/init/ModItems.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package darkbum.saltymod.init;
22

3-
import darkbum.saltymod.common.config.*;
43
import darkbum.saltymod.potion.ModPotion;
54
import net.minecraft.creativetab.CreativeTabs;
65
import net.minecraft.item.*;
@@ -10,6 +9,7 @@
109
import darkbum.saltymod.potion.ProbablePotionEffect;
1110

1211
import static darkbum.saltymod.common.config.ModConfigurationBlocks.*;
12+
import static darkbum.saltymod.common.config.ModConfigurationEntities.*;
1313
import static darkbum.saltymod.common.config.ModConfigurationItems.*;
1414
import static darkbum.saltymod.common.config.ModConfigurationModCompatibility.*;
1515
import static darkbum.saltymod.common.config.ModConfigurationWorldGeneration.*;
@@ -76,7 +76,7 @@ public class ModItems {
7676
public static Item frozen_honey;
7777
public static Item royal_jelly;
7878
public static Item mineral_mud_ball;
79-
public static Item horn;
79+
public static Item sheep_horn;
8080
public static Item baking_soda;
8181
public static Item powdered_milk;
8282
public static Item salt;
@@ -228,7 +228,7 @@ public static void init() {
228228
royal_jelly = new Item().setCreativeTab(tab).setUnlocalizedName("royal_jelly").setTextureName("saltymod:royal_jelly");
229229

230230
mineral_mud_ball = new Item().setCreativeTab(tab).setUnlocalizedName("mineral_mud_ball").setTextureName("saltymod:mineral_mud_ball");
231-
horn = new Item().setCreativeTab(tab).setUnlocalizedName("horn").setTextureName("saltymod:horn");
231+
sheep_horn = new Item().setCreativeTab(tab).setUnlocalizedName("sheep_horn").setTextureName("saltymod:sheep_horn");
232232

233233
baking_soda = new Item().setCreativeTab(tab).setUnlocalizedName("baking_soda").setTextureName("saltymod:baking_soda");
234234
powdered_milk = new ItemPowderedMilk("powdered_milk", tab).setTextureName("saltymod:powdered_milk");
@@ -728,7 +728,7 @@ public static void init() {
728728
registerItem(frozen_honey, "frozen_honey", enableHoney);
729729
registerItem(royal_jelly, "royal_jelly", enableHoney);
730730
registerItem(mineral_mud_ball, "mineral_mud_ball", enableMineralMud);
731-
registerItem(horn, "horn", ModConfigurationEntities.enableHornedSheep);
731+
registerItem(sheep_horn, "sheep_horn", enableHornedSheep);
732732
registerItem(baking_soda, "baking_soda");
733733
registerItem(powdered_milk, "powdered_milk");
734734
registerItem(salt, "salt");

src/main/java/darkbum/saltymod/init/recipes/ModPressRecipes.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static void init() {
8787
false,
8888
new ItemStack(glass_bottle));
8989

90-
addPressRecipe(new ItemStack(horn),
90+
addPressRecipe(new ItemStack(sheep_horn),
9191
new boolean[]{enableHornedSheep},
9292
new ItemStack(tunneler_concoction),
9393
null,

0 commit comments

Comments
 (0)