• 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from TizNarniaz2

    I have a problem. Game crashes with my new test ore.

    (ignore the ores/materials that come with the thing)

    Ore/Material: Test/TEST

    Heres: newMaterials.xml:

    <?xml version="1.0"?>
    <newMaterials>
    <configs>
    <startindex>5</startindex>
    </configs>
    <materials>
    <newmaterial>
    <name>OPAL</name>
    <harvestlevel>2</harvestlevel>
    <maxuses>340</maxuses>
    <efficiency>5F</efficiency>
    <damage>2</damage>
    </newmaterial>
    <newmaterial>
    <name>AQUARIUS</name>
    <harvestlevel>1</harvestlevel>
    <maxuses>145</maxuses>
    <efficiency>3.5F</efficiency>
    <damage>1</damage>
    </newmaterial>
    <newmaterial>
    <name>TEST</name>
    <harvestlevel>4</harvestlevel>
    <maxuses> 400</maxuses>
    <efficiency>6.9F</efficiency>
    <damage>5</damage>
    </newmaterial>
    </materials>
    </newMaterials>

    Heres: newOres.xml:

    <?xml version="1.0"?>
    <newOres>
    <configs>
    <blockstartindex>200</blockstartindex>
    <itemstartindex>5000</itemstartindex>
    </configs>
    <ores>
    <newore>
    <name>Aquarius</name>
    <metal>true</metal>
    <doeffectonhit>true</doeffectonhit>
    <spawninworld>true</spawninworld>
    <fall>false</fall>
    <toolset>true</toolset>
    <maxheight>128</maxheight>
    <maxingroup>10</maxingroup>
    <maxtries>10</maxtries>
    <mindropped>1</mindropped>
    <maxdropped>1</maxdropped>
    <lightemitted>0.625F</lightemitted>
    <hardness>3F</hardness>
    <particletype>splash</particletype>
    <material>AQUARIUS</material>
    </newore>
    <newore>
    <name>Opal</name>
    <metal>false</metal>
    <doeffectonhit>false</doeffectonhit>
    <spawninworld>true</spawninworld>
    <fall>true</fall>
    <toolset>true</toolset>
    <maxheight>64</maxheight>
    <maxingroup>10</maxingroup>
    <maxtries>8</maxtries>
    <mindropped>1</mindropped>
    <maxdropped>5</maxdropped>
    <lightemitted>0F</lightemitted>
    <hardness>1F</hardness>
    <particletype>splash</particletype>
    <material>OPAL</material>
    </newore>
    <newore>
    <name>Test</name>
    <metal>false</name>
    <doeffectonhit>false</doeffectonhit>
    <spawninworld>true</spawninworld>
    <fall>true</fall>
    <toolset>true</toolset>
    <maxheight>64</maxheight
    <maxingroup>5</maxingroup>
    <maxtries>8</maxtries>
    <mindropped>1</mindropped>
    <maxdropped>2</maxdropped>
    <lightemitted>0.7</lightemitted>
    <hardness>1F</hardness>
    <particletype>splash</particletype>
    <material>TEST</material>
    </newore<
    </ores>
    </newOres>

    Please Help,

    TizNarniaz2

    My error report is: I can't really get time to see it but it just says it is addOres is not installed and I deleted the META~INF.

    Edit:
    I found the error report! error report:
    java.lang.NumberFormatException: For input string: " 400"
    at java.lang.NumberFormatException.forInputString(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at java.lang.Integer.parseInt(Unknown Source)
    at AddOres_newMaterials.toInt(AddOres_newMaterials.java:37)
    at AddOres_newMaterials.readModFile(AddOres_newMaterials.java:27)
    at AddOres_newMaterials.<init>(AddOres_newMaterials.java:18)
    at mod_LoadAddOres.<init>(mod_LoadAddOres.java:9)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at ModLoader.addMod(ModLoader.java:272)
    at ModLoader.readFromClassPath(ModLoader.java:1104)
    at ModLoader.init(ModLoader.java:812)
    at ModLoader.AddAllRenderers(ModLoader.java:183)
    at th.<init>(th.java:60)
    at th.<clinit>(th.java:9)
    at net.minecraft.client.Minecraft.a(SourceFile:318)
    at net.minecraft.client.Minecraft.run(SourceFile:716)
    at java.lang.Thread.run(Unknown Source)


    You have a space before the 400, you need to delete it.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from Zekermei

    New Ores:
      <?xml version="1.0" ?> 
    - <newOres>
    - <configs>
      <blockstartindex>200</blockstartindex> 
      <itemstartindex>5000</itemstartindex> 
      </configs>
    - <ores>
    - <newore>
      <name>Aquarius</name> 
      <metal>true</metal> 
      <doeffectonhit>true</doeffectonhit> 
      <spawninworld>true</spawninworld> 
      <fall>false</fall> 
      <toolset>true</toolset> 
      <maxheight>128</maxheight> 
      <maxingroup>10</maxingroup> 
      <maxtries>10</maxtries> 
      <mindropped>1</mindropped> 
      <maxdropped>1</maxdropped> 
      <lightemitted>0.625F</lightemitted> 
      <hardness>3F</hardness> 
      <particletype>splash</particletype> 
      <material>AQUARIUS</material> 
      </newore>
    - <newore>
      <name>Solid Water</name> 
      <metal>false</metal> 
      <doeffectonhit>true</doeffectonhit> 
      <spawninworld>true</spawninworld> 
      <fall>false</fall> 
      <toolset>false</toolset> 
      <maxheight>128</maxheight> 
      <maxingroup>10</maxingroup> 
      <maxtries>10</maxtries> 
      <mindropped>1</mindropped> 
      <maxdropped>1</maxdropped> 
      <lightemitted>0.625F</lightemitted> 
      <hardness>3F</hardness> 
      <particletype>splash</particletype> 
      <material>SOLIDWATER</material> 
      </newore>
    - <newore>
      <name>Opal</name> 
      <metal>false</metal> 
      <doeffectonhit>false</doeffectonhit> 
      <spawninworld>true</spawninworld> 
      <fall>true</fall> 
      <toolset>true</toolset> 
      <maxheight>64</maxheight> 
      <maxingroup>10</maxingroup> 
      <maxtries>8</maxtries> 
      <mindropped>1</mindropped> 
      <maxdropped>5</maxdropped> 
      <lightemitted>0F</lightemitted> 
      <hardness>1F</hardness> 
      <particletype>splash</particletype> 
      <material>OPAL</material> 
      </newore>
      </ores>
      </newOres>


    New Materials:
      <?xml version="1.0" ?> 
    - <newMaterials>
    - <configs>
      <startindex>5</startindex> 
      </configs>
    - <materials>
    - <newmaterial>
      <name>OPAL</name> 
      <harvestlevel>2</harvestlevel> 
      <maxuses>340</maxuses> 
      <efficiency>5F</efficiency> 
      <damage>2</damage> 
      </newmaterial>
    - <newmaterial>
      <name>SOLIDWATER</name> 
      <harvestlevel>2</harvestlevel> 
      <maxuses>340</maxuses> 
      <efficiency>5F</efficiency> 
      <damage>3</damage> 
      </newmaterial>
    - <newmaterial>
      <name>AQUARIUS</name> 
      <harvestlevel>1</harvestlevel> 
      <maxuses>145</maxuses> 
      <efficiency>3.5F</efficiency> 
      <damage>1</damage> 
      </newmaterial>
      </materials>
      </newMaterials>


    Minecraft refuses to load it.
    What do?


    What error do you get?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from spikeof2010

    Minecraft is crashing when I run

    You have all the .png inside minecraft JAR?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from spikeof2010

    I just put this at the end.
        <newore>
                            <name>Spikite</name>
                            <metal>false</metal>
                            <doeffectonhit>false</doeffectonhit>
                            <spawninworld>true</spawninworld>
                            <fall>false</fall>
                            <toolset>true</toolset>
                            <maxheight>64</maxheight>
                            <maxingroup>14</maxingroup>
                            <maxtries>8</maxtries>
                            <mindropped>1</mindropped>
                            <maxdropped>3</maxdropped>
                            <lightemitted>0F</lightemitted>
                            <hardness>1F</hardness>
                            <particletype>splash</particletype>
                            <material>SPIKITE</material>
                    </newore>

    The newore is in the right place, forums messed it up >_>
    Anything wrong?


    Not anything I see from a quick scan. Why?
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from spikeof2010

    What am I doing wrong?
    <?xml version="1.0"?>
    <newOres>
    	<configs>
    		<blockstartindex>200</blockstartindex>
    		<itemstartindex>5000</itemstartindex>
    	</configs>
    	<ores>
    		<newore>
    			<name>Aquarius</name>
    			<metal>true</metal>
    			<doeffectonhit>true</doeffectonhit>
    			<spawninworld>true</spawninworld>
    			<fall>false</fall>
    			<toolset>true</toolset>
    			<maxheight>128</maxheight>
    			<maxingroup>10</maxingroup>
    			<maxtries>10</maxtries>
    			<mindropped>1</mindropped>
    			<maxdropped>1</maxdropped>
    			<lightemitted>0.625F</lightemitted>
    			<hardness>3F</hardness>
    			<particletype>splash</particletype>
    			<material>AQUARIUS</material>
    		</newore>
    		<newore>
    			<name>Opal</name>
    			<metal>false</metal>
    			<doeffectonhit>false</doeffectonhit>
    			<spawninworld>true</spawninworld>
    			<fall>true</fall>
    			<toolset>true</toolset>
    			<maxheight>64</maxheight>
    			<maxingroup>10</maxingroup>
    			<maxtries>8</maxtries>
    			<mindropped>1</mindropped>
    			<maxdropped>5</maxdropped>
    			<lightemitted>0F</lightemitted>
    			<hardness>1F</hardness>
    			<particletype>splash</particletype>
    			<material>OPAL</material>
    		</newore>
    		<newore>
    			<name>Spikite</name>
    			<metal>false</metal>
    			<doeffectonhit>false</doeffectonhit>
    			<spawninworld>true</spawninworld>
    			<fall>false</fall>
    			<toolset>true</toolset>
    			<maxheight>64</maxheight>
    			<maxingroup>14</maxingroup>
    			<maxtries>8</maxtries>
    			<mindropped>1</mindropped>
    			<maxdropped>3</maxdropped>
    			<lightemitted>0F</lightemitted>
    			<hardness>1F</hardness>
    			<particletype>splash</particletype>
    			<material>SPIKITE</material>
    		</newore>
    	</ores>
    </newOres>


    Also, I don't know how to make it collapsable. :unsure.gif:


    User spoiler tags.

    And whats the problem with your new ore? Collapsable = fall btw
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from electroduck

    I tried the new version and got the same error as before. What does this error mean and why am I getting it?

    Post your XML
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from Stungun

    Only problem is, now, I get saving chunks errors when the mod tries to populate a new chunk... and ModLoader still says it's version 1.3.

    Forgot to change version :/

    Oh well.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]

    good, you fixed the chunks error when you try to mine any new metal, what caused it?

    For some reason, it was trying to get a random integer from a negative number. Idk why.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    1.4 released
    Fixes chunk saving error
    Fixed condensed block name
    Fixed condensed block drop


    Download 1.4 (No Source)
    Download 1.4 Source Files
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Fixed the error, I'll post the fix in a minute
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from Stungun

    I like what you've added, this mod is well on its way to becoming a mod that'll allow you to produce just about any kind of block you want. It could EASILY expand into making more than just metal ores and gems! Don't feel no pressure, but I just want you to hear my ideas, and maybe they'll give you some inspiration:

    Defining what type of block an ore can appear in. So for example, you might want to make an ore that can be found in sand or dirt, or a Nether ore that can be found in Netherrack. Or possibly even another ore you've created previously with this mod.

    I would reccomend such a field being allowed to accept either a BlockID (83, 212, etc.), a constant that stands for one of the Vanilla Minecraft blocks (obsidian, stone, mossstone, dirt, sand, sandstone, netherrack, soulsand, etc.), or the name of one of your previously defined ores in the list (Opal, Magmite, Jade, Silver, AwesomeOre, whatever you've made).

    And then another idea could be to make two more drop types: "roughrock", which would give you a different placeable block that can be used for tools (if tools are accepted), and disables Condensed blocks. If you stick that block in the furnace, you get the "ore" block back (which itself can't be smelted. In this way it would behave like Stone/Cobblestone. And then, "nosmelt", which would just give you the placeable ore block that can't be smelted, but can be used directly in crafting recipies if tools are enabled.

    Then perhaps a 'cluster' flag that makes the ore generate in clusters (like dirt does in the middle of stone) instead of veins. Maybe even an 'effectivetool' field that would define what tool is effective at breaking the block (axe, shovel, pick, nothing). Also, a 'blastproof' field, which allows you to define the blast resistance of a block (might need a separate value for raw ore and condensed block).

    Basically, these additions would allow you to make practically any type of block, reproducing most of the natural terrain blocks in Minecraft. You could make ores hidden in dirt, you could make many different colors and variety of stones (like the ones found in the Mystic Modpack) with differing hardness... and even better, you could make Nether-specific ores! Heck, you could even make ores that appear in the middle of lava or lakes, as crazy as it sounds. Or small veins of ore appearing in larger clusters of specific rock.

    Maybe even an oredamage and blockdamage which makes the ore/condensed block damage entities that touch it, like cactus does (but with a variable damage value).

    Also I reccomend clarifying whether fields can be safely deleted from the XML file if they're not applicable. (For example, can you get rid of the lightemitted if doeffectonhit is false? If not, I would reccomend making it so that you can omit these values, or that omitted values will be given a default value.)

    Again, no pressure. I just think this mod has a TON of potential, and if it was possible to expand this to include these features, the number of possibilities would approach infinity.

    EDIT: BUGS.

    The ore blocks are called "X of Block" (where X is the item name), shouldn't it just be "X Block"? Also, whenever you break a condensed block with the pick, it drops a random amount of condensed blocks (probably the same amount of blocks as the ore block drops ores), allowing you to multiply your ore by dropping and mining the blocks.

    Also, ingots still aren't working for me. I can get gems which have toolset set to true to work, but ingots with toolset set to true still won't make tools... If it matters, the ingots were smelted back when I had v1.1, but that shouldn't make a difference.


    The ingots don't work because the ones you currently have have a damage of 1, you gotta drop em :/

    Thanks for the suggestions, will try to use as many as possible!


    EDIT: I can confirm the error on dropping Aquarius, fixing right now.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from thekillman

    i just downloaded the new file.

    i get an identical error. i create a new world (this time it does work properly BTW). i can touch it with a pickaxe, so definitely an improvement. but now, oh fun, when i break the block the game crashes.


    it's getting better, but it obviously doesn't work for us as well as it does for you. it almost seems like some file is missing.


    EDIT:

    a little bit more detail.

    OPAL works. it is destroyed correctly and drops the correct material.

    Aquarius is broken. the game crashes upon breaking the block, and while i can craft a compressed block, breaking it causes a Saving Chunks.


    i'll do more attempts and i'll see how crafting and tool-using goes, as well as wheter adding my own gem block works


    Let me take a look at it, I might have missed something in my zip, was really tired when packing.
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Finished 1.3, working on a VB application to edit XMLs easier with less chance of error!
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    I'll put in some psds of the ores and blocks.

    The process is going to be much easier after 1.3, fixing most errors too. I'm creating a program in VB.net that will let you make new ores by simply filling in fields.

    The new one will have a fix for the Saving error too :smile.gif:
    Posted in: Minecraft Mods
  • 0

    posted a message on [1.7.3] [v1.4] AddOres - Anyone can add new ores! [Open Source Modloader Plugin]
    Quote from MiningLikeABoss

    What would be amazing is if this were a program, drops boxes,all that stuff, it would make it so much easier.

    What do you mean? o.o
    Posted in: Minecraft Mods
  • To post a comment, please .