In my biome, i want to generate trees. But i create a new Block, and this block can make trees blossom. Can you help me?
Sorry for my english, I'm from Brazil.
Not quite sure what you mean by "make trees blossom", sorry.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
I'm making a simple mod where you can craft a block out of diamonds and obsidian and destroy it to get a lot of diamonds. I took your examples and replaced them with my code:
mod_DiamondCheat:
package net.minecraft.src;
public class mod_ extends BaseMod
{
public static final Block DiamondCheat = new DiamondCheat(240, 0).setBlockName("Diamond Cheater's Chest").setHardness(10F).setResistance(1F).setLightValue(7F).setCreativeTab(CreativeTabs.tabMisc).setStepSound(Block.soundGrassFootstep);
public void load()
{
nameHere.blockIndexInTexture = ModLoader.addOverride("cc/diamondchest.png");
ModLoader.registerBlock(DiamondCheat);
ModLoader.addName(DiamondCheat, "Diamond Cheater's Chest");
ModLoader.addRecipe(new ItemStack(DiamondCheat, 1), new Object [] {"###", "#@#", "###", Character.valueOf('#'), Block.obsidian, Character.valueOf('@'), Item.diamond,});
}
public String getVersion()
{
return "1.4.2";
}
}
BlockDiamondCheat:
package net.minecraft.src;
import java.util.Random;
public class DiamondCheat extends Block
{
public DiamondCheat(int i, int j)
{
super(i, j, Material.iron);
}
public int idDropped(int i, Item.Diamond int j)
{
return mod_Block.DiamondCheat.blockID;
}
public int quantityDropped(Random 64)
{
return 1;
}
}
So then I dropped my stuff in the MCP folder and tryed to recompile. I got a few errors in BlockDiamondCheat, so I tried to fix them and I got even more. Here's the command prompt display:
I'm sorry I couldn't get it in text, the command prompt doesn't let me copy.
EDIT: Never mind, I'll just make it so you put the block on a crafting table to get diamonds.
Wow I just found this thread again and I can't believe I was actually on the first page of this epic thread. It's grown so much since then! =) I just came back to say thanks, and that since FreeZzeRrR stopped making tutorials, I'm counting on you to finish that dimension tutorial!
Wow I just found this thread again and I can't believe I was actually on the first page of this epic thread. It's grown so much since then! =) I just came back to say thanks, and that since FreeZzeRrR stopped making tutorials, I'm counting on you to finish that dimension tutorial!
If he can't find the time, i'll create a tutorial for creating Dimensions using Forge.
When adding a crafting recipe with a pickaxe, it does not work when the pickaxe was used. Like when the bar shows up. How do I fix that? thx for the help and great tutorial
Wow I just found this thread again and I can't believe I was actually on the first page of this epic thread. It's grown so much since then! =) I just came back to say thanks, and that since FreeZzeRrR stopped making tutorials, I'm counting on you to finish that dimension tutorial!
I think you were at the top of the second page but a moderator kindly did some cleaning for me and now you're on the first
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
Sorry for my english, I'm from Brazil.
Eclipse Juno.
Not quite sure what you mean by "make trees blossom", sorry.
together they are powerful beyond imagination."
I'd say he means, make leaves spawn
I think he means having the tree flower and give fruit and drop saplings, stuff like that.
But when the biome it's generated, i can't see any tree...
public static final Item Camera = new Item(2112).setItemName("Camera");
ModLoader.addRecipe(new ItemStack(cameraOnTripod, 1), new Object [] {" # ", " % ", "% %", Character.valueOf('#'), Camera, Character.valueOf('%'), Item.ingotIron});
ModLoader.addSmelting(Camera.shiftedIndex, new ItemStack(BurntCamera, 1), 1.0F);
WebRep
Overall rating
This site has no rating
(not enough votes)
It depends. Most item/entity code is the same, things are just registered differently.
together they are powerful beyond imagination."
I'm making a simple mod where you can craft a block out of diamonds and obsidian and destroy it to get a lot of diamonds. I took your examples and replaced them with my code:
So then I dropped my stuff in the MCP folder and tryed to recompile. I got a few errors in BlockDiamondCheat, so I tried to fix them and I got even more. Here's the command prompt display:
I'm sorry I couldn't get it in text, the command prompt doesn't let me copy.
EDIT: Never mind, I'll just make it so you put the block on a crafting table to get diamonds.
Planet Minecraft: GLStudios
Are you using ModLoader or Forge?
If he can't find the time, i'll create a tutorial for creating Dimensions using Forge.
I think you were at the top of the second page but a moderator kindly did some cleaning for me and now you're on the first
together they are powerful beyond imagination."
Any ideas?
Bleach Mod
Did you decompile the minecraft_server.jar as well as the bin and resources folder?
Oh.... I don't think so... Do I need to decompile it even if I don't change it?
Bleach Mod