i went out to dinner, i was thanking you for your help :tongue.gif:
Oh, alright.
Is everything working now?
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
you forgot to tell him to check the spelling didn't you? Any small spelling mistake in name or code messes you up.
However it could be just as you thought that he didn't have the pics in the mcp jar or possibly left out one, or maybe capitalized the red obsidian wrong.
Could you perhaps (If you can) make a tutorial on how make a custom door, Its probably ALOT harder than adding basic blocks and items into the game, But if you can that'd be great!
I guess I can look into it. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
you have to make a new door material by the look of it thats just looking at the door item imma keep looking
edit: make a new door block type i think.
doorWood = (new BlockDoor(64, Material.wood)).setHardness(3F).setStepSound(soundWoodFootstep).setBlockName("doorWood").disableStats().disableNeighborNotifyOnMetadataChange();
hmm i think ive figured it out, you might have to add a new material unless you use one of the old ones
imma test it, you can expect a response within the hour if ive got it.
src\minecraft\net\minecraft\src\mod_NicMod.java:5: illegal character: \35
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: ';' expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: illegal start of type
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: <identifier> expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: ';' expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: illegal start of type
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: illegal character: \35
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: ';' expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: illegal start of type
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: <identifier> expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
src\minecraft\net\minecraft\src\mod_NicMod.java:5: ';' expected
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
^
11 errors
==================
> Done in 1.34 seconds
> Recompiling server...
> Done in 3.83 seconds
Trykk en tast for å fortsette...(this means "press a key to continue")
The mod I am making is called Nic's mOd, but this confuses me :/
The error I see that is very obvious is that you have to remove the "#" sign from the code.
Also change the "BlockglowLight" to "BlockGlowLight", (Make sure the Block class is named "BlockGlowLight.java" too. Also I added a code to make the block glow/light. It will glow just like GlowStone. :biggrin.gif:
Try it, and check if it works. :tongue.gif:
Before:
public static final Block glowLight = new BlockglowLight(122, 0).setBlockName("g
lowLight").setHardness(#1F).setResistance(#2F);
After:
public static final Block glowLight = new BlockGlowLight(122, 0).setBlockName("g
lowLight").setHardness(1F).setResistance(2F).setLightValue(1.0F);
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
WOW Sly! Thanks alot! I altso figured out I didnt install Modloader correctly! Thank you so much, it works! :biggrin.gif:
No problem, glad to help. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Thanks, I put a nice amount of time into each of them, to make them understandable. :biggrin.gif:
Rollback Post to RevisionRollBack
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
i have a bit of problem, i reobfuscate and it only gives me BlockEpic.class
am i supposed to get the mod_Epic too?
its not seeing it, it just gives me BlockEpic.class and no errors except something about a boat, but its not my code or my mod that deals with boats...
any idea?
EDIT: i cant find my block in game or in TMI or by typing give 255
src\minecraft\net\minecraft\src\mod_pizza.java:20: AddSmelting(int,net.minecraft
.src.ItemStack) in net.minecraft.src.ModLoader cannot be applied to (net.minecra
ft.src.Item,net.minecraft.src.ItemStack)
ModLoader.AddSmelting(mod_pizza.itemFood3, new ItemStack(mod_pizza.itemFood4, 1)
);
^
1 error
==================
> Done in 9.60 seconds
> Recompiling server...
!! Can not find server sources !!
Press any key to continue . . .
public class mod_pizza extends BaseMod
{
public static final Item itemFood4 = new ItemFood4(2007).setItemName("Pizza");
public static final Item itemFood3 = new ItemFood3(2006).setItemName("Rawpizza");
ModLoader.AddSmelting(mod_pizza.itemFood3, new ItemStack(mod_pizza.itemFood4, 1));
}
public String Version()
{
return "3.14159265";
}
}
for one here
[code]ModLoader.AddSmelting(mod_pizza.itemFood3, new ItemStack(mod_pizza.itemFood4, 1));[/code]
correct smelting recipe should look like:
[code] ModLoader.AddSmelting(darkdirt.blockID, new ItemStack(Block.dirt, 18));[/code]
so in your case should be:
[code] ModLoader.AddSmelting(itemFood3.shiftedIndex, new ItemStack(itemFood4, 1));[/code]
so you need to add .shiftedIndex after the item, and you dont need to add the mod_name unless its getting from another mod. also did you directly copy the code? If you did you didn't have it set up correctly which would cause its own problems. If you want to pm me the direct code so i can see if i can help. Also you might want to use the [code] type instead of spoilers so it definitely makes sure you code comes out correctly.
Oh, alright.
Is everything working now?
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
you forgot to tell him to check the spelling didn't you? Any small spelling mistake in name or code messes you up.
However it could be just as you thought that he didn't have the pics in the mcp jar or possibly left out one, or maybe capitalized the red obsidian wrong.
I shall send Crawlers after you!
I shall send Crawlers after you!
i copyed the code... :Flint and Steel:
I guess I can look into it. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
so im guessing it helped?
I shall send Crawlers after you!
you have to make a new door material by the look of it thats just looking at the door item imma keep looking
I shall send Crawlers after you!
you have to make a new door material by the look of it thats just looking at the door item imma keep looking
edit: make a new door block type i think.
hmm i think ive figured it out, you might have to add a new material unless you use one of the old ones
imma test it, you can expect a response within the hour if ive got it.
I shall send Crawlers after you!
edit: testing it now
editX2: i got it working tho it has its own textures it shows like the bottom of the door and is only 1 block high.
I give up good luck sly
I shall send Crawlers after you!
sure here it is:
when you make and place it it keeps turning into a wooden door, its texture was like a white 16x16 door
I shall send Crawlers after you!
yes but it was only 1 block tall. il see about adding a pic in a sec.
I shall send Crawlers after you!
The error I see that is very obvious is that you have to remove the "#" sign from the code.
Also change the "BlockglowLight" to "BlockGlowLight", (Make sure the Block class is named "BlockGlowLight.java" too. Also I added a code to make the block glow/light. It will glow just like GlowStone. :biggrin.gif:
Try it, and check if it works. :tongue.gif:
Before:
After:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
no it still doesnt work...
what exactly doesnt work and also what are you tring to do? An error log would be nice
I shall send Crawlers after you!
No problem, glad to help. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
Is an error for uppercase
By the way, good tutorials, I served a lot!
(I use Translate Google)...
Thanks, I put a nice amount of time into each of them, to make them understandable. :biggrin.gif:
Instant Blocks Mod - 17 new blocks that generate structures upon right-click. Includes: Farm, Rainbow Skydive, Grinder, Escape Ladder, Water, Lava, Suction, and Statue Blocks.
am i supposed to get the mod_Epic too?
its not seeing it, it just gives me BlockEpic.class and no errors except something about a boat, but its not my code or my mod that deals with boats...
any idea?
EDIT: i cant find my block in game or in TMI or by typing give 255
im a noobie at all this coding and stuff but i did the best that i can.
here is my error log:
and this is my mod_NetherRackCraft:
plz help :sad.gif:
for one here
[code]ModLoader.AddSmelting(mod_pizza.itemFood3, new ItemStack(mod_pizza.itemFood4, 1));[/code]
correct smelting recipe should look like:
[code] ModLoader.AddSmelting(darkdirt.blockID, new ItemStack(Block.dirt, 18));[/code]
so in your case should be:
[code] ModLoader.AddSmelting(itemFood3.shiftedIndex, new ItemStack(itemFood4, 1));[/code]
so you need to add .shiftedIndex after the item, and you dont need to add the mod_name unless its getting from another mod. also did you directly copy the code? If you did you didn't have it set up correctly which would cause its own problems. If you want to pm me the direct code so i can see if i can help. Also you might want to use the [code] type instead of spoilers so it definitely makes sure you code comes out correctly.
I shall send Crawlers after you!