Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
SoundSystem cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
at net.minecraft.src.SoundManager.<init>(SoundManager.java:6)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:291)
at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:14)
at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:2466)
at net.minecraft.client.Minecraft.startMainThread1(Minecraft.java:2452)
at net.minecraft.client.Minecraft.main(Minecraft.java:2525)
at Start.main(Start.java:22)
Yes, but it is irrelevant because I have a system print-in to alert me if the loop is working. So it's either the loop isn't working OR something is wrong in creating the instances of TileEntityMyblock.
Do you know a place a could plant a system print-in where it would show when a block creates a copy of TileEntityMyblock in itself?
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
The import paulscode cannot be resolved
SoundSystem cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystemConfig cannot be resolved
SoundSystemConfig cannot be resolved
paulscode cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
SoundSystem cannot be resolved to a type
at net.minecraft.src.SoundManager.<init>(SoundManager.java:6)
at net.minecraft.client.Minecraft.<init>(Minecraft.java:291)
at net.minecraft.src.MinecraftImpl.<init>(MinecraftImpl.java:14)
at net.minecraft.client.Minecraft.startMainThread(Minecraft.java:2466)
at net.minecraft.client.Minecraft.startMainThread1(Minecraft.java:2452)
at net.minecraft.client.Minecraft.main(Minecraft.java:2525)
at Start.main(Start.java:22)
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
I have only just started modding today so I don't really know anything much at all. My question is: Could you have an example kit for all newbies? I kind of get it but I will get it better if I can load a pre-made mod.
I have only just started modding today so I don't really know anything much at all. My question is: Could you have an example kit for all newbies? I kind of get it but I will get it better if I can load a pre-made mod.
Thanks
These tutorials are basically premade mods. The only difference is that you need to put the code from the OP into some classes, and put a picture in the right spot. I can't do everything for you, I can't do everything for everyone. I put a lot of time into making these tutorials already, and replying to every single person who replies to this topic.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
I can see. Well I've tried my first thing but I'm still getting errors.
As you can see, I'm just trying to make more recipes where you can recraft ores. Any help would be great
Edit: I have just realised the bottom error is because "lapis" isn't an item, it's a dye. I can probably fix this tomorrow but the other ones I have no idea what's wrong.
I can see. Well I've tried my first thing but I'm still getting these errors:
== MCP 6.1 (data: 6.1, client: 1.2.4, server: 1.2.4) ==
# found jad, jad patches, ff patches, osx patches, srgs, name csvs, doc csvs, pa
ram csvs, astyle, astyle config
== Recompiling client ==
> Cleaning bin
> Recompiling
'"C:\Program Files\Java\jdk1.7.0_03\bin\javac" -Xlint:-options -deprecation -g -
source 1.6 -target 1....' failed : 1
== ERRORS FOUND ==
src\minecraft\net\minecraft\src\mod_OreRecipes.java:7: error: cannot find symbol
ModLoader.AddRecipe(new ItemStack(Block.oreCoal, 1), new Object[
]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
src\minecraft\net\minecraft\src\mod_OreRecipes.java:9: error: cannot find symbol
ModLoader.AddRecipe(new ItemStack(Block.oreIron, 1), new Object[
]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
src\minecraft\net\minecraft\src\mod_OreRecipes.java:11: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(Block.oreGold, 1), new Object[
]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
src\minecraft\net\minecraft\src\mod_OreRecipes.java:13: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(Block.oreDiamond, 1), new Obje
ct[]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
src\minecraft\net\minecraft\src\mod_OreRecipes.java:15: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(Block.oreRedstone, 1), new Obj
ect[]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
src\minecraft\net\minecraft\src\mod_OreRecipes.java:18: error: cannot find symbo
l
{ "LSL", "SLS", "LSL", Character.valueOf('S'), Block.stone, Char
acter.valueOf('L'), Item.lapis});
^
symbol: variable lapis
location: class Item
src\minecraft\net\minecraft\src\mod_OreRecipes.java:17: error: cannot find symbo
l
ModLoader.AddRecipe(new ItemStack(Block.oreLapis, 1), new Object
[]
^
symbol: method AddRecipe(ItemStack,Object[])
location: class ModLoader
7 errors
==================
== Recompiling server ==
> Cleaning bin
> Recompiling
- Done in 5.05 seconds
Press any key to continue . . .
As you can see, I'm just trying to make more recipes where you can recraft ores. Any help would be great
Edit: I have just realised the bottom error is because "lapis" isn't an item, it's a dye. I can probably fix this tomorrow but the other ones I have no idea what's wrong.
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
HAHAHAHAHAH!!!!!!! IT WORKS!!!!!!
YOU SIR, ARE A GOD!!!! I SPENT OVER 6 HOURS STRAIGHT SCRATCHING MY HEAD AND GOING THROUGH CODE, AND YOU FIXED IT!!!!!!!!!!!!!!
YOU ARE AWESOME!!!!!!! I WISH I COULD +1 YOU A MILLION TIMES!!!!!
Thanks so much i think i figured out why it wasn't working! the number were like this: 13, 5, 3.
When they should've been like this 3, 5, 13.
Thanks now it works!
But when I tried making a flower i got an error!
Check it out. BTW still using 1.2.4.
BlockPotatoFlower.java
package net.minecraft.src;
import java.util.Random;
public class BlockPotatoFlower extends Block
{
protected BlockPotatoFlower(int i, int j)
{
super(i, Material.plants);
blockIndexInTexture = j;
setTickOnLoad(true); // This is the line with the error!
float f = 0.2F;
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 3F, 0.5F + f);
}
public boolean canPlaceBlockAt(World world, int i, int j, int k)
{
return super.canPlaceBlockAt(world, i, j, k) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
protected boolean canThisPlantGrowOnThisBlockID(int i)
{
return i == Block.grass.blockID || i == Block.dirt.blockID || i == Block.tilledField.blockID;
}
public void onNeighborBlockChange(World world, int i, int j, int k, int l)
{
super.onNeighborBlockChange(world, i, j, k, l);
checkFlowerChange(world, i, j, k);
}
public void updateTick(World world, int i, int j, int k, Random random)
{
checkFlowerChange(world, i, j, k);
}
protected final void checkFlowerChange(World world, int i, int j, int k)
{
if (!canBlockStay(world, i, j, k))
{
dropBlockAsItem(world, i, j, k, world.getBlockMetadata(i, j, k), 0);
world.setBlockWithNotify(i, j, k, 0);
}
}
public boolean canBlockStay(World world, int i, int j, int k)
{
return (world.getFullBlockLightValue(i, j, k) >= 8 || world.canBlockSeeTheSky(i, j, k)) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
return null;
}
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
public int getRenderType()
{
return 1;
}
}
mod_Flower.java
package net.minecraft.src;
public class mod_Flower extends BaseMod
{
public static final Block Potato = new BlockPotatoFlower(165, 0).setBlockName("anyPotato");
Thanks! Also i red one of your posts saying to get IDE Eclipse for java developers well i have
Eclipse SDK if thats the problem than sorry for wasting your time.
How does one make an entity that sets the ground on fire?
I've tried
int x = (int) posX;
int y = (int) posY;
int z = (int) posZ;
int i = x-1;
int j = y-1;
int k = z-1;
int n = 0;
while (n == 0)
{
if (worldObj.getBlockId(i, j, k) == 0);
{
worldObj.setBlockWithNotify(i + 1, j, k, Block.fire.blockID);
}
if (k > z+4)
j++;
if (j > y+4)
i++;
if (i > x+4)
n = 1;
}
but it seems to crash my minecraft.
Also, how do I make my mob more rare in BiomeGenBase? It seems to keep spawning nonstop.
Thanks so much i think i figured out why it wasn't working! the number were like this: 13, 5, 3.
When they should've been like this 3, 5, 13.
Thanks now it works!
But when I tried making a flower i got an error!
Check it out. BTW still using 1.2.4.
BlockPotatoFlower.java
package net.minecraft.src;
import java.util.Random;
public class BlockPotatoFlower extends Block
{
protected BlockPotatoFlower(int i, int j)
{
super(i, Material.plants);
blockIndexInTexture = j;
setTickOnLoad(true); // This is the line with the error!
float f = 0.2F;
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 3F, 0.5F + f);
}
public boolean canPlaceBlockAt(World world, int i, int j, int k)
{
return super.canPlaceBlockAt(world, i, j, k) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
protected boolean canThisPlantGrowOnThisBlockID(int i)
{
return i == Block.grass.blockID || i == Block.dirt.blockID || i == Block.tilledField.blockID;
}
public void onNeighborBlockChange(World world, int i, int j, int k, int l)
{
super.onNeighborBlockChange(world, i, j, k, l);
checkFlowerChange(world, i, j, k);
}
public void updateTick(World world, int i, int j, int k, Random random)
{
checkFlowerChange(world, i, j, k);
}
protected final void checkFlowerChange(World world, int i, int j, int k)
{
if (!canBlockStay(world, i, j, k))
{
dropBlockAsItem(world, i, j, k, world.getBlockMetadata(i, j, k), 0);
world.setBlockWithNotify(i, j, k, 0);
}
}
public boolean canBlockStay(World world, int i, int j, int k)
{
return (world.getFullBlockLightValue(i, j, k) >= 8 || world.canBlockSeeTheSky(i, j, k)) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
return null;
}
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
public int getRenderType()
{
return 1;
}
}
mod_Flower.java
package net.minecraft.src;
public class mod_Flower extends BaseMod
{
public static final Block Potato = new BlockPotatoFlower(165, 0).setBlockName("anyPotato");
Thanks! Also i red one of your posts saying to get IDE Eclipse for java developers well i have
Eclipse SDK if thats the problem than sorry for wasting your time.
When I wake up and come back from work I'll get into the tutorials! Can you add Bukkit too?
Bukkit plugins are quite different to standard mods for minecraft. I don't know how to make them, so tutorials aren't really possible at this current point in time.
How does one make an entity that sets the ground on fire?
I've tried
int x = (int) posX;
int y = (int) posY;
int z = (int) posZ;
int i = x-1;
int j = y-1;
int k = z-1;
int n = 0;
while (n == 0)
{
if (worldObj.getBlockId(i, j, k) == 0);
{
worldObj.setBlockWithNotify(i + 1, j, k, Block.fire.blockID);
}
if (k > z+4)
j++;
if (j > y+4)
i++;
if (i > x+4)
n = 1;
}
but it seems to crash my minecraft.
Also, how do I make my mob more rare in BiomeGenBase? It seems to keep spawning nonstop.
I'm not sure about fire walk. Try asking Strengthowns, he has managed to do it.
Why are you adding stuff to BiomeGenBase to make your mob spawn? Just use the ModLoader method. You can see it in both of my NPC tutorials on the OP.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
i realy need a better taming code i use the one from the wolf it is ok apart from some glitches and i also realy need to now how to make superhero always attack all villans that if you can show me how to do that it would be the best
i realy need a better taming code i use the one from the wolf it is ok apart from some glitches and i also realy need to now how to make superhero always attack all villans that if you can show me how to do that it would be the best
I can't help you with the taming code, but might be able to help you with the villain thing. Try adding this to the constructor of your EntitySuperhero class.
tasks.addTask(1, new EntityAIAttackOnCollide(this, net.minecraft.src.EntityVillain.class, moveSpeed, false));
tasks.addTask(2, new EntityAIWatchClosest(this, net.minecraft.src.EntityVillain.class, 8F));
targetTasks.addTask(1, new EntityAIHurtByTarget(this, false));
targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, net.minecraft.src.EntityVillain.class, 16F, 0, true));
Change the name of the entities and ids of the tasks as required. If this doesn't work, then I don't know how to do it.
Rollback Post to RevisionRollBack
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
i realy need a better taming code i use the one from the wolf it is ok apart from some glitches and i also realy need to now how to make superhero always attack all villans that if you can show me how to do that it would be the best
I would recommend taking a look at the wolf-attacking-sheep code. That could work with a little modifications, since the hero wouldnt attack you.
When spawning blocks during world generation, is there a way to place a single block a predetermined distance away from the player's initial spawn point?
Such as a getPlayerSpawn method? Or something similiar? If you know anything about this, that would be a huge help.
When spawning blocks during world generation, is there a way to place a single block a predetermined distance away from the player's initial spawn point?
Such as a getPlayerSpawn method? Or something similiar? If you know anything about this, that would be a huge help.
Have a look at this tutorial . It is for 1.0.0, but I think stuff is pretty much the same. I think the most important information you are looking for plays are around the 5 and a half minute mark in the video, but so you don't get lost at what he has done, it is easier to watch it from the beginning.
“Computers are incredibly fast, accurate and stupid; humans are incredibly slow, inaccurate and brilliant; together they are powerful beyond imagination."
About the armour, can you make an advanced armour tutorial? The kind of advanced I'm thinking of is a toggle sprint only when the armour is on (boots). Also, I would like a pumpkin-like helmet with a custom HUD. If you can, help me. If you can't, direct me to someone who can please.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Try making your block extend BlockContainer.
Get your classes out of src then decompile again.
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThanks
These tutorials are basically premade mods. The only difference is that you need to put the code from the OP into some classes, and put a picture in the right spot. I can't do everything for you, I can't do everything for everyone. I put a lot of time into making these tutorials already, and replying to every single person who replies to this topic.
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumAs you can see, I'm just trying to make more recipes where you can recraft ores. Any help would be great
Edit: I have just realised the bottom error is because "lapis" isn't an item, it's a dye. I can probably fix this tomorrow but the other ones I have no idea what's wrong.
should be
together they are powerful beyond imagination."
HAHAHAHAHAH!!!!!!! IT WORKS!!!!!!
YOU SIR, ARE A GOD!!!! I SPENT OVER 6 HOURS STRAIGHT SCRATCHING MY HEAD AND GOING THROUGH CODE, AND YOU FIXED IT!!!!!!!!!!!!!!
YOU ARE AWESOME!!!!!!! I WISH I COULD +1 YOU A MILLION TIMES!!!!!
When they should've been like this 3, 5, 13.
Thanks now it works!
But when I tried making a flower i got an error!
Check it out. BTW still using 1.2.4.
BlockPotatoFlower.java
import java.util.Random;
public class BlockPotatoFlower extends Block
{
protected BlockPotatoFlower(int i, int j)
{
super(i, Material.plants);
blockIndexInTexture = j;
setTickOnLoad(true); // This is the line with the error!
float f = 0.2F;
setBlockBounds(0.5F - f, 0.0F, 0.5F - f, 0.5F + f, f * 3F, 0.5F + f);
}
public boolean canPlaceBlockAt(World world, int i, int j, int k)
{
return super.canPlaceBlockAt(world, i, j, k) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
protected boolean canThisPlantGrowOnThisBlockID(int i)
{
return i == Block.grass.blockID || i == Block.dirt.blockID || i == Block.tilledField.blockID;
}
public void onNeighborBlockChange(World world, int i, int j, int k, int l)
{
super.onNeighborBlockChange(world, i, j, k, l);
checkFlowerChange(world, i, j, k);
}
public void updateTick(World world, int i, int j, int k, Random random)
{
checkFlowerChange(world, i, j, k);
}
protected final void checkFlowerChange(World world, int i, int j, int k)
{
if (!canBlockStay(world, i, j, k))
{
dropBlockAsItem(world, i, j, k, world.getBlockMetadata(i, j, k), 0);
world.setBlockWithNotify(i, j, k, 0);
}
}
public boolean canBlockStay(World world, int i, int j, int k)
{
return (world.getFullBlockLightValue(i, j, k) >= 8 || world.canBlockSeeTheSky(i, j, k)) && canThisPlantGrowOnThisBlockID(world.getBlockId(i, j - 1, k));
}
public AxisAlignedBB getCollisionBoundingBoxFromPool(World world, int i, int j, int k)
{
return null;
}
public boolean isOpaqueCube()
{
return false;
}
public boolean renderAsNormalBlock()
{
return false;
}
public int getRenderType()
{
return 1;
}
}
mod_Flower.java
public class mod_Flower extends BaseMod
{
public static final Block Potato = new BlockPotatoFlower(165, 0).setBlockName("anyPotato");
public void load()
{
Potato.blockIndexInTexture = ModLoader.addOverride("/terrain.png", "/pathtoyourfile/image.png");
ModLoader.registerBlock(Potato);
ModLoader.addName(Potato, "PotatoBush");
}
public String getVersion()
{
return "1.2.4";
}
}
Thanks! Also i red one of your posts saying to get IDE Eclipse for java developers well i have
Eclipse SDK if thats the problem than sorry for wasting your time.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThank you so much! The only bit I'm still stuck on is the dye item thingy. I tried working it out but it's all too confusing.
I've tried
int x = (int) posX; int y = (int) posY; int z = (int) posZ; int i = x-1; int j = y-1; int k = z-1; int n = 0; while (n == 0) { if (worldObj.getBlockId(i, j, k) == 0); { worldObj.setBlockWithNotify(i + 1, j, k, Block.fire.blockID); } if (k > z+4) j++; if (j > y+4) i++; if (i > x+4) n = 1; }but it seems to crash my minecraft.
Also, how do I make my mob more rare in BiomeGenBase? It seems to keep spawning nonstop.
most bukkit plugin developers are at bukkit.org
is now
I've updated the tutorial.
ModLoader.addRecipe(new ItemStack(itemName, 1), new Object [] {"#", Character.valueOf('#'), new ItemStack(Item.dyePowder, 1, 4)});You do it like that. This is also in the Recipes section on the OP.
Bukkit plugins are quite different to standard mods for minecraft. I don't know how to make them, so tutorials aren't really possible at this current point in time.
I'm not sure about fire walk. Try asking Strengthowns, he has managed to do it.
Why are you adding stuff to BiomeGenBase to make your mob spawn? Just use the ModLoader method. You can see it in both of my NPC tutorials on the OP.
together they are powerful beyond imagination."
I can't help you with the taming code, but might be able to help you with the villain thing. Try adding this to the constructor of your EntitySuperhero class.
Change the name of the entities and ids of the tasks as required. If this doesn't work, then I don't know how to do it.
together they are powerful beyond imagination."
I would recommend taking a look at the wolf-attacking-sheep code. That could work with a little modifications, since the hero wouldnt attack you.
-
View User Profile
-
View Posts
-
Send Message
Curse Premiummod_OreRecipes.java
public class mod_OreRecipes extends BaseMod
{
public void load()
{
ModLoader.addRecipe(new ItemStack(Block.oreCoal, 1), new Object[]
{ "SSS", "S#S", "SSS", Character.valueOf('S'), Block.stone, Character.valueOf('#'), Item.coal});
ModLoader.addRecipe(new ItemStack(Block.oreIron, 1), new Object[]
{ "SSS", "S#S", "SSS", Character.valueOf('S'), Block.stone, Character.valueOf('#'), Item.ingotIron});
ModLoader.addRecipe(new ItemStack(Block.oreGold, 1), new Object[]
{ "SSS", "S#S", "SSS", Character.valueOf('S'), Block.stone, Character.valueOf('#'), Item.ingotGold});
ModLoader.addRecipe(new ItemStack(Block.oreDiamond, 1), new Object[]
{ "SSS", "S#S", "SSS", Character.valueOf('S'), Block.stone, Character.valueOf('#'), Item.diamond});
ModLoader.addRecipe(new ItemStack(Block.oreRedstone, 1), new Object[]
{ "RSR", "SRS", "RSR", Character.valueOf('S'), Block.stone, Character.valueOf('R'), Item.redstone});
ModLoader.addRecipe(new ItemStack(Block.oreLapis, 1), new Object[]
{ "LSL", "SLS", "LSL", Character.valueOf('S'), Block.stone, Character.valueOf('L'), new ItemStack(Item.dyePowder, 1, 4)});
}
public String getVersion()
{
return "1.2.4";
}
}
Such as a getPlayerSpawn method? Or something similiar? If you know anything about this, that would be a huge help.
Make sure your class is in the correct package.
Have a look at this tutorial . It is for 1.0.0, but I think stuff is pretty much the same. I think the most important information you are looking for plays are around the 5 and a half minute mark in the video, but so you don't get lost at what he has done, it is easier to watch it from the beginning.
together they are powerful beyond imagination."
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhat do you mean? As I said before, I have had no modding experience at all before.
The kind of advanced I'm thinking of is a toggle sprint only when the armour is on (boots).
Also, I would like a pumpkin-like helmet with a custom HUD.
If you can, help me. If you can't, direct me to someone who can please.