• 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    Would you happen to know how to add a right-click action to an item? I'm looking to make certain tools do things. I.e. Ender tools launch an Ender pearl and Igneous makes a fire, so on.
    Posted in: Mods Discussion
  • 0

    posted a message on Tinkers Construct
    Quote from digitalgamer1234

    What does 'writable' do?
    I think they could add some more modifiers, perhaps a furnace would give a tool a chance of auto-smelting the item, or a wither skeleton skull would give the weapon/tool a chance to afflict the thing being attacked the wither effect.


    Writable gives the tool an extra modifier. Lava crystal is auto smelt.
    Posted in: Minecraft Mods
  • 0

    posted a message on Tinkers Construct
    Quote from Master_Hill_

    Explosions. That's about it.


    Or, if Extra Utilities is installed, Trash Can. If not, just dig a "Trash Pit" and toss in there and forget all about it. Then it'll despawn.
    Posted in: Minecraft Mods
  • 0

    posted a message on Tinkers' Construct Suggestions
    Add a fish to the Exo-Helmet for either Aqua Affinity or Respiration, dunno which. Sugar to the boots or leggings for Speed, Blaze Powder to any of the armor for Fire Protection, Gunpowder for Blast Protection, Diamonds for Protection, arrows for Projectile Protection, and Cactus for Thorns. Yehehehss, no more random enchants.
    Posted in: Mods Discussion
  • 0

    posted a message on Tinkers Construct
    Yep, if you put in 5 ore then it is intentional. It doubles your ore output.
    Posted in: Minecraft Mods
  • 0

    posted a message on Tinkers Construct
    Quote from NOOBD0G

    does this work for 1.7.2?


    There is a 1.7.2 version, but it's unstable. I added it to a new Forge 1.7.2 Minecraft and it crashes every time.
    Posted in: Minecraft Mods
  • 0

    posted a message on Tinkers Construct
    I may have found a bug. If this has been updated in a newer version, I apologize. The cobblestone from Chisel is not usable for stone tool parts. If this is a bug on Chisel's end, I'll go report it there. I'm using the Attack of the B-Team modpack.
    Posted in: Minecraft Mods
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    Ah, okay, nuther quick question, where does that method go? In the block class or somewhere else?
    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    This is what I've tried, but I get errors on lines 22 and 23.


    package com.moreores.blocks;
    
    import com.moreores.items.MoreOresItems;
    import com.moreores.lib.Strings;
    
    import net.minecraft.block.Block;
    import net.minecraft.block.BlockOre;
    import net.minecraft.block.material.Material;
    import net.minecraft.creativetab.CreativeTabs;
    import net.minecraft.item.Item;
    
    public class CouliteOreBlock extends BlockOre{
    
    public CouliteOreBlock(Material rock) {
    super();
    this.setHarvestLevel("pickaxe", 2);
    this.setBlockName("CouliteOre");
    this.setStepSound(soundTypeStone);
    this.setCreativeTab(CreativeTabs.tabBlock);
    this.setBlockTextureName(Strings.MODID + ":CouliteOre");
    this.setHardness(4.7F);
    this.getItemDropped( 2, Random, 6){
    return MoreOresItems.CouliteShard;
    };
    }
    }

    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    How would I use that? I can see what the code says, but it's kinda confusing and I also have to change it to drop Eyetin Shards and not the ore. Hah, noobs for the win.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    Okay, new question: How would I get a different item to drop for a block and what if I want it to vary how much it would drop? For example, Eyetin ore would drop one to seven Eyetin Shards.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    That helped a lot! My blocks are now all in the game. Thank you!
    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    Quote from AssassinPhantomz

    So how do I need to make it if my main class/modid name is "MoreDiamonds" and my armor material "ReinforcedDiamond"?


    To assign an ArmorMaterial to an item, try this:

    public static Item armorPieceHelmet = new ArmorName(ArmorMaterial,
    MainRegistry.proxy.addArmor("ArmorName"), 0)
    .setUnlocalizedName("ArmorPieceHelmetName")
    .setCreativeTab(CreativeTabs.tabCombat)
    .setTextureName(Strings.MODID + ":armorPieceHelmet");


    I feel like I'm jacking Fire's thread...
    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    Quote from AssassinPhantomz

    I made a forge mod but whenever I try to render the armor on the player it shows up as white leather. Any help ?


    Here's some code I use for rendering armor on the player:

    public class TutArmor extends ItemArmor {
    
    public TutArmor(ArmorMaterial p_i45325_1_, int p_i45325_2_, int p_i45325_3_) {
    super(p_i45325_1_, p_i45325_2_, p_i45325_3_);
    // TODO Auto-generated constructor stub
    }
    
    public String getArmorTexture(ItemStack stack, Entity entity, int slot,
    String type) {
    
    if (stack.getItem() == TMItem.tutHelmet
    || stack.getItem() == TMItem.tutPlate
    || stack.getItem() == TMItem.tutBoots) {
    return Strings.MODID + ":armor/TutArmor1.png";
    } else if (stack.getItem() == TMItem.tutPants) {
    return Strings.MODID + ":armor/TutArmor2.png";
    } else {
    return null;
    }
    }
    }

    Posted in: Mods Discussion
  • 0

    posted a message on Modding FAQ! [1.7.2] [forge]
    My last post may have gotten covered up, it's the last post on the last page. Just tell me if I'm being pesky.
    Posted in: Mods Discussion
  • To post a comment, please .