• 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from Kilyle

    You don't have to install Millenaire with the installer - I didn't (I tried, but failed, so did it the manual way and it worked fine).

    I really like the idea of this mod. Sunstone also sounds cool. Perhaps a magnetic ore could draw items toward you, making it easier to gather them?

    Anyway, the problem for me is the conflicts. On my current build, I just ran out of item sprites and after looking over the data, I'm gonna have to dump this one for now. It's just got too many items, which works well as a solo mod and not so great as a mod paired with other stuff. And the upgrades are just going to get worse.

    Still... it's exciting to see new blocks down there. Would you be willing to make a pared-down version of this mod, with just a few new ores/gems and where you can't make everything out of everything? Specifically, this is what I'm thinking after reading over the list again:

    Copper, Silver, Emerald, Ruby, Sapphire, and Amethyst. (I love Vectrite but in paring down the list I think it's got to go.) You can't make substandard equipment (so no Ruby armor, no Sapphire tools, no Amethyst swords)... that ought to free up some slots. I count 6 new blocks, 6 ores/gems, and 44 items for a total of 56. That's not stellar but it's much better than the whole mod, which has more than 100. And it provides a decent variety.

    I may not be able to make it work with 100% of my other mods, but cut out half the items and it's gotta be easier to fit in. (I would ask for a customizable version, where you just check which things you want to import into the game, but I'm pretty sure that would be difficult to impossible to set up.)

    Also: I would love to see this mod also kill wooden tools, if that's possible. Specifically, replace them with improvised Flint Tools, made in the 2x2 inventory crafting grid: Hatchet, Spade, Hand Axe, Dagger. Maybe the wooden hoe can stay as is (requiring a crafting table), only made with a Flint head. And either make foliage drop Sticks as well as Saplings (my preference), or make it possible to craft 2 Saplings into a Stick. This is a tiny part of a much more extensive 2x2 crafting mod I've seen, and the idea fits right in with yours and, for me, makes the game more realistic in the very beginning.

    IAnon recommended me to port it to Minecraft Forge, meaning unlimited item sprites. Will that work for you?
    Posted in: Minecraft Mods
  • 0

    posted a message on [ModLoader] StrongJoshua's Advanced Tutorials(25/09/11)
    I'm creating a furnace with two inputs and one output:

    Error:
    User2-iMac:mcp44 user2$ bash recompile.sh
    == MCP v4.4 ==
    > Recompiling client...
    javac -g -source 1.6 -target 1.6 -classpath "lib/:lib/*:jars/bin/minecraft.jar:jars/bin/jinput.jar:jars/bin/lwjgl.jar:jars/bin/lwjgl_util.jar" -sourcepath src/minecraft -d bin/minecraft src/minecraft/net/minecraft/client/*.java src/minecraft/net/minecraft/isom/*.java src/minecraft/net/minecraft/src/*.java  conf/patches/*.java failed.
    Return code : 1
    
    == ERRORS FOUND ==
    
    src/minecraft/net/minecraft/src/TileEntityBlast.java:3: net.minecraft.src.TileEntityBlast is not abstract and does not override abstract method func_35141_y_() in net.minecraft.src.IInventory
    public class TileEntityBlast extends TileEntity
    ^
    
    src/minecraft/net/minecraft/src/TileEntityBlast.java:72: cannot find symbol
    symbol  : method loadItemStackFromNBT(net.minecraft.src.NBTTagCompound)
    location: class net.minecraft.src.ItemStack
    blastItemStacks[byte0] = ItemStack.loadItemStackFromNBT(nbttagcompound1);
    ^
    
    2 errors
    ==================
    
    > Done in 12.34 seconds
    > Recompiling server...
    !! Can not find server sources !!
    User2-iMac:mcp44 user2$ 

    TileEntityBlast:
    package net.minecraft.src;
    
    public class TileEntityBlast extends TileEntity
        implements IInventory
    {
    
        public TileEntityBlast()
        {
            blastItemStacks = new ItemStack[4];
            blastBurnTime = 0;
            currentItemBurnTime = 0;
            blastCookTime = 0;
        }
    
        public int getSizeInventory()
        {
            return blastItemStacks.length;
        }
    
        public ItemStack getStackInSlot(int i)
        {
            return blastItemStacks[i];
        }
    
        public ItemStack decrStackSize(int i, int j)
        {
            if(blastItemStacks[i] != null)
            {
                if(blastItemStacks[i].stackSize <= j)
                {
                    ItemStack itemstack = blastItemStacks[i];
                    blastItemStacks[i] = null;
                    return itemstack;
                }
                ItemStack itemstack1 = blastItemStacks[i].splitStack(j);
                if(blastItemStacks[i].stackSize == 0)
                {
                    blastItemStacks[i] = null;
                }
                return itemstack1;
            } else
            {
                return null;
            }
        }
    
        public void setInventorySlotContents(int i, ItemStack itemstack)
        {
            blastItemStacks[i] = itemstack;
            if(itemstack != null && itemstack.stackSize > getInventoryStackLimit())
            {
                itemstack.stackSize = getInventoryStackLimit();
            }
        }
    
        public String getInvName()
        {
            return "Blast";
        }
    
        public void readFromNBT(NBTTagCompound nbttagcompound)
        {
            super.readFromNBT(nbttagcompound);
            NBTTagList nbttaglist = nbttagcompound.getTagList("Items");
            blastItemStacks = new ItemStack[getSizeInventory()];
            for(int i = 0; i < nbttaglist.tagCount(); i++)
            {
                NBTTagCompound nbttagcompound1 = (NBTTagCompound)nbttaglist.tagAt(i);
                byte byte0 = nbttagcompound1.getByte("Slot");
                if(byte0 >= 0 && byte0 < blastItemStacks.length)
                {
                    blastItemStacks[byte0] = ItemStack.loadItemStackFromNBT(nbttagcompound1);
                }
            }
    
            blastBurnTime = nbttagcompound.getShort("BurnTime");
            blastCookTime = nbttagcompound.getShort("CookTime");
            currentItemBurnTime = getItemBurnTime(blastItemStacks[1]);
        }
    
        public void writeToNBT(NBTTagCompound nbttagcompound)
        {
            super.writeToNBT(nbttagcompound);
            nbttagcompound.setShort("BurnTime", (short)blastBurnTime);
            nbttagcompound.setShort("CookTime", (short)blastCookTime);
            NBTTagList nbttaglist = new NBTTagList();
            for(int i = 0; i < blastItemStacks.length; i++)
            {
                if(blastItemStacks[i] != null)
                {
                    NBTTagCompound nbttagcompound1 = new NBTTagCompound();
                    nbttagcompound1.setByte("Slot", (byte)i);
                    blastItemStacks[i].writeToNBT(nbttagcompound1);
                    nbttaglist.setTag(nbttagcompound1);
                }
            }
    
            nbttagcompound.setTag("Items", nbttaglist);
        }
    
        public int getInventoryStackLimit()
        {
            return 64;
        }
    
        public int getCookProgressScaled(int i)
        {
            return (blastCookTime * i) / 200;
        }
    
        public int getBurnTimeRemainingScaled(int i)
        {
            if(currentItemBurnTime == 0)
            {
                currentItemBurnTime = 200;
            }
            return (blastBurnTime * i) / currentItemBurnTime;
        }
    
        public boolean isBurning()
        {
            return blastBurnTime > 0;
        }
    
        public void updateEntity()
        {
            boolean flag = blastBurnTime > 0;
            boolean flag1 = false;
            if(blastBurnTime > 0)
            {
                blastBurnTime--;
            }
            if(!worldObj.multiplayerWorld)
            {
                if(blastBurnTime == 0 && canSmelt())
                {
                    currentItemBurnTime = blastBurnTime = getItemBurnTime(blastItemStacks[2]);
                    if(blastBurnTime > 0)
                    {
                        flag1 = true;
                        if(blastItemStacks[2] != null)
                        {
                            if(blastItemStacks[2].getItem().hasContainerItem())
                            {
                                blastItemStacks[2] = new ItemStack(blastItemStacks[2].getItem().getContainerItem());
                            } else
                            {
                                blastItemStacks[2].stackSize--;
                            }
                            if(blastItemStacks[2].stackSize == 0)
                            {
                                blastItemStacks[2] = null;
                            }
                        }
                    }
                }
                if(isBurning() && canSmelt())
                {
                    blastCookTime++;
                    if(blastCookTime == 800)
                    {
                        blastCookTime = 0;
                        smeltItem();
                        flag1 = true;
                    }
                } else
                {
                    blastCookTime = 0;
                }
                if(flag != (blastBurnTime > 0))
                {
                    flag1 = true;
                    BlockBlast.updateBlastBlockState(blastBurnTime > 0, worldObj, xCoord, yCoord, zCoord);
                }
            }
            if(flag1)
            {
                onInventoryChanged();
            }
        }
    
        private boolean canSmelt()
        {
            if(blastItemStacks[0]== null || blastItemStacks[1]== null)
            {
    			//System.out.println("NO INPUT");
                return false;
            }
            ItemStack itemstack = BlastRecipes.getSmeltingResult(blastItemStacks[0].getItem().shiftedIndex, blastItemStacks[1].getItem().shiftedIndex);
            if(itemstack == null)
            {	
    			//System.out.println("NO RECIPE");
                return false;
            }
            if(blastItemStacks[3] == null)
            {
                return true;
            }
    		//System.out.println("NO SPACE");
            if(!blastItemStacks[3].isItemEqual(itemstack))
            {
    			//System.out.println("WRONG PRODUCT");
                return false;
            }
            if(blastItemStacks[3].stackSize < getInventoryStackLimit() && blastItemStacks[3].stackSize < blastItemStacks[3].getMaxStackSize())
            {
                return true;
            }
            return blastItemStacks[3].stackSize < itemstack.getMaxStackSize();
        }
    
        public void smeltItem()
        {
            if(!canSmelt())
            {
                return;
            }
            ItemStack itemstack = BlastRecipes.getSmeltingResult(blastItemStacks[0].getItem().shiftedIndex, blastItemStacks[1].getItem().shiftedIndex);
            if(blastItemStacks[3] == null)
            {
                blastItemStacks[3] = itemstack.copy();
            }
    		else if(blastItemStacks[3].itemID == itemstack.itemID)
            {
                blastItemStacks[3].stackSize++;
            }
    		for(int i = 0; i < 2; i++)
    		{
    			if(blastItemStacks[i].getItem().hasContainerItem())
    			{
    				blastItemStacks[i] = new ItemStack(blastItemStacks[i].getItem().getContainerItem());
    			}
    			else
    			{
    				blastItemStacks[i].stackSize--;
    			}
    			if(blastItemStacks[i].stackSize <= 0)
    			{
    				blastItemStacks[i] = null;
    			}
    		}
        }
    
        private int getItemBurnTime(ItemStack itemstack)
        {
            if(itemstack == null)
            {
                return 0;
            }
            int i = itemstack.getItem().shiftedIndex;
            if(i == mod_XtraOres.Solcitei.shiftedIndex)
            {
                return 100;
            }
    		return ModLoader.AddAllFuel(i, itemstack.getItemDamage());
        }
    
    	public boolean canInteractWith(EntityPlayer entityplayer)
    	{
    		if(worldObj.getBlockTileEntity(xCoord, yCoord, zCoord) != this)
    		{
    			return false;
    		}
    		return entityplayer.getDistanceSq((double)xCoord + 0.5D, (double)yCoord + 0.5D, (double)zCoord + 0.5D) <= 64D;
        }
    
        public void openChest()
        {
        }
    
        public void closeChest()
        {
        }
    
        private ItemStack blastItemStacks[];
        public int blastBurnTime;
        public int currentItemBurnTime;
        public int blastCookTime;
    
    }
    Posted in: Tutorials
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from Moosewings

    I remember in the previous version you could mine obsidian, redstone, and spawners much more quickly, but you can't in the current version. Are you planning on bringing back this feature or not? I found it very useful. I also found a bug. You can mine just about any of the new ores with a wooden pickaxe.

    Weird... Maybe the harvesting levels Scookev9 put up were changed recently?

    Edit: I checked wood's harvesting level, its 0. I set all the ores' required harvest level to 1+.
    Posted in: Minecraft Mods
  • 0

    posted a message on [API] Minecraft Forge
    Do we need to add any code to our mod to make it compatible?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from macbeatnik

    I mined amethyst with a cobalt pick and i didn't have the level up! mod.

    Do you have the newest version?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from I

    Any mod that has more ores is good. This one is awesome just because it has an ore named "Rarium".

    Thought of that myself :smile.gif:.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from IAnon

    yes no?

    Blocks 150 - 169
    Items 23000 - 23090's

    Sorry, I really don't feel like listing all the specifics :smile.gif:.
    Posted in: Minecraft Mods
  • 0

    posted a message on Dragons!
    Do you know how much this could ruin your house?!?!?!?!?
    Posted in: Minecraft News
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from Layzier

    Very nice mod :biggrin.gif:

    You should add mythril, and the armor gives lot of defence since it's like dwarf armor :tongue.gif:

    And sunstone! can't be made into armor, but maybe an amulet or something that lights up anywhere you go. Rarer than diamond.

    Keep up the good work <3

    I'm making a "Miner's Helmet" in [v3.0] that will light up the area around you...
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from Potato_X_Ing

    I have a problem, I can mine Amethyst with a Copper Pickaxe, I do have the Level Up! mod but I have no skill in mining what so ever, So im not sure if its the Level Up! mod or this.

    Do you have the lastest version?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from marcdaman

    Is this usable for 1.9 pre-release 3? just wondering before I download...

    Haven't tried myself...
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from mwguy1999

    And btw Arkidillo, I made a thread on the Yogiverse so hopefully Simon and Lewis see it and we get you some more downloads :wink.gif:

    Thanks :smile.gif:. Can you send me a link?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from IAnon

    I would make over 1000 accounts to thank you and +rep for you but I cant :/. This is awesome I wanted something like that that actually makes sense unlike all the other ones. Your awesome! <3 no homo

    Thanks for supporting me :biggrin.gif:.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from rico657

    So when i used to play this mossine would drop amethyst helmets... why and did you fix this?

    Download the newest version :smile.gif:.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.8.1] Xtra Ores Mod [v2.9]
    Quote from Arkidillo

    I haven't tried myself, but that is the only thing that might conflict with Xtra Ores.

    Try not deleting armor folder inside the MoreCreepsAndWeirdos folder.

    If this doesn't work, it could be ID conflicts.
    Posted in: Minecraft Mods
  • To post a comment, please .