• 0

    posted a message on Smoke effect
    I have a sword that heals on right click. How can you set entities on Right Click? I took this code from wolves

    void showHeartsOrSmokeFX(boolean flag)
        {
            String s = "heart";
            if(!flag)
            {
                s = "smoke";
            }
            for(int i = 0; i < 7; i++)
            {
                double d = rand.nextGaussian() * 0.02D;
                double d1 = rand.nextGaussian() * 0.02D;
                double d2 = rand.nextGaussian() * 0.02D;
                worldObj.spawnParticle(s, (posX + (double)(rand.nextFloat() * width * 2.0F)) - (double)width, posY + 0.5D + (double)(rand.nextFloat() * height), (posZ + (double)(rand.nextFloat() * width * 2.0F)) - (double)width, d, d1, d2);
            }
    
        }


    I've tried adding it to

       public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)


    but it didn't work, anyone know how to add it?

    Thanks,
    Muserae
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    Just use a space

    "pOp"
    " O "
    Posted in: Mods Discussion
  • 0

    posted a message on How do you make a mod pack?
    You need permission from each of the mod makers, if you get their permission you just drag all the files into 1 folder, then compress it as a zip.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    Ya
    Posted in: Mods Discussion
  • 0

    posted a message on Making a custom Block Model
    Quote from Kegan187

    Alright, Ill try that. I wasnt going to before because I thought Techne was built for only making Models for mobs, not blocks. Thanks


    I thought the same, but ColaCraft used techne for the vending machines.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    Try lowercasing the P's in pick in dragonitepickaxe

    and in Enum, forgot to do this part
    delete the ; after the GOLD one and replace it for a ,
    and keep the ; after the DRAGONITE one

    and, no, it should be in mod_whatever, not ItemPickaxe. You shouldn't have to change ItemPickaxe at all
    Posted in: Mods Discussion
  • 0

    posted a message on Making a custom Block Model
    You can make the block in Techne, when you finish export as java, don't know what else you do after that. You might be able to figure it out since you were looking at the other items.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    Quote from QuantumMonkey

    Yes, actually.

    I have made my block only able to be broken by a pickaxe, and I have a pickaxe item, but I don't know how to let it know that it is a pickaxe. Any way to mess with the strength and usage of the pickaxe aswell?


    mod_whatever
    dragonitepick = new ItemPickaxe(1000, EnumToolMaterial.DRAGONITE).setItemName("dragonitepick");


    You'll have to edit EnumToolMaterial aswell

    this is already there
    public enum EnumToolMaterial
    {
        WOOD("WOOD", 0, 0, 59, 2.0F, 0),
        STONE("STONE", 1, 1, 131, 4F, 1),
        IRON("IRON", 2, 2, 250, 6F, 2),
        EMERALD("EMERALD", 3, 3, 1561, 8F, 3),
        GOLD("GOLD", 4, 0, 32, 12F, 0);


    You want this
    public enum EnumToolMaterial
    {
        WOOD("WOOD", 0, 0, 59, 2.0F, 0),
        STONE("STONE", 1, 1, 131, 4F, 1),
        IRON("IRON", 2, 2, 250, 6F, 2),
        EMERALD("EMERALD", 3, 3, 1561, 8F, 3),
        GOLD("GOLD", 4, 0, 32, 12F, 0);
        DRAGONITE("DRAGONITE", 5, _, _, _F, _);


    Replace the _ with numbers, the variables mean this, in order, after the 5
        private final int harvestLevel;
        private final int maxUses;
        private final float efficiencyOnProperMaterial;
        private final int damageVsEntity;
    Posted in: Mods Discussion
  • 0

    posted a message on How do I change my water color?
    You want to take the water in the bottom right corner of terrain.png and move it over to the other one in the same spot.

    If there's separate files in the texture .rar called I think custom_water_flowing.png or smoething like that, delete/replace those too.
    Posted in: Mods Discussion
  • 0

    posted a message on [WIP] [Coming Soon] Staraptor737's Bluestone Mod!
    The redstone WIRE is in terrain.png, it's to the right of the unpowered power rail. It's white, not red. Near the left middle.
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    I love you, homo :wink.gif:

    :tongue.gif:

    Anything else you need help with?
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    On mod_whatever (for your item)
    Add

    public static Item dragoniteIngot;


    right before the last }

    then in your recipe, instead of Item.dragoniteIngot, you want

    mod_whatever.dragoniteIngot
    Posted in: Mods Discussion
  • 0

    posted a message on [SOLVED] My modded ore I made spawns way too much.
    I need to see ItemPickaxe now
    Posted in: Mods Discussion
  • 0

    posted a message on [Art Team] Angry Notch - HELP WANTED!
    I have a treat for you guys :smile.gif:
    I really like your guys's work, and I need tons of textures.
    You will of course receive credit, link to this thread, and probably more texture requests from me later on :smile.gif:

    I need the following for my Healing+ mod:
    All of these should be 16x16

    Who You Want To Do The Pixel Art:Whoever has the time and can make items and 1 block
    What Type: Items
    How Long You Would Like It To Take: Whenever you're free
    What's Your Mod About:Ways to heal
    Do you want a link to the file or can you take out the bg yourself: Whichever you choose
    Any Other Info:Items below

    Pumpkin Slice       (Slices of pumpkin)
    Plain Pizza         (I was thinking a full pizza with nothing on it)
    Raw Anchovy Pizza   (full pizza with fish on it)
    Raw Cheese Pizza    (full pizza with cheese on it)
    Raw Meat Pizza      (full pizza with pepperoni on it) 
    Medical Herb        (herb with red tips)
    Magic Herb          (herb with light blue tips)
    Healing Block       (block that looks like it would heal you :tongue.gif:)
    Small Herb Ball     (Ball with red and light blue specs)
    Big Herb Ball       (Bigger ball with red and blue specs)
    Enchanted Gem       (Gem, any color, I was thinking redish blue)
    Enchanted Wood Sword      (Wood sword with an enchanted gem in it)
    Enchanted Iron Sword      (Same as above, only iron)
    Enchanted Gold Sword      (Same as above, only gold)
    Enchanted Diamond Sword   (Same as above, only Diamond)
    Enchanted Stone Sword     (Same as above, only Stone)


    Thanks,
    Muserae
    Posted in: Mods Discussion
  • 0

    posted a message on Modding Help?
    Quote from QuantumMonkey

    Aha yeah, I'm like you. I picked up Japanese really easily because it was interesting, but I failed other classes in school because they were boring.

    Also, THANKS, the last link worked perfectly, and I have a new block! You're the best, man! :biggrin.gif:


    Thank you, if you need anything else, I'm here :tongue.gif:
    Posted in: Mods Discussion
  • To post a comment, please .