hey x2robbie2x, I just finished a mod which used several of your turorials concepts. I was wondering if you wanted to reveiw it.
ll give you a link if you do
I have a question. I am an pro Java programmer, started learning when I was like 9 years. The new ModdingAPI. -Does it change the background for coding? Like, the Java Developer Kit will be something else? I know everything about the (almost) former programming background, but nothing about the API.
great vids!
I just started making a mod. I've gotten to just putting blocks in the world but Im getting an error and have no idea what it is.
Where is the crash report
--- BEGIN ERROR REPORT 788add57 --------
Generated 11/1/12 3:21 PM
- Minecraft Version: 1.4.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.7.0_09, Oracle Corporation
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 92391152 bytes (88 MB) / 128647168 bytes (122 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 0 total;
- AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
- ModLoader: Mods loaded: 2
ModLoader 1.4.2
mod_magicMancy .1 MagicMancy
java.lang.ArrayIndexOutOfBoundsException: 1201
at net.minecraft.src.ModLoader.initStats(ModLoader.java:1004)
at net.minecraft.src.ModLoader.init(ModLoader.java:977)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:187)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:91)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:417)
at net.minecraft.client.Minecraft.run(Minecraft.java:737)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 117f95ef ----------
and here is my "mod_" code
package net.minecraft.src;
import java.util.Random;
public class mod_magicMancy extends BaseMod{
public static final Block manaCrystalDeposit = new BlockManaCrystalDeposit (1201,0).setHardness(1F).setBlockName("Mana Crystal Deposit");
public static final Item manaCrystal = new ItemManaCrystal(1202).setItemName("Mana Crystal");
public mod_magicMancy(){
//Mana Crystal Deposit
ModLoader.registerBlock(manaCrystalDeposit);
ModLoader.addName(manaCrystalDeposit, "Mana Crystal Deposit");
manaCrystalDeposit.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/magicMancyImages/manaCrystalDeposit.png");
//Mana Crystal
ModLoader.addName(manaCrystal, "Mana Crystal");
manaCrystal.iconIndex = ModLoader.addOverride("/gui/items.png", "/magicMancyImages/manaCrystal.png");
}
public void generateSurface(World world, Random rand, int baseX, int baseZ)
{
for(int x = 0; x < 30; x++)
{
int Xcoord = baseX + rand.nextInt(8);
int Zcoord = baseZ + rand.nextInt(8);
int Ycoord = world.getHeightValue(Xcoord, Zcoord);
(new WorldGenMinable(manaCrystalDeposit.blockID, 35)).generate(world, rand, Xcoord, Ycoord, Zcoord);
}
}
public void load(){}
public String getVersion() {return ".1 MagicMancy";}
}
I am also struggling with the itemIndex syntax error. here is my code:
package net.minecraft.src;
public class mod_Tools extends BaseMod
{
public mod_Tools()
{
//Tools//
Item pickaxeRedstone = new ItemPickaxe(1000,EnumToolMaterial.REDSTONE).setItemName("pickaxeRedstone");
Item axeRedstone = new ItemAxe(1001,EnumToolMaterial.REDSTONE).setItemName("axeRedstone");
Item spadeRedstone = new ItemSpade(1002,EnumToolMaterial.REDSTONE).setItemName("spadeRedstone");
Item hoeRedstone = new ItemHoe(1003,EnumToolMaterial.REDSTONE).setItemName("hoeRedstone");
Item swordRedstone = new ItemSword(1004,EnumToolMaterial.REDSTONE).setItemName("swordRedstone");
//Recipes//
ModLoader.addRecipe(new ItemStack( pickaxeRedstone, 1), new Object[]
{
"xxx","xxx", "xxx", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( axeRedstone, 1), new Object[]
{
"xx ","xx ", "xx ", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( spadeRedstone, 1), new Object[]
{
" x "," x ", " x ", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( hoeRedstone, 1), new Object[]
{
"xxx","xxx", "xxx", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( swordRedstone, 1), new Object[]
{
"xx ","xxx", " x ", 'x', Block.dirt
});
Description Resource Path Location Type
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 49 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 48 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 47 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 46 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 45 Java Problem
@Override
public String getVersion() {
// TODO Auto-generated method stub
return null;
}
@Override
public void load() {
// TODO Auto-generated method stub
}}
I may not be able to review this page, so email me @[email protected]
great vids!
I just started making a mod. I've gotten to just putting blocks in the world but Im getting an error and have no idea what it is.
Where is the crash report
--- BEGIN ERROR REPORT 788add57 --------
Generated 11/1/12 3:21 PM
- Minecraft Version: 1.4.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.7.0_09, Oracle Corporation
- Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
- Memory: 92391152 bytes (88 MB) / 128647168 bytes (122 MB) up to 1908932608 bytes (1820 MB)
- JVM Flags: 0 total;
- AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
- ModLoader: Mods loaded: 2
ModLoader 1.4.2
mod_magicMancy .1 MagicMancy
java.lang.ArrayIndexOutOfBoundsException: 1201
at net.minecraft.src.ModLoader.initStats(ModLoader.java:1004)
at net.minecraft.src.ModLoader.init(ModLoader.java:977)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:187)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:91)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:417)
at net.minecraft.client.Minecraft.run(Minecraft.java:737)
at java.lang.Thread.run(Unknown Source)
--- END ERROR REPORT 117f95ef ----------
and here is my "mod_" code
package net.minecraft.src;
import java.util.Random;
public class mod_magicMancy extends BaseMod{
public static final Block manaCrystalDeposit = new BlockManaCrystalDeposit (1201,0).setHardness(1F).setBlockName("Mana Crystal Deposit");
public static final Item manaCrystal = new ItemManaCrystal(1202).setItemName("Mana Crystal");
public mod_magicMancy(){
//Mana Crystal Deposit
ModLoader.registerBlock(manaCrystalDeposit);
ModLoader.addName(manaCrystalDeposit, "Mana Crystal Deposit");
manaCrystalDeposit.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/magicMancyImages/manaCrystalDeposit.png");
//Mana Crystal
ModLoader.addName(manaCrystal, "Mana Crystal");
manaCrystal.iconIndex = ModLoader.addOverride("/gui/items.png", "/magicMancyImages/manaCrystal.png");
}
public void generateSurface(World world, Random rand, int baseX, int baseZ)
{
for(int x = 0; x < 30; x++)
{
int Xcoord = baseX + rand.nextInt(8);
int Zcoord = baseZ + rand.nextInt(8);
int Ycoord = world.getHeightValue(Xcoord, Zcoord);
(new WorldGenMinable(manaCrystalDeposit.blockID, 35)).generate(world, rand, Xcoord, Ycoord, Zcoord);
}
}
public void load(){}
public String getVersion() {return ".1 MagicMancy";}
}
--- BEGIN ERROR REPORT a5d08458 --------
Generated 12-11-2012 11:34
- Minecraft Version: 1.4.2
- Operating System: Windows 7 (amd64) version 6.1
- Java Version: 1.6.0_37, Sun Microsystems Inc.
- Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Sun Microsystems Inc.
- Memory: 1028203544 bytes (980 MB) / 1065025536 bytes (1015 MB) up to 1065025536 bytes (1015 MB)
- JVM Flags: 3 total; -Xincgc -Xms1024M -Xmx1024M
- AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
- ModLoader: Mods loaded: 2
ModLoader 1.4.2
mod_Cyrosium 1.4.2
- LWJGL: 2.4.2
- OpenGL: AMD Radeon HD 6500M/5600/5700 Series GL version 4.2.11631 Compatibility Profile Context, ATI Technologies Inc.
- Is Modded: Very likely
- Type: Client
- Texture Pack: Default
- Profiler Position: N/A (disabled)
- Vec3 Pool Size: ~ERROR~ NullPointerException: null
java.lang.RuntimeException: java.lang.Exception: Image not found: /CyrosiumBlock.png)
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1694)
at net.minecraft.src.ModLoader.onTick(ModLoader.java:1200)
at net.minecraft.src.EntityRendererProxy.updateCameraAndRender(EntityRendererProxy.java:21)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:868)
at net.minecraft.client.Minecraft.run(Minecraft.java:764)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Image not found: /CyrosiumBlock.png)
at net.minecraft.src.ModLoader.loadImage(ModLoader.java:1117)
at net.minecraft.src.ModLoader.registerAllTextureOverrides(ModLoader.java:1686)
... 5 more
--- END ERROR REPORT 8d1eff40 ----------
Make sure you spelled everything correctly and that you have everything in the right folder.
Hello.
I have error when launching minecraft with my mod . Here is the error text:
---- Minecraft Crash Report ----
// Daisy, daisy...
Time: 11.12.12 22:25
Description: ModLoader has failed to initialize.
java.lang.ArrayIndexOutOfBoundsException: 2900
at net.minecraft.src.ModLoader.initStats(ModLoader.java:1010)
at net.minecraft.src.ModLoader.init(ModLoader.java:983)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:92)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Thread.java:722)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- System Details --
Details:
Minecraft Version: 1.4.5
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_09, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 995195896 bytes (949 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xms1024M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 2
ModLoader 1.4.2
mod_Mineyans Mineyans mod For MineCraft 1.4.5!
Here's mod_Mineyans
package net.minecraft.src;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Random;
import java.awt.Color;
public class mod_Mineyans extends BaseMod
{
public static final Block Mineyanstone = new BlockMineyanstone(2900, 0).setStepSound(Block.soundStoneFootstep).setBlockName("Mineyanstone").setHardness(4.5F).setResistance(5F).setCreativeTab(CreativeTabs.tabBlock);
public static final Block Mineyanstair = new Block(2901, 0, Material.rock).setStepSound(Block.soundStoneFootstep).setBlockName("Mineyanstair").setHardness(4.5F).setResistance(5F).setCreativeTab(CreativeTabs.tabBlock);
public static final Item Mineyancoin = new Item(2902).setItemName("Mineyancoin").setCreativeTab(CreativeTabs.tabMaterials);
//public static final Block
public static final Item Mste = new ItemMythsword(2903, EnumToolMaterial.EMERALD).setItemName("Mste");
public void load()
{
ModLoader.registerBlock(Mineyanstair);
ModLoader.addName(Mineyanstair, "Mineyan Stairs");
ModLoader.registerBlock(Mineyanstone);
ModLoader.addName(Mineyanstone, "Mineyan Stone");
Mineyanstone.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/mineyans/Mineyanstone.png");
ModLoader.addName(Mineyancoin, "Mineyans Coin");
Mineyancoin.iconIndex = ModLoader.addOverride("/gui/items.png" , "/mineyans/Mineyancoin.png");
ModLoader.registerEntityID(EntityMineyanv.class, "Mineyanv", 30);//registers the mobs name and id
//ModLoader.addSpawn("NAME", 15, -5, 1, EnumCreatureType.monster);//makes the mob spawn in game
ModLoader.addLocalization("entity.Mineyanv.name", "Mineyan Villager");//adds Mob name on the spawn egg
EntityList.entityEggs.put(Integer.valueOf(30), new EntityEggInfo(30, 894731, (new Color(64, 64, 64)).getRGB()));//creates the spawn egg, and chnages color of egg
ModLoader.getUniqueEntityId();
Mste.iconIndex = ModLoader.addOverride("/gui/items.png", "/textures/Mste.png");
ModLoader.addName(Mste, " \u4444 Mythical Death Sword of Fire!/u4444");
/**TradeEntry Mas = new TradeEntry(mod_Mineyans.Mineyanbrick.blockID, 0.7f, false, 1, 3);
ModLoader.addTrade(1, Mas);
*/
}
public void addRenderer(Map var1)
{
var1.put(EntityMineyanv.class, new RenderLiving(new ModelMineyanv(),.5f));
}
public String getVersion()
{
return " Mineyans mod For MineCraft 1.4.5! ";
}
}
Can you help me?
Again, your bock ID is too high, it has to be under 256.
Actually, the Block ID can be over 256, that's the maximum build height...
No, go into block.
There's a line declaring an array called BlockList, with 256 Blocks. Therefore, 255 is the maximum block ID. This is because the array starts at 0. And look at item, find the lowest ID there. It will be 256, so >255 is Items.
EDIT:
the lowest Id will be 0, but shiftedIndex, the one the game uses, adds 256 to the variable you pass in as Item ID.
Hey there Robbie, love the tutorials! Seriously, without you i never would have been able to mod the simplest thing. Anyway, I'm trying to add a block to the world, but not an ordinary block - i want it to appear as a floating orb. However the standard block textures prevent me from making it like that since it defaults to making it, well, block-shaped. Should i declare the orb as a something other than a block? I was thinking maybe declaring it as a flower or something, but in all honesty I'm not sure where to begin. Thanks to anyone who reads this and can help.
Help I used Minecraft Modding Made Easy: Blocks, Ores, and World Generation.
with How To Make a Minecraft Mod: How to Create an Item by mrsal511
I tried to make a block called glosterimisomium and an ore called oreglosterimisomium and a Item called glosterstick
I got this error message
Minecraft has crashed!
----------------------
Minecraft has stopped running because it encountered a problem; Exception occured in ModLoader
A full error report has been saved to C:\Users\Dylan\Desktop\mcp\jars\.\crash-reports\crash-2013-01-15_21.30.49-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash
--- BEGIN ERROR REPORT bde4a92d --------
Full report at:
C:\Users\Dylan\Desktop\mcp\jars\.\crash-reports\crash-2013-01-15_21.30.49-client.txt
Please show that file to Mojang, NOT just this screen!
Generated 15/01/13 21:30
-- System Details --
Details:
Minecraft Version: 1.4.7
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.7.0_04, Oracle Corporation
Java VM Version: Java HotSpot™ 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 995151608 bytes (949 MB) / 1056309248 bytes (1007 MB) up to 1056309248 bytes (1007 MB)
JVM Flags: 3 total; -Xincgc -Xms1024M -Xmx1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Suspicious classes: Start[net.minecraft.src.IPlayerUsage, MinecraftFakeLauncher, ThreadShutdown, ...]
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
ModLoader: Mods loaded: 1
ModLoader 1.4.7
java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at net.minecraft.src.ModLoader.addMod(ModLoader.java:395)
at net.minecraft.src.ModLoader.readFromClassPath(ModLoader.java:1406)
at net.minecraft.src.ModLoader.init(ModLoader.java:952)
at net.minecraft.src.ModLoader.addAllRenderers(ModLoader.java:190)
at net.minecraft.src.RenderManager.<init>(RenderManager.java:93)
at net.minecraft.src.RenderManager.<clinit>(RenderManager.java:14)
at net.minecraft.client.Minecraft.startGame(Minecraft.java:421)
at net.minecraft.src.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:41)
at net.minecraft.client.Minecraft.run(Minecraft.java:741)
at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.IllegalArgumentException: Slot 123 is already occupied by net.minecraft.src.BlockRedstoneLight@38ee1abe when adding net.minecraft.src.Glosterimisomium@181dcd25
at net.minecraft.src.Block.<init>(Block.java:282)
at net.minecraft.src.Block.<init>(Block.java:314)
at net.minecraft.src.Glosterimisomium.<init>(Glosterimisomium.java:7)
at net.minecraft.src.mod_Glosterimisomium.<clinit>(mod_Glosterimisomium.java:7)
... 16 more
--- END ERROR REPORT 59e5505 ----------
But I have a Problem. I made a new block according to your video(Minecraft Modding Made Easy: Blocks, Ores, and World Generation. ).There was no error.
I did recompiling and Client Window loaded mod_blockium ..
But i could't find them.. I set x(16), y(40), z(16). I could't find them at y 40.
well i think it is good cause yeah maybe it wont help out much if you dont know java but i think this, i plan on being a software designer one day and i need to start learning code now and what better way to start than to mod a game i enjoy, what im saying is that i may not know what a class file is(i do just saying) but this can teach me some basic coding functions for mc then once i understand the basic in MC moding i will try editing other stuff and then try making my own short java game so this tutorial is useless if you want it to but i see it as a good stepping stone
ll give you a link if you do
EDIT: Missed where it said in Step #5 to place the code inside void load.
I just started making a mod. I've gotten to just putting blocks in the world but Im getting an error and have no idea what it is.
Where is the crash report
and here is my "mod_" code
package net.minecraft.src;
public class mod_Tools extends BaseMod
{
public mod_Tools()
{
//Tools//
Item pickaxeRedstone = new ItemPickaxe(1000,EnumToolMaterial.REDSTONE).setItemName("pickaxeRedstone");
Item axeRedstone = new ItemAxe(1001,EnumToolMaterial.REDSTONE).setItemName("axeRedstone");
Item spadeRedstone = new ItemSpade(1002,EnumToolMaterial.REDSTONE).setItemName("spadeRedstone");
Item hoeRedstone = new ItemHoe(1003,EnumToolMaterial.REDSTONE).setItemName("hoeRedstone");
Item swordRedstone = new ItemSword(1004,EnumToolMaterial.REDSTONE).setItemName("swordRedstone");
//Recipes//
ModLoader.addRecipe(new ItemStack( pickaxeRedstone, 1), new Object[]
{
"xxx","xxx", "xxx", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( axeRedstone, 1), new Object[]
{
"xx ","xx ", "xx ", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( spadeRedstone, 1), new Object[]
{
" x "," x ", " x ", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( hoeRedstone, 1), new Object[]
{
"xxx","xxx", "xxx", 'x', Block.dirt
});
ModLoader.addRecipe(new ItemStack( swordRedstone, 1), new Object[]
{
"xx ","xxx", " x ", 'x', Block.dirt
});
//In Game Names//
ModLoader.addName(pickaxeRedstone, "Ender Pickaxe");
ModLoader.addName(axeRedstone, "Redstone Axe");
ModLoader.addName(spadeRedstone, "Redstone Shovel");
ModLoader.addName(hoeRedstone, "Redstone Hoe");
ModLoader.addName(swordRedstone, "Redstone Sword");}
//Textures//
pickaxeRedstone.iconIndex = ModLoader.addOverride("/gui/items.png", "/Textures/EnderPickaxe.png");
axeRedstone.iconIndex = ModLoader.addOverride("/gui/items.png", "/Textures/RedstoneAxe.png");
spadeRedstone.iconIndex = ModLoader.addOverride("/gui/items.png", "/Textures/RedstoneShovel.png");
hoeRedston.iconIndex = ModLoader.addOverride("/gui/items.png", "/Textures/RedstoneHoe.png");
swordRedstone.iconIndex = ModLoader.addOverride("/gui/items.png", "/Textures/RedstoneSword.png");
The errors are:
Description Resource Path Location Type
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 49 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 48 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 47 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 46 Java Problem
Syntax error on token "iconIndex", VariableDeclaratorId expected after this token mod_Tools.java /Minecraft/src/net/minecraft/src line 45 Java Problem
@Override
public String getVersion() {
// TODO Auto-generated method stub
return null;
}
@Override
public void load() {
// TODO Auto-generated method stub
}}
I may not be able to review this page, so email me @[email protected]
Your bock ID is too high, it has to be under 256.
Make sure you spelled everything correctly and that you have everything in the right folder.
Again, your bock ID is too high, it has to be under 256.
In 1.4.6, replace all
with
No, go into block.
There's a line declaring an array called BlockList, with 256 Blocks. Therefore, 255 is the maximum block ID. This is because the array starts at 0. And look at item, find the lowest ID there. It will be 256, so >255 is Items.
EDIT:
the lowest Id will be 0, but shiftedIndex, the one the game uses, adds 256 to the variable you pass in as Item ID.
I think the ID you assigned to your ore is already being used by another block in Minecraft. Try another ID number.
But I have a Problem. I made a new block according to your video(Minecraft Modding Made Easy: Blocks, Ores, and World Generation. ).There was no error.
I did recompiling and Client Window loaded mod_blockium ..
But i could't find them.. I set x(16), y(40), z(16). I could't find them at y 40.
How can I fix it?