Skip to content

Commit

Permalink
Fix piments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dabsunter committed Jul 11, 2017
1 parent acb4c8b commit 6d66cc0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
public class BlockPeppers extends BlockCrops {

protected Item i() {
return Items.PEPPERS;
return Items.PEPPER;
}

protected Item P() {
return Items.PEPPERS;
return Items.PEPPER;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public static void l() {
REGISTRY.a(id++, "iron_global_tool", new ItemGlobalTool(EnumToolMaterial.IRON).c("gtoolIron").setTextureName("iron_global_tool"));
REGISTRY.a(id++, "golden_global_tool", new ItemGlobalTool(EnumToolMaterial.GOLD).c("gtoolGold").setTextureName("gold_global_tool"));
REGISTRY.a(id++, "diamond_global_tool", new ItemGlobalTool(EnumToolMaterial.DIAMOND).c("gtoolDiamond").setTextureName("diamond_global_tool"));
REGISTRY.a(id++, "peppers", new ItemSeedFood(4, 0.6F, Blocks.PEPPERS, Blocks.SOIL).j().a(12, 360, 0, 1.0F).e(PotionBrewer.hasteEffect).c("peppers").setTextureName("peppers"));
REGISTRY.a(id++, "pepper", new ItemSeedFood(4, 0.6F, Blocks.PEPPERS, Blocks.SOIL).j().a(12, 360, 0, 1.0F).e(PotionBrewer.hasteEffect).c("peppers").setTextureName("peppers"));
REGISTRY.a(id++, "unclaim_finder", new Item().c("unclaimFinder").a(CreativeModeTab.f).setTextureName("unclaim_finder"));
id += 4; //TODO: Ajouter les arcs
REGISTRY.a(id++, "eldarium_nugget", new Item().c("eldariumNugget").setTextureName("eldarium_nugget").a(CreativeModeTab.l));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public class Items
public static final Item C4 = (Item)Item.REGISTRY.get("c4");
public static final Item TOMAHAWK = (Item)Item.REGISTRY.get("tomahawk");
public static final Item CHEST_ORB = (Item)Item.REGISTRY.get("chest_orb");
public static final Item PEPPERS = (Item)Item.REGISTRY.get("peppers");
public static final Item PEPPER = (Item)Item.REGISTRY.get("pepper");
//TODO: ajouter les arcs
public static final Item ELDARIUM_NUGGET = (Item)Item.REGISTRY.get("eldarium_nugget");
public static final Item wooden_global_tool = (Item)Item.REGISTRY.get("wooden_global_tool");
Expand Down

0 comments on commit 6d66cc0

Please sign in to comment.