• 0

    posted a message on Help With Tools
    Quote from lockNload147

    Look at some of the ItemTools in the src for example.

    package net.minecraft.src;
    
    
    // Referenced classes of package net.minecraft.src:
    //            ItemTool, Block, Material, EnumToolMaterial, 
    //            ItemStack
    
    public class ItemAxe extends ItemTool
    {
    
        private static Block blocksEffectiveAgainst[];
    
        protected ItemAxe(int i, EnumToolMaterial enumtoolmaterial)
        {
            super(i, 3, enumtoolmaterial, blocksEffectiveAgainst);
        }
    
        public float getStrVsBlock(ItemStack itemstack, Block block)
        {
            if(block != null && block.blockMaterial == Material.wood)
            {
                return efficiencyOnProperMaterial;
            } else
            {
                return super.getStrVsBlock(itemstack, block);
            }
        }
    
        static 
        {
            blocksEffectiveAgainst = (new Block[] {
                Block.planks, Block.bookShelf, Block.wood, Block.chest, Block.stairDouble, Block.stairSingle, Block.pumpkin, Block.pumpkinLantern
            });
        }
    }


    blocksEffectiveAgainst is an array of blocks that have an effective against. So I would do something like that.


    This sort of works but not really. If a tool is ineffective against a block, that block will not drop. However, the block breaks very slowly.
    Posted in: Modification Development
  • 0

    posted a message on Help With Tools
    Quote from lockNload147

    Are you saying that when you use or right click with item, it will drop an item?


    Heres an example.
    Normally, when I break a dirt block with any tool, I get a dirt block. What I'm asking is if there is a way to get lets say a diamond block with a diamond pick but a dirt block for every other tool.
    Posted in: Modification Development
  • 0

    posted a message on Help With Tools
    Does anyone know of a way to get different tools to drop different items? Thank you.
    Posted in: Modification Development
  • 0

    posted a message on Digital Diamond: Reflection
    The Voxelbox!
    Posted in: Minecraft News
  • 0

    posted a message on 1.8 Strongholds
    Yes. Currently it is just a maze with a library at the end. No chests and not many monsters spawned for me. Hopefully they expand on it.
    Posted in: 1.8 Update Discussion
  • 0

    posted a message on MassiveCraft - Home of the Factions plugin
    === What is your minecraft username? ===
    Nashor
    === What is role playing? ===
    Role playing is a style of game play in which you take on the persona of a completely new person without straying from that role. In role playing, you can be anything or anyone you want.
    === Have you got a medieval fantasy skin for your character? ===
    Yes I do. One might describe it as emo but that is not what was intended when I got the skin. More of a gentlemen type of thing.
    === Describe your role-character (at least three rows of text)===
    Nashor was once referred to as the Baron of Rocky Forest. He is a male human of the age of 32 but left his title to his younger but very intelligent cousin in search of adventure. Nashor hopes to strike rich in the mining industry in the new land and hopefully become a well known and respected member of the lands. He will do this naturally,by being a gentleman who enjoys good cheese and wine.
    === Why should you be accepted? ===
    I should be accepted because I am a nice guy who will always liven up any conversation.
    === Referral(s)? ===
    Gamage
    === Additional Info ===
    I will never ever grief because I physically cannot do so. The guilt is painful to me.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on How To Create a New Colorizer?
    I've tried a number of things but the object always ends up staying black. I've successfully used ColorizerGrass and ColorizerFoliage but can't create my own. Any suggestions?
    Posted in: Mods Discussion
  • 0

    posted a message on How To Fill In A Very Large Pit?
    Oh sorry I wasn't thinking when I made the title. You know what I mean though.
    Posted in: Survival Mode
  • 0

    posted a message on How To Fill In A Very Large Pit?


    It's 2*3 chunks large and I need to find a way to make it look pretty. However, I don't want to fill it up because it took a really long time to make.
    Posted in: Survival Mode
  • 0

    posted a message on The Voxel Box! [Creative] Open to guests!.
    Quote from DobaCrafter

    you have to rank up one rank at a time, from guest you must go to member and member to builder and so on and so forth.

    Anyway even if you could jump even two ranks at a time it would be incredibly unlikely to go to sniper seeing as you have to go through lite sniper training first and before that you must be a builder, and to be a builder you must have either a successful town started or have made significant contributions to the voxel box, and obviously before that you have to be a member.

    Our ranking system is structured in a way where we get both quality assurance and build mutual trust between our staff and members, creating the best experience we could possibly conjure.


    Okay, I'm already a member so I just need to build a town. I'm already experienced in Lite Sniper Training so that should be easy.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on The Voxel Box! [Creative] Open to guests!.
    Is there a way I can apply for a higher rank with an out-of-server build? I'm asking because I made a large landscape using Sniper in my personal server and wanna know if I should bother to continue. I can provide the map if need be.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on The Voxel Box! [Creative] Open to guests!.


    The first building of a town I'm starting. Once I'm done the town, I'll start to build in the server again.
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on The Voxel Box! [Creative] Open to guests!.


    Something I started to work on. Can I get any opinions?
    Posted in: Minecraft Survival Servers (archive)
  • 0

    posted a message on [ORIGINAL][EVENT]Minecraft Hunger Games - Join and Fight! (Not just another Hunger Games Server!) ~ HELP US BUILD APPLY NOW ~
    It's been a long time but if you guys want, I can come in and finish a whole arena in one sitting, as long as you have VoxelSniper installed.
    Posted in: PC Servers
  • To post a comment, please or register a new account.