Skip to content

Commit

Permalink
Merge pull request #53 from k2b6s9j/BetterVanillaIntegration
Browse files Browse the repository at this point in the history
Interact with the Vanilla Boat
  • Loading branch information
keplersj committed Aug 8, 2013
2 parents faa943e + 68e98c7 commit 11e80e1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion common/k2b6s9j/BoatCraft/BoatCraft.java
Expand Up @@ -18,13 +18,13 @@
import k2b6s9j.BoatCraft.item.boat.BoatOak;
import k2b6s9j.BoatCraft.item.boat.BoatSpruce;
import k2b6s9j.BoatCraft.item.boat.BoatTNT;
import k2b6s9j.BoatCraft.proxy.ClientProxy;
import k2b6s9j.BoatCraft.proxy.CommonProxy;
import k2b6s9j.BoatCraft.utilities.CraftingUtilities;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.Configuration;
import net.minecraftforge.oredict.OreDictionary;

import org.modstats.ModstatInfo;

Expand Down Expand Up @@ -102,6 +102,8 @@ public void PreInit (FMLPreInitializationEvent event)
}

public void InitItems() {
OreDictionary.registerOre("itemBoat", Item.boat);

//Boats
oakBoat = new BoatOak(oakBoat.ID);
spruceBoat = new BoatSpruce(spruceBoat.ID);
Expand Down Expand Up @@ -149,6 +151,8 @@ public void EntityWork() {
@EventHandler
public void Init (FMLInitializationEvent event)
{
LanguageRegistry.addName(Item.boat, "Vanilla Boat");

//Boats
LanguageRegistry.addName(oakBoat, "Oak Wood Boat");
LanguageRegistry.addName(spruceBoat, "Spruce Wood Boat");
Expand Down

0 comments on commit 11e80e1

Please sign in to comment.