Lostone's Minimods Flatworld and ironReedmod

This forum is for anything that doesn't specifically have to do with Better Than Wolves
Post Reply
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Lostone's Minimods Flatworld and ironReedmod

Post by lostone1993 »

Background
Spoiler
Show
Ok to put things simple I talked about an idea for a mod a couple of months ago but recently I decide to make it, felt bored :)
At the moment it is just base class edits and I am learning to make it modloader compatible but it is in state where it can be used :)
there is a bit of work to do still mostly I need to learn how to slow down its growth rate and get minecraft to name it

There are changes I will make one I get it modloader compatible, one is to make it use the BTW anvil and require mostly BTW Items,
It will also take a long time to grow to balance it, the idea being the amount of time it takes to grow, you would easily get more by mining
And I will also properly change the Block ID

Goals
Make Modloader compatible(stuck :/)
Increase Growth Time of Iron Reed
Get minecraft to Name it in inventory
Add smeltable item instead of iron ingot
Add smeltable item recipe to iron nugget
Add recipe for 9 iron nuggets to become an iron ingot

Add to BTW Anvil
Add BTW items to Recipe

Installing
just extract the IronReed.7z, copy the resulting folder to your mod folders in your .minecraft folder

Mod Description
compatible with Better Then Wolves
It is basically Iron reed, Reed that gives you iron it also gives out light :)
The crafting recipe is
Spoiler
Show
Image
Now you get a special Harvested Version of reed you need to smelt this to create an iron nugget after this 9 iron nuggets make an iron ingot


You have plant it on netherack next to lava or lava flow
When you destroy a piece of Iron Reed, it drops an iron ingot (for now)
Images
Spoiler
Show
Image
Flatworld Generator Mods
If interested the script is called chunkproviderflat
to install these you need to copy the file inside the folder to your minecraft jar
the first one in the archive makes it so it generator 64 layers of stone,dirt,obsidian, lava below you,

the second one Is my personal one it does the same as above as well as reactivating generation of mineshafts and strongholds

What does it mean for one, slimes dont spawn everywhere and it adds more interesting underground Terrain

I have placed all my mods in one archive for downloading

Download Update 6/3/2012

Old Versions
Spoiler
Show
Download Base class edits Original Version
Download Update 23/2/2012 Modloader compatible

Feel Free to help me improve it; however I don’t know java very well I can read it but properly not write it yet
Last edited by lostone1993 on Mon Mar 05, 2012 4:11 pm, edited 7 times in total.
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: First Minecraft Mod Hooray :) Iron Reed

Post by lostone1993 »

I have an error while trying to compile part of my mod to make it modloader compatible could someone with experience help me with this? Please

This is the error the compiler is spiting out
Spoiler
Show
Image
And this is the code I am trying to compile
Spoiler
Show

Code: Select all

    package net.minecraft.src;

    public class mod_IronReed extends BaseMod 
	{
		public static final Block IronReed;
		
		static
		{
			IronReed = (new Block(200, ModLoader.addOverride("/terrain.png", "/LO93/IronReed.png"),Material.rock)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setBlockName("IronReed").setLightValue(1.0F);
		}  

		public mod_IronReed()
		{
			ModLoader.AddName(IronReed, "Iron Reed");
			ModLoader.RegisterBlock(IronReed);
			ModLoader.AddRecipe(new ItemStack(IronReed, 1), new Object[]{
            "xxx", "x#x", "xxx", Character.valueOf('x'), Item.ingotIron, Character.valueOf('#'), Item.reed
        });	
		}
		public String Version()
		{
			return "1.5_01";
		}
	}
I’ve been following a tutorial I have followed it to the letter yet it just keeps spiting out this error atm I am completely stuck
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
PatrickSJ
Posts: 302
Joined: Thu Jul 07, 2011 3:00 am

Re: First Minecraft Mod Hooray :) Iron Reed

Post by PatrickSJ »

Did you setup the Java environment? I am not referring to MCP, but the Java classes provided by Sun as part of the Java platform.
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: First Minecraft Mod Hooray :) Iron Reed

Post by lostone1993 »

I dont quite get what you mean, If you mean the JDK then yes If the java EE also yes

If that was the case wouldent The class edits I normally do, would not compile ?
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
PatrickSJ
Posts: 302
Joined: Thu Jul 07, 2011 3:00 am

Re: First Minecraft Mod Hooray :) Iron Reed

Post by PatrickSJ »

Which version did you setup? I believe Minecraft requires 1.5, but if you are compiling against 1.6 and didn't set that up correctly then you would get that error.

Edit:
Enter java -version, what do you get?
User avatar
Zhil
Posts: 4486
Joined: Thu Jul 14, 2011 3:12 pm
Location: Belgium

Re: First Minecraft Mod Hooray :) Iron Reed

Post by Zhil »

