• 0

    posted a message on Mouse and Keyboard support for Minecraft PE

    To all the people who don't like this idea: If you do not like that idea, then if it comes out.. Don't use a mouse and keyboard.

    I SUPPORT.

    Posted in: MCPE: Suggestions
  • 0

    posted a message on Witch Hunter

    I'm doing some videos with your map. It seems really fun so far! Personally I've never played a map that is set in 'Adventure Mode' before. So this is really cool!

    My channel is here:

    (Video is currently uploading, and I have to leave so I can't direct link the video atm!)

    Posted in: Maps
  • 0

    posted a message on --------

    MODS HAVE BEEN WIPED - GOING THROUGH HUGE CHANGES

    Posted in: Minecraft Mods
  • 0

    posted a message on Mod will not Build. Eclipse/Forge - Duplicate classes [SOLVED]

    You people deserve hugs! THANK YOU!

    I must have accidentally ctrl+clicked again and the mod folder was actually duplicated, but wasn't showing up!

    Posted in: Modification Development
  • 0

    posted a message on Mod will not Build. Eclipse/Forge - Duplicate classes [SOLVED]

    ISSUE: I've checked, and checked again, and I don't see where these duplicate classes are.. Can anyone give me an idea of how I could fix this, or what I might be misunderstanding?

    SOLUTION: Turned my mod folder was in fact duplicated. I refreshed my mod folder in Eclipse to find a "NAME-copy" folder.. In which I deleted, RE-Refreshed and tried again.. Which fixed my problem! Now I can get the mod thread setup..


    Error Message:


    C:\Users\BenjaminWolvenhour\Documents\modshit\forge>gradlew build
    This mapping 'snapshot_20160518' was designed for MC 1.9.4! Use at your own peri
    l.
    #################################################
    ForgeGradle 2.2-SNAPSHOT-fcfdb66
    https://github.com/MinecraftForge/ForgeGradle
    #################################################
    Powered by MCP unknown
    http://modcoderpack.com
    by: Searge, ProfMobius, Fesh0r,
    R4wk, ZeuX, IngisKahn, bspkrs
    #################################################
    :deobfCompileDummyTask
    :deobfProvidedDummyTask
    :sourceApiJava
    :compileApiJava UP-TO-DATE
    :processApiResources UP-TO-DATE
    :apiClasses UP-TO-DATE
    :sourceMainJava
    :compileJava
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\Paintables.java:18: error: duplicate class: com.benwolv
    enhour.paintables.Paintables
    public class Paintables {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\PaintablesTab.java:8: error: duplicate class: com.benwo
    lvenhour.paintables.PaintablesTab
    public class PaintablesTab extends CreativeTabs{
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\Reference.java:3: error: duplicate class: com.benwolven
    hour.paintables.Reference
    public class Reference {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksblack.java:9: error: duplicate class:
    com.benwolvenhour.paintables.blocks.BlockPlanksblack
    public class BlockPlanksblack extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksbrown.java:9: error: duplicate class:
    com.benwolvenhour.paintables.blocks.BlockPlanksbrown
    public class BlockPlanksbrown extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankscactusgreen.java:9: error: duplicate
    class: com.benwolvenhour.paintables.blocks.BlockPlankscactusgreen
    public class BlockPlankscactusgreen extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankscyan.java:9: error: duplicate class:
    com.benwolvenhour.paintables.blocks.BlockPlankscyan
    public class BlockPlankscyan extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksdarkblue.java:9: error: duplicate cla
    ss: com.benwolvenhour.paintables.blocks.BlockPlanksdarkblue
    public class BlockPlanksdarkblue extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksdarkgrey.java:9: error: duplicate cla
    ss: com.benwolvenhour.paintables.blocks.BlockPlanksdarkgrey
    public class BlockPlanksdarkgrey extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankslightblue.java:9: error: duplicate cl
    ass: com.benwolvenhour.paintables.blocks.BlockPlankslightblue
    public class BlockPlankslightblue extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankslightgrey.java:9: error: duplicate cl
    ass: com.benwolvenhour.paintables.blocks.BlockPlankslightgrey
    public class BlockPlankslightgrey extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankslimegreen.java:9: error: duplicate cl
    ass: com.benwolvenhour.paintables.blocks.BlockPlankslimegreen
    public class BlockPlankslimegreen extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksmagenta.java:9: error: duplicate clas
    s: com.benwolvenhour.paintables.blocks.BlockPlanksmagenta
    public class BlockPlanksmagenta extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksorange.java:9: error: duplicate class
    : com.benwolvenhour.paintables.blocks.BlockPlanksorange
    public class BlockPlanksorange extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankspink.java:9: error: duplicate class:
    com.benwolvenhour.paintables.blocks.BlockPlankspink
    public class BlockPlankspink extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankspurple.java:9: error: duplicate class
    : com.benwolvenhour.paintables.blocks.BlockPlankspurple
    public class BlockPlankspurple extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksred.java:9: error: duplicate class: c
    om.benwolvenhour.paintables.blocks.BlockPlanksred
    public class BlockPlanksred extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlankswhite.java:9: error: duplicate class:
    com.benwolvenhour.paintables.blocks.BlockPlankswhite
    public class BlockPlankswhite extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\blocks\BlockPlanksyellow.java:9: error: duplicate class
    : com.benwolvenhour.paintables.blocks.BlockPlanksyellow
    public class BlockPlanksyellow extends Block {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\init\ModBlocks.java:27: error: duplicate class: com.ben
    wolvenhour.paintables.init.ModBlocks
    public class ModBlocks {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\init\ModCrafting.java:8: error: duplicate class: com.be
    nwolvenhour.paintables.init.ModCrafting
    public class ModCrafting {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\init\ModItems.java:26: error: duplicate class: com.benw
    olvenhour.paintables.init.ModItems
    public class ModItems {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrush.java:8: error: duplicate class: co
    m.benwolvenhour.paintables.items.ItemPaintbrush
    public class ItemPaintbrush extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushBlack.java:8: error: duplicate clas
    s: com.benwolvenhour.paintables.items.ItemPaintbrushBlack
    public class ItemPaintbrushBlack extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushBrown.java:9: error: duplicate clas
    s: com.benwolvenhour.paintables.items.ItemPaintbrushBrown
    public class ItemPaintbrushBrown extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushCactusgreen.java:9: error: duplicat
    e class: com.benwolvenhour.paintables.items.ItemPaintbrushCactusgreen
    public class ItemPaintbrushCactusgreen extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushCyan.java:8: error: duplicate class
    : com.benwolvenhour.paintables.items.ItemPaintbrushCyan
    public class ItemPaintbrushCyan extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushDarkblue.java:8: error: duplicate c
    lass: com.benwolvenhour.paintables.items.ItemPaintbrushDarkblue
    public class ItemPaintbrushDarkblue extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushDarkgrey.java:8: error: duplicate c
    lass: com.benwolvenhour.paintables.items.ItemPaintbrushDarkgrey
    public class ItemPaintbrushDarkgrey extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushLightblue.java:8: error: duplicate
    class: com.benwolvenhour.paintables.items.ItemPaintbrushLightblue
    public class ItemPaintbrushLightblue extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushLightgrey.java:8: error: duplicate
    class: com.benwolvenhour.paintables.items.ItemPaintbrushLightgrey
    public class ItemPaintbrushLightgrey extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushLimegreen.java:8: error: duplicate
    class: com.benwolvenhour.paintables.items.ItemPaintbrushLimegreen
    public class ItemPaintbrushLimegreen extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushMagenta.java:8: error: duplicate cl
    ass: com.benwolvenhour.paintables.items.ItemPaintbrushMagenta
    public class ItemPaintbrushMagenta extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushOrange.java:8: error: duplicate cla
    ss: com.benwolvenhour.paintables.items.ItemPaintbrushOrange
    public class ItemPaintbrushOrange extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushPink.java:8: error: duplicate class
    : com.benwolvenhour.paintables.items.ItemPaintbrushPink
    public class ItemPaintbrushPink extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushPurple.java:8: error: duplicate cla
    ss: com.benwolvenhour.paintables.items.ItemPaintbrushPurple
    public class ItemPaintbrushPurple extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushRed.java:8: error: duplicate class:
    com.benwolvenhour.paintables.items.ItemPaintbrushRed
    public class ItemPaintbrushRed extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushWhite.java:8: error: duplicate clas
    s: com.benwolvenhour.paintables.items.ItemPaintbrushWhite
    public class ItemPaintbrushWhite extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\items\ItemPaintbrushYellow.java:8: error: duplicate cla
    ss: com.benwolvenhour.paintables.items.ItemPaintbrushYellow
    public class ItemPaintbrushYellow extends Item {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\proxy\ClientProxy.java:6: error: duplicate class: com.b
    enwolvenhour.paintables.proxy.ClientProxy
    public class ClientProxy implements CommonProxy {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\proxy\CommonProxy.java:3: error: duplicate class: com.b
    enwolvenhour.paintables.proxy.CommonProxy
    public interface CommonProxy {
    ^
    C:\Users\BenjaminWolvenhour\Documents\modshit\forge\build\sources\main\java\com\
    benwolvenhour\paintables\proxy\ServerProxy.java:3: error: duplicate class: com.b
    enwolvenhour.paintables.proxy.ServerProxy
    public class ServerProxy implements CommonProxy {
    ^
    42 errors
    1 warning
    :compileJava FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':compileJava'.
    > Compilation failed; see the compiler error output for details.

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug
    option to get more log output.

    BUILD FAILED

    Total time: 13.952 secs

    C:\Users\BenjaminWolvenhour\Documents\modshit\forge>


    This is my first time modding/using JAVA and I'm still learning. So I'm stuck.

    Thanks ahead of time!


    ps: it seems to think this is a duplicate..? (IMAGE)

    Posted in: Modification Development
  • 1

    posted a message on MAtmos - Environmental sound atmosphere simulator
    Not for 1.6.4? Oh come on! I wanted to use this with my rift + Terraria mod! Ah well..
    Posted in: Minecraft Mods
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    Quote from blockout22

    wait you started 3 days ago on java? & you already have part of code for entities

    TIP: copy & paste is pretty bad for experience


    I typed it out. I was watch tutorials.


    ---------

    Also I fixed everything. :3
    Posted in: Modification Development
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    Walked through how to fix the error I made, so I can avoid it next time.Learning more stuff, will not fix my error. I put a lot of work into this, and i fI don't fix it, I'm giving up, because noone will help me fix this.
    Posted in: Modification Development
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    And I did, but one again, I just.started.coding. So I don't understand half the ­ I see. I need to be walked through it.
    Posted in: Modification Development
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    What the hell is a break point? I literally JUST started coding JAVA 3 days ago. Give me a break, and give me a damned example
    Posted in: Modification Development
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    Or you could help me out? How may times do I have to say I'm learning to you? I can't learn unless I'm taught. Sheesh. If you're not going to help, stop replying to my posts.
    Posted in: Modification Development
  • 0

    posted a message on Error - I'm confused.. [SOLVED]
    So after doing a few edits, after FINALLY getting errors to go away, I test run and get a very confusing ID clash..According to the Log 2 items are Register to ID "0". The fact is.. They aren't even close to being "0".. Mah?Config:
    package wolvenhour_terraria;import net.minecraftforge.common.Configuration;import cpw.mods.fml.common.event.FMLPreInitializationEvent;public class Config{ //Generated Block IDs public static int corruptGrassID; public static int ebonStoneID; public static int shadeLeavesID; public static int shadewoodLogsID; public static int shadewoodPlanksID; // Block IDs public static int copperOreID; public static int copperBricksID; //Plant IDs public static int blinkRootID; public static int dayBloomID; public static int deathWeedID; public static int fireBlossomID; public static int moonGlowID; public static int waterLeafID; public static int regularMushroomID; public static int vileMushroomID; public static int glowingMushroomID; //Item IDs public static int copperIngotID; //Tool IDs public static int oakHammerID; public static int spruceHammerID; public static int birchHammerID; public static int jungleHammerID; public static int copperSwordID; public static int copperPickaxeID; public static int copperShovelID; public static int copperAxeID; public static int copperHoeID; //Armor IDs public static int copperHelmetID; public static int copperChestID; public static int copperLegsID; public static int copperBootsID; public static void createConfig(FMLPreInitializationEvent event){ Configuration config = new Configuration(event.getSuggestedConfigurationFile()); config.load(); // ID = config.get("", "", #).getInt(); //Generated Blocks config.addCustomCategoryComment("Generated Block IDs", "Generated Blocks Must be lower than 256, Higher than 175."); copperOreID = config.get("Generated Block IDs", "Copper Ore ID", 200).getInt(); corruptGrassID = config.get("Generated Block IDs", "Corruption Grass ID", 201).getInt(); ebonStoneID = config.get("Generated Block IDs", "Ebonstone ID", 202).getInt(); //Regular Blocks config.addCustomCategoryComment("Regular Block IDs", "Non-World Gen block IDs."); copperBricksID = config.get("Regular Block IDs", "Copper Bricks ID", 203).getInt(); //Plants config.addCustomCategoryComment("Plant IDs", "Plantation IDs"); blinkRootID = config.get("Plant IDs", "Blinkroot ID", 204).getInt(); dayBloomID = config.get("Plant IDs", "Daybloom ID", 205).getInt(); deathWeedID = config.get("Plant IDs", "Deathweed ID" , 206).getInt(); fireBlossomID = config.get("Plant IDs", "FireBlossom ID", 207).getInt(); moonGlowID = config.get("Plant IDs", "MoonGlow ID", 208).getInt(); waterLeafID = config.get("Plant IDs", "WaterLeaf ID", 209).getInt(); regularMushroomID = config.get("Plant IDs", "Regular Mushroom ID", 210).getInt(); glowingMushroomID = config.get("Plant IDs", "Glowing Mushroom ID", 211).getInt(); vileMushroomID = config.get("Plant IDs", "Vile Mushroom ID", 212).getInt(); //Tree Stuff / Wood shadeLeavesID = config.get("Generated Block IDs", "Shade Leaves ID", 213).getInt(); shadewoodLogsID = config.get("Generated Block IDs", "Shadewood Logs ID", 214).getInt(); shadewoodPlanksID = config.get("Generated Block IDs", "Shadewood Logs", 215).getInt(); //Items copperIngotID = config.get("Item IDs", "Copper Ingot ID", 500).getInt(); //Tools oakHammerID = config.get("Tool IDs", "Oak Hammer", 1000).getInt(); spruceHammerID = config.get("Tool IDs", "Spruce Hammer ID", 1001).getInt(); birchHammerID = config.get("Tool IDs", "Birch Hammer ID", 1002).getInt(); jungleHammerID = config.get("Tool IDs", "Jungle Hammer ID", 1003).getInt(); copperSwordID = config.get("Tool IDs", "Copper Sword ID", 1004).getInt(); copperPickaxeID = config.get("Tool IDs", "Copper Pickaxe ID", 1005).getInt(); copperShovelID = config.get("Tool IDs", "Copper Shoel ID", 1006).getInt(); copperAxeID = config.get("Tool IDs", "Copper Axe ID", 1007).getInt(); copperHoeID = config.get("Tool IDs", "Copper Hoe ID", 1008).getInt(); //Armor copperHelmetID = config.get("Armor IDs", "Copper Helmet ID", 1009).getInt(); copperChestID = config.get("Armor IDs", "Copper Chestplate ID", 1010).getInt(); copperLegsID = config.get("Armor IDs", "Copper Leggings ID", 1011).getInt(); copperBootsID = config.get("Armor IDs", "Copper Boots ID", 1012).getInt(); config.save(); }}
    Main Mod File:
    package wolvenhour_terraria;import net.minecraft.block.Block;import net.minecraft.block.material.Material;import net.minecraft.creativetab.CreativeTabs;import net.minecraft.entity.Entity;import net.minecraft.entity.EntityEggInfo;import net.minecraft.entity.EntityList;import net.minecraft.entity.EnumCreatureType;import net.minecraft.item.EnumArmorMaterial;import net.minecraft.item.EnumToolMaterial;import net.minecraft.item.Item;import net.minecraft.item.ItemArmor;import net.minecraft.item.ItemStack;import net.minecraft.item.crafting.FurnaceRecipes;import net.minecraft.src.ModLoader;import net.minecraft.world.biome.BiomeGenBase;import net.minecraftforge.common.EnumHelper;import wolvenhour_terraria.blocks.BlockCopperBricks;import wolvenhour_terraria.blocks.BlockCopperOre;import wolvenhour_terraria.blocks.BlockCorruptGrass;import wolvenhour_terraria.blocks.BlockEbonStone;import wolvenhour_terraria.blocks.BlockShadewoodLeaves;import wolvenhour_terraria.blocks.BlockShadewoodLogs;import wolvenhour_terraria.blocks.BlockShadewoodPlanks;import wolvenhour_terraria.common.ClientProxy;import wolvenhour_terraria.common.CommonProxy;import wolvenhour_terraria.items.ItemCopperIngot;import wolvenhour_terraria.mob.entity.EntityDemonEye;import wolvenhour_terraria.plants.BlockBlinkRoot;import wolvenhour_terraria.plants.BlockDayBloom;import wolvenhour_terraria.plants.BlockMoonGlow;import wolvenhour_terraria.plants.BlockVileMushroom;import wolvenhour_terraria.tools.ItemCopperAxe;import wolvenhour_terraria.tools.ItemCopperHoe;import wolvenhour_terraria.tools.ItemCopperPickaxe;import wolvenhour_terraria.tools.ItemCopperShovel;import wolvenhour_terraria.tools.ItemCopperSword;import wolvenhour_terraria.tools.ItembirchwoodHammer;import wolvenhour_terraria.tools.ItemjunglewoodHammer;import wolvenhour_terraria.tools.ItemoakwoodHammer;import wolvenhour_terraria.tools.ItemsprucewoodHammer;import cpw.mods.fml.common.Mod;import cpw.mods.fml.common.Mod.EventHandler;import cpw.mods.fml.common.SidedProxy;import cpw.mods.fml.common.event.FMLInitializationEvent;import cpw.mods.fml.common.event.FMLPreInitializationEvent;import cpw.mods.fml.common.network.NetworkMod;import cpw.mods.fml.common.registry.EntityRegistry;import cpw.mods.fml.common.registry.GameRegistry;import cpw.mods.fml.common.registry.LanguageRegistry;// Mod & Net [email protected](modid = WolvenhourTerraria.modid, name = "Wolvenhour's Terraria Mod", version ="1.0")@NetworkMod(clientSideRequired = true, serverSideRequired = false)public class WolvenhourTerraria { @SidedProxy(clientSide = "wolvenhour_terraria.common.ClientProxy", serverSide = "wolvenhour_terraria.CommonProxy") ////DEFINITIONS//// // Define Modid public static final String modid = "wolvenhour_terraria"; //settings public static CommonProxy proxy; //Biomes public static BiomeGenBase theCorruption; //Block Defining public static Block copperOre; public static Block copperBricks; public static Block corruptGrass; public static Block ebonStone; public static Block shadeLeaves; public static Block shadewoodLogs; public static Block shadewoodPlanks; //Plant Defining public static Block blinkRoot; public static Block dayBloom; public static Block deathWeed; public static Block fireBlossom; public static Block moonGlow; public static Block waterLeaf; public static Block vileMushroom; //Tool Defining public static Item oakwoodHammer; public static Item sprucewoodHammer; public static Item birchwoodHammer; public static Item junglewoodHammer; public static Item copperSword; public static Item copperPickaxe; public static Item copperShovel; public static Item copperAxe; public static Item copperHoe; //Armor Defining public static Item copperHelmet; public static Item copperChest; public static Item copperLegs; public static Item copperBoots; //Item Defining public static Item copperIngot; //Eggs public static int startEntityId = 300; public static int getUniqueEntityId() { do { startEntityId++; } while(EntityList.getStringFromID(startEntityId) != null); return startEntityId++; } public static void registerEntityEgg(Classentity, int primaryColor, int secondaryColor){ int id = getUniqueEntityId(); EntityList.IDtoClassMapping.put(id, entity); EntityList.entityEggs.put(id, new EntityEggInfo(id, primaryColor, secondaryColor)); } //Events EventManager oreManager = new EventManager(); @EventHandler public void preInit(FMLPreInitializationEvent event){ Config.createConfig(event); } @EventHandler public void load(FMLInitializationEvent event) { proxy.registerRenderInformation(); } public WolvenhourTerraria() { ////////////REGISTRATIONS/////////////// //Generation GameRegistry.registerWorldGenerator(oreManager); //Materials EnumArmorMaterial copperArmor = EnumHelper.addArmorMaterial("COPPERARMOR", 10, new int[]{2,3,3,2}, 8); EnumToolMaterial copperTools = EnumHelper.addToolMaterial("COPPERTOOLS", 1, 200, 5.0F, 1.0F, 10); //Mobs EntityRegistry.registerGlobalEntityID(EntityDemonEye.class, "Demon Eye", 1); EntityRegistry.addSpawn(EntityDemonEye.class, 10, 2, 4, EnumCreatureType.ambient); EntityRegistry.findGlobalUniqueEntityId(); registerEntityEgg(EntityDemonEye.class, 0xffffff, 0x000000); //Biomes theCorruption = new BiomeGenCorruption(130).setBiomeName("TheCorruption").setColor(660099).setMinMaxHeight(1.0F, 1.0F).setTemperatureRainfall(1.0F, 0.0F); GameRegistry.addBiome(theCorruption); //Register Blocks copperOre = new BlockCopperOre(Config.copperOreID, Material.rock).setStepSound(Block.soundStoneFootstep).setUnloc
    alizedName("wolvenhour_copperore").setTextureName("wolvenhour_terraria:copperore").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(copperOre, "wolvenhour_copperore"); LanguageRegistry.addName(copperOre, "Copper Ore"); ItemStack copperOreStack = new ItemStack(WolvenhourTerraria.copperOre); copperBricks = new BlockCopperBricks(Config.copperBricksID, Material.iron).setStepSound(Block.soundMetalFootstep).setUnlocalizedName("wolvenhour_copperbricks").setTextureName("wolvenhour_terraria:copperbricks").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(copperBricks, "wolvenhour_copperbricks"); LanguageRegistry.addName(copperBricks, "Copper Bricks"); ItemStack copperBricksStack = new ItemStack(WolvenhourTerraria.copperBricks, 4); corruptGrass = new BlockCorruptGrass(Config.corruptGrassID, Material.ground).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("wolvehour_corruptgrass").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(corruptGrass, "wolvenhour_corruptgrass"); LanguageRegistry.addName(corruptGrass, "Corrupt Grass"); ebonStone = new BlockEbonStone(Config.ebonStoneID, Material.rock).setStepSound(Block.soundStoneFootstep).setUnlocalizedName("wolvenhour_ebonstone").setTextureName("wolvenhour_terraria:ebonstone").setHardness(10.0F).setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(ebonStone, "wolvenhour_ebonstone"); LanguageRegistry.addName(ebonStone, "Ebonstone"); shadeLeaves = new BlockShadewoodLeaves(Config.shadeLeavesID, Material.leaves).setStepSound(Block.soundGrassFootstep).setUnlocalizedName("wolvenhour_shadeleaves").setTextureName("wolvenhour_terraria:shadeleaves").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(shadeLeaves, "wolvenhour_shadeleaves"); LanguageRegistry.addName(shadeLeaves, "Shade Leaves"); shadewoodLogs = new BlockShadewoodLogs(Config.shadewoodLogsID, Material.wood).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("wolvenhour_shadewoodlogs").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(shadewoodLogs, "wolvenhour_shadewoodlogs"); LanguageRegistry.addName(shadewoodLogs, "Shadewood Logs"); shadewoodPlanks = new BlockShadewoodPlanks(Config.shadewoodPlanksID, Material.wood).setStepSound(Block.soundWoodFootstep).setUnlocalizedName("wolvenhour_shadewoodplanks").setTextureName("wolvenhour_terraria:shadewoodplanks").setCreativeTab(CreativeTabs.tabBlock); GameRegistry.registerBlock(shadewoodPlanks, "wolvenhour_shadewoodplanks"); LanguageRegistry.addName(shadewoodPlanks, "Shadewood Planks"); //Register Plants vileMushroom = new BlockVileMushroom(Config.vileMushroomID).setUnlocalizedName("wolvenhour_vilemushroom").setTextureName("wolvenhour_terraria:vilemushroom").setCreativeTab(CreativeTabs.tabDecorations); GameRegistry.registerBlock(vileMushroom, "wolvenhour_vilemushroom"); LanguageRegistry.addName(vileMushroom, "Vile Mushroom"); blinkRoot = new BlockBlinkRoot(Config.blinkRootID).setUnlocalizedName("wolvenhour_blinkroot").setTextureName("wolvenhour_terraria:blinkroot").setLightValue(0.3F).setCreativeTab(CreativeTabs.tabDecorations); GameRegistry.registerBlock(blinkRoot, "wolvenhour_blinkroot"); LanguageRegistry.addName(blinkRoot, "BlinkRoot"); dayBloom = new BlockDayBloom(Config.dayBloomID).setUnlocalizedName("wolvenhour_daybloom").setTextureName("wolvenhour_terraria:daybloom").setCreativeTab(CreativeTabs.tabDecorations); GameRegistry.registerBlock(dayBloom, "wolvenhour_daybloom"); LanguageRegistry.addName(dayBloom, "Daybloom"); moonGlow = new BlockMoonGlow(Config.moonGlowID).setUnlocalizedName("wolvenhour_moonglow").setTextureName("wolvenhour_terraria:moonglow").setCreativeTab(CreativeTabs.tabDecorations); GameRegistry.registerBlock(moonGlow, "wolvenhour_moonglow"); LanguageRegistry.addName(moonGlow, "Moonglow"); //Register Items copperIngot = new ItemCopperIngot(Config.copperIngotID).setUnlocalizedName("wolvenhour_copperingot").setTextureName("wolvenhour_terraria:copperingot").setCreativeTab(CreativeTabs.tabMaterials); GameRegistry.registerItem(copperIngot, "wolvenhour_copperingot"); LanguageRegistry.addName(copperIngot, "Copper Ingot"); ItemStack copperIngotStack = new ItemStack(WolvenhourTerraria.copperIngot); //Register Tools oakwoodHammer = new ItemoakwoodHammer(Config.oakHammerID, EnumToolMaterial.WOOD).setUnlocalizedName("wolvenhour_oakwoodhammer").setTextureName("wolvenhour_terraria:oakwoodhammer").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(oakwoodHammer, "wolvenhour_oakwoodhammer"); LanguageRegistry.addName(oakwoodHammer, "Oakwood Hammer"); ItemStack oakwoodHammerStack = new ItemStack(WolvenhourTerraria.oakwoodHammer); sprucewoodHammer = new ItemsprucewoodHammer(Config.spruceHammerID, EnumToolMaterial.WOOD).setUnlocalizedName("wolvenhour_sprucewoodhammer").setTextureName("wolvenhour_terraria:sprucewoodhammer").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(sprucewoodHammer, "wolvenhour_sprucewoodhammer"); LanguageRegistry.addName(sprucewoodHammer, "Sprucewood Hammer"); ItemStack sprucewoodHammerStack = new ItemStack(WolvenhourTerraria.sprucewoodHammer); birchwoodHammer = new ItembirchwoodHammer(Config.birchHammerID, EnumToolMaterial.WOOD).setUnlocalizedName("wolvenhour_birchwoodhammer").setTextureName("wolvenhour_terraria:birchwoodhammer").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(birchwoodHammer, "wolvenhour_birchwoodhammer"); LanguageRegistry.addName(birchwoodHammer, "Birchwood Hammer"); ItemStack birchwoodHammerStack = new ItemStack(WolvenhourTerraria.birchwoodHammer); junglewoodHammer = new ItemjunglewoodHammer(Config.jungleHammerID, EnumToolMaterial.WOOD).setUnlocalizedName("wolvenhour_junglewoodhammer").setTextureName("wolvenhour_terraria:junglewoodhammer").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(junglewoodHammer, "wolvenhour_junglewoodhammer"); LanguageRegistry.addName(junglewoodHammer, "junglewood Hammer"); ItemStack junglewoodHammerStack = new ItemStack(WolvenhourTerraria.junglewoodHammer); copperSword = new ItemCopperSword(Config.copperSwordID, copperTools).setUnlocalizedName("wolvenhour_coppersword").setTextureName("wolvenhour_terraria:coppersword").setCreativeTab(CreativeTabs.tabCombat); GameRegistry.registerItem(copperSword, "wolvenhour_coppersword"); LanguageRegistry.addName(copperSword, "Copper Sword"); ItemStack copperSwordStack = new ItemStack(WolvenhourTerraria.copperSword); copperPickaxe = new ItemCopperPickaxe(Config.copperPickaxeID, copperTools).setUnlocalizedName("wolvenhour_copperpickaxe").setTextureName("wolvenhour_terraria:copperpickaxe").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(copperPickaxe, "wolvenhour_copperpickaxe"); LanguageRegistry.addName(copperPickaxe, "Copper Pickaxe"); ItemStack copperPickaxeStack = new ItemStack(WolvenhourTerraria.copperPickaxe); copperShovel = new ItemCopperShovel(Config.copperShovelID, copperTools).setUnlocalizedName("wolvenhour_coppershovel").setTextureName("wolvenhour_terraria:coppershovel").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(copperShovel, "wolvenhour_coppershovel"); LanguageRegistry.addName(copperShovel, "Copper Shovel"); ItemStack copperShovelStack = new ItemStack(WolvenhourTerraria.copperShovel); copperAxe = new ItemCopperAxe(Config.copperAxeID, copperTools).setUnlocalizedName("wolvenhour_copperaxe").setTextureName("wolvenhour_terraria:copperaxe").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(copperAxe, "wolvenhour_copperaxe"); LanguageRegistry.addName(copperAxe, "Copper Axe"); ItemStack copperAxeStack = new ItemStack(WolvenhourTerraria.copperAxe); copperHoe = new ItemCopperHoe(Config.copperHoeID, copperTools).setUnlocalizedName("wolvenhour_copperhoe").setTextureName("wolvenhour_terraria:copperhoe").setCreativeTab(CreativeTabs.tabTools); GameRegistry.registerItem(copperHoe, "wolvenhour_copperhoe"); LanguageRegistry.addName(copperHoe, "Copper Hoe"); ItemStack copperHoeStack = new ItemStack(WolvenhourTerraria.copperHoe); //Armor copperHelmet = (new ItemArmor(Config.copperHelmetID, copperArmor, ModLoader.addArmor("copper"), 0)).setUnlocalizedName("Copper_head").setTextureName("wolvenhour_terraria:copperhelmet"); copperHelmet.setMaxStackSize(1); GameRegistry.registerItem(copperHelmet, "wolvenhour_copperhelmet"); LanguageRegistry.addName(copperHelmet, "Copper Helmet"); ItemStack copperHelmetStack = new ItemStack(WolvenhourTerraria.copperHelmet); copperChest = (new ItemArmor(Config.copperChestID, copperArmor, ModLoader.addArmor("copper"), 1)).setUnlocalizedName("Copper_chest").setTextureName("wolvenhour_terraria:copperchest"); copperChest.setMaxStackSize(1); GameRegistry.registerItem(copperChest, "wolvenhour_copperchest"); LanguageRegistry.addName(copperChest, "Copper Chestplate"); ItemStack copperChestStack = new ItemStack(WolvenhourTerraria.copperChest); copperLegs = (new ItemArmor(Config.copperLegsID, copperArmor, ModLoader.addArmor("copper"), 2)).setUnlocalizedName("Copper_legs").setTextureName("wolvenhour_terraria:copperleggings"); copperLegs.setMaxStackSize(1); GameRegistry.registerItem(copperLegs, "wolvenhour_copperlegs"); LanguageRegistry.addName(copperLegs, "Copper Leggings"); ItemStack copperLegsStack = new ItemStack(WolvenhourTerraria.copperLegs); copperBoots = (new ItemArmor(Config.copperBootsID, copperArmor, ModLoader.addArmor("copper"), 3)).setUnlocalizedName("Copper_boots").setTextureName("wolvenhour_terraria:copperboots"); copperBoots.setMaxStackSize(1); GameRegistry.registerItem(copperBoots, "wolvenhour_copperboots"); LanguageRegistry.addName(copperBoots, "Copper Boots"); ItemStack copperBootsStack = new ItemStack(WolvenhourTerraria.copperBoots); //Grid Arrangement GameRegistry.addSmelting(WolvenhourTerraria.copperOre.blockID, copperIngotStack, 0.1f); FurnaceRecipes.smelting().
    addSmelting(WolvenhourTerraria.copperOre.blockID, 0, copperIngotStack, 0.1f); //COPPER STUFF// //copper sword GameRegistry.addRecipe(copperSwordStack, "c", "c", "s", 'c', WolvenhourTerraria.copperIngot, 's', Item.stick ); //copper pickaxe GameRegistry.addRecipe(copperPickaxeStack, "ccc", " s ", " s ", 'c', WolvenhourTerraria.copperIngot, 's', Item.stick ); //copper shovel GameRegistry.addRecipe(copperShovelStack, "c", "s", "s", 'c', WolvenhourTerraria.copperIngot, 's', Item.stick ); //Copper Axe GameRegistry.addRecipe(copperAxeStack, "cc", "sc", "s ", 'c', WolvenhourTerraria.copperIngot, 's', Item.stick ); //Copper Hoe GameRegistry.addRecipe(copperHoeStack, "cc", "s ", "s ", 'c', WolvenhourTerraria.copperIngot, 's', Item.stick ); //Copper Helmet GameRegistry.addRecipe(copperHelmetStack, "ccc", "c c", " ", 'c', WolvenhourTerraria.copperIngot ); //Copper Chestplate GameRegistry.addRecipe(copperChestStack, "c c", "ccc", "ccc", 'c', WolvenhourTerraria.copperIngot ); //Copper Legs GameRegistry.addRecipe(copperLegsStack, "ccc", "c c", "c c", 'c', WolvenhourTerraria.copperIngot ); //Copper Boots GameRegistry.addRecipe(copperBootsStack, " ", "c c", "c c", 'c', WolvenhourTerraria.copperIngot ); //Copper Bricks GameRegistry.addRecipe(copperBricksStack, "cc", "cc", 'c', WolvenhourTerraria.copperIngot ); GameRegistry.addRecipe(oakwoodHammerStack, " l", " s ", "s ", 'l', new ItemStack(Block.planks.blockID, 1, 0), 's', Item.stick); GameRegistry.addRecipe(sprucewoodHammerStack, " l", " s ", "s ", 'l', new ItemStack(Block.planks.blockID, 1, 1), 's', Item.stick); GameRegistry.addRecipe(birchwoodHammerStack, " l", " s ", "s ", 'l', new ItemStack(Block.planks.blockID, 1, 2), 's', Item.stick); GameRegistry.addRecipe(junglewoodHammerStack, " l", " s ", "s ", 'l', new ItemStack(Block.planks.blockID, 1, 3), 's', Item.stick); //END OF COPPER STUFF// } }

    I had my Tags organised very badly..
    Posted in: Modification Development
  • 0

    posted a message on [Error] It's everywhere!
    But I have been learning.. for a few day before I posted this. xD
    Posted in: Modification Development
  • 0

    posted a message on [Error] It's everywhere!
    I am learning.. Telling me to learn won't make me learn it all instantly. ;P I'm being curious about stuff.
    Posted in: Modification Development
  • 0

    posted a message on [Error] It's everywhere!
    I'm not a programmer.. So I have no idea what I'm doing. xD

    I thought the 'randomGen' was a value for 'Randomly Gen in ALL Biomes'
    Posted in: Modification Development
  • To post a comment, please or register a new account.