• 0

    posted a message on [1.4.5][Forge] Container-Based Gui Tutorial
    I keep getting an error in eclipse in what would be the BlockTutorial.java.

    It is under the ".item" (highlighted) and it says "item cannot be resolved or is not a field."

    private void dropItems(World world, int x, int y, int z) {

    Random rand = new Random();
    TileEntity tile_entity = world.getBlockTileEntity(x, y, z);
    if(!(tile_entity instanceof IInventory)) {
    return;
    }
    IInventory inventory = (IInventory) tile_entity;
    for(int i = 0; i < inventory.getSizeInventory(); i++) {

    ItemStack item = inventory.getStackInSlot(i);

    if(item != null && item.stackSize > 0) {

    float rx = rand.nextFloat() * 0.6F + 0.1F;
    float ry = rand.nextFloat() * 0.6F + 0.1F;
    float rz = rand.nextFloat() * 0.6F + 0.1F;

    EntityItem entity_item = new EntityItem(world, x + rx, y + ry, z + rz, new ItemStack(item.itemID, item.stackSize, item.getItemDamage()));

    if(item.hasTagCompound()) {

    entity_item.item.setTagCompound((NBTTagCompound) item.getTagCompound().copy());

    }

    float factor = 0.5F;

    entity_item.motionX = rand.nextGaussian() * factor;
    entity_item.motionY = rand.nextGaussian() * factor + 0.2F;
    entity_item.motionZ = rand.nextGaussian() * factor;
    world.spawnEntityInWorld(entity_item);
    item.stackSize = 0;

    }
    }
    }

    Any help would be appreciated. Thanks.
    Posted in: Tutorials
  • 0

    posted a message on [1.4.4] Hidden Ladders Mod
    Quote from connor_nova

    Just a suggestion, lower the opacity on the ladder textures, so that they blend in a bit better. iPodmail reviewed your mod :P


    Quote from Maxnobr

    recipes don't work (according to the mod spotlight from ipodmail) try that link
    http://www.minecraft...ng_and_Smelting
    or that
    http://wuppy29.blogs...of-recipes.html

    hope it will help.


    I am really sorry about the recipes and the opacity. I fixed and tested each recipe to make sure they work--let me know if otherwise. I will definitely start working on the opacity to make them blend in a little better. Through testing I found that the darker ladders like Jungle and Spruce do blend in quite well, but like you said in your video the stone and other lighter ladders are a little more obvious. I will work on updating the textures as soon as I can.

    Thank you for pointing those things out so I could fix them.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.4.4] Hidden Ladders Mod
    Hidden Ladders

    This mod is a simple, decorative mod that adds ladders for the different blocks in the game. Currently it adds ladders for:

    Stone
    Dirt
    Brick
    Cobblestone
    Sand
    Gravel
    Obsidian
    Oak
    Pine/Spruce
    Jungle
    Birch
    Sandstone
    Pine/Spruce Plank
    Birch Plank
    Jungle Plank

    Pictures:

    Crafting Recipe:


    Replace the two stone blocks with any other two blocks to get that type of ladder.

    All the ladders:





    Installation:

    Requires **FORGE**

    1. Install Forge according to its instructions
    2. Download Hidden Ladders Mod from below
    3. Drag and drop hiddenladders.zip into the mods folder--simple as that!
    4. Run minecraft and enjoy!



    Download:

    Minecraft 1.4.4=> HiddenLadders.zip





    About Me:

    This is my first mod so it is nothing too special. Let me know if you have any ideas for new content or come across anything that I need to fix. Thank You.


    [Copyright]
    This mod is intellectual property of SilentAssassin8 (me). Do not redistribute. I am also not responsible for anything that happens to your computer.
    Posted in: Minecraft Mods
  • To post a comment, please or register a new account.