PatrickSJ wrote:Which version did you setup? I believe Minecraft requires 1.5, but if you are compiling against 1.6 and didn't set that up correctly then you would get that error.
Naah, that's just a warning. The error is way simpler than that.

You have to implement the abstract load() method. That's what missing.
Come join us at Vioki's Discord! discord.gg/fhMK5kx
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: First Minecraft Mod Hooray :) Iron Reed

Post by lostone1993 »

so all I need is this ?
public void load()

and this is what my final code should look like ?
Spoiler
Show

Code: Select all

    package net.minecraft.src;

    public class mod_IronReed extends BaseMod 
	{
		public static final Block IronReed;
		
		static
		{
			IronReed = (new Block(200, ModLoader.addOverride("/terrain.png", "/LO93/IronReed.png"),Material.rock)).setHardness(0.0F).setStepSound(Block.soundGrassFootstep).setBlockName("IronReed").setLightValue(1.0F);
		}  

		public mod_IronReed()
		{
		}
		public void load()
		{
			ModLoader.AddName(IronReed, "Iron Reed");
			ModLoader.RegisterBlock(IronReed);
			ModLoader.AddRecipe(new ItemStack(IronReed, 1), new Object[]{
            "xxx", "x#x", "xxx", Character.valueOf('x'), Item.ingotIron, Character.valueOf('#'), Item.reed
        });	
		}
		public String Version()
		{
			return "1.5_01";
		}
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
PatrickSJ
Posts: 302
Joined: Thu Jul 07, 2011 3:00 am

Re: First Minecraft Mod Hooray :) Iron Reed

Post by PatrickSJ »

Gilberreke wrote:
PatrickSJ wrote:Which version did you setup? I believe Minecraft requires 1.5, but if you are compiling against 1.6 and didn't set that up correctly then you would get that error.
Naah, that's just a warning. The error is way simpler than that.

You have to implement the abstract load() method. That's what missing.
Doh! I didn't see the part that said "does not override abstract method load()".
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: First Minecraft Mod Hooray :) Iron Reed

Post by lostone1993 »

I got I fixed the error and Fixed up a couple of other ones I am feel quite happy at the moment

thanks you guys for your help, I am uploading right now :)
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: First Minecraft Mod Hooray :) Iron Reed

Post by lostone1993 »

I think the mod is too powerful atm what do you think i need to change to make it balanced ?
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
User avatar
Gargantuan_Penguin
Posts: 755
Joined: Mon Jan 16, 2012 10:38 am

Re: First Minecraft Mod Hooray :) Iron Reed

Post by Gargantuan_Penguin »

lostone1993 wrote:I think the mod is too powerful atm what do you think i need to change to make it balanced ?
possibly make them extremely difficult to harvest. or they hurt you like a cactus. thats the extent of my brainstorm atm.
And HOW!
User avatar
Blueblade11
Posts: 347
Joined: Tue Sep 27, 2011 9:03 pm

Re: First Minecraft Mod Hooray :) Iron Reed

Post by Blueblade11 »

lostone1993 wrote:I think the mod is too powerful atm what do you think i need to change to make it balanced ?
Grind the iron somehow into dust, infuse it into reeds via the use of souls, and plant!
Also, make it drop 0-1 peices of iron nuggets, and 9 iron nuggets = 1 iron!
255 Characters Limit? D:
Image
http://www.minecraftforum.net/topic/941586- viewtopic.php?f=11&t=3117
I don't want to go back to MCF! Even if I do stupid things here 90% of the time!
User avatar
Darken5
Posts: 69
Joined: Sun Feb 19, 2012 4:32 am

Re: First Minecraft Mod Hooray :) Iron Reed

Post by Darken5 »

lostone1993 wrote:I think the mod is too powerful atm what do you think i need to change to make it balanced ?
Gargantuan_Penguin wrote:possibly make them extremely difficult to harvest. or they hurt you like a cactus. thats the extent of my brainstorm atm.
I'd say you have to "mine" it like iron, via a pickaxe. Not sure i agree on the cactus part... hmmm. im kinda 50/50 on that. good ideas tho.


Blueblade11 wrote:Also, make it drop 0-1 peices of iron nuggets, and 9 iron nuggets = 1 iron!
This I agree whole heartedly on, tho make it drop 1, maaaaybe 2 nuggets. Seeing as it has to be near lava. chance of the nugget falling into lava should be taken into account.



Aaaaaand... I completly forgot my idea... sunova. Will edit when i remember, or post further down.
Life sucks, get a cat!
User avatar
lostone1993
Posts: 206
Joined: Thu Oct 06, 2011 9:06 pm
Location: NSW, Australia

Re: Lostone's Minimods Flatworld and ironReedmod

Post by lostone1993 »

Updated, I think I am getting close to balanced
Under many names
lost-one
Spoiler
Show
Image
My Youtube
My WIP Fan Mission for SS2(youtube)
Post Reply