Please help me out, I keep compiling this but I get a bunch of "expected" errors, and an error saying line 13 is not a statement. Thanks!
(And yes I know I'm a total noob, but please just help.)
package net.minecraft.src;
public class BlockLandmine extends Block
{
protected BlockLandmine(int i, int j)
{
super(i, j, Material.ground);
}
private void explode()
{
worldObj.createExplosion(null, int X, int Y, int Z, f);
}
public void onEntityWalking(World world, int x, int y, int z, Entity entity)
{
explode();
}
}
IDK why the format is messed up, it just appeared like that on the forum
Welcome to my mega tutorial thread! Here I will be posting tutorial videos on almost everything you can do with modding! Currently there is not many videos but just wait until I create them all.
BEGINNER: (These are simple tutorials to help you get modding)
1. Setting up MCP with Eclipse
6. Creating Tools and Weapons
7. Creating Armor
9. Creating NPCs
10. Fixing Common Errors
11. How to Export Your Mod
INTERMEDIATE: (These are tutorials for people who are familiar with Java)
12. World Generation
13. Configuration Files
14. Interactive NPCs
15. Creating Explosives
16. Creating New GUIs
17. Creating a New Furnace Like Block
19. Creating a New Liquid
20. Creating a New Crop
ADVANCED: (These tutorials are very hard and not recommended to most people)
0
0
Post the error report
0
2
So what if it doesn't show up on your virus programs? It can still send your account data to some dudes e-mail.
Please save the poor innocent people who are downloading this and report the post
0
0
2
Block
Item
Crafting and Smelting Recipes
Food
Generating Ores
3
Welcome to my mega tutorial thread! Here I will be posting tutorial videos on almost everything you can do with modding! Currently there is not many videos but just wait until I create them all.
Current Tutorials
BEGINNER: (These are simple tutorials to help you get modding)
2. Creating a New Block
3. Creating a New Item
4. Crafting and Smelting Recipes
5. Creating a New Food
8. Creating a New Ore
Future Tutorials
APIs: (These teach you how to use these APIs)
BEGINNER: (These are simple tutorials to help you get modding)
1. Setting up MCP with Eclipse
6. Creating Tools and Weapons
7. Creating Armor
9. Creating NPCs
10. Fixing Common Errors
11. How to Export Your Mod
INTERMEDIATE: (These are tutorials for people who are familiar with Java)
12. World Generation
13. Configuration Files
14. Interactive NPCs
15. Creating Explosives
16. Creating New GUIs
17. Creating a New Furnace Like Block
19. Creating a New Liquid
20. Creating a New Crop
ADVANCED: (These tutorials are very hard and not recommended to most people)
0
Just wait a bit, it's being hosted on a free web host so don't expect fast download speeds
0
1
1
Introducing the first ever Minicraft mod! This is a cheat pack which offers the following
You can play the modified version here:
Minicraft
I did not make this game, it was made by Notch I am just releasing a custom version
0
Introducing the first ever Minicraft mod! This is a cheat pack which offers the following
You can play the modified version here:
Minicraft
I did not make this game, it was made by Notch I am just releasing a custom version
0
1
Oh dear me looks like you didn't decompile with ModLoader.
You need to run cleanup.bat, then install ModLoader into /jars/bin/minecraft.jar, then decompile.bat
And finally use this code here for mod_NPC.java