Wow dude. You have told the best 2 modelers and mob makers around Mo' Creatures and More Creeps and wierdos. without u the modding community would be alot different. well done
How do i compile it?
i only have 3 folders result classes source for mcp and texture for minecraft.jar please help me
im fairly new to modding i only made 4 other basic item mods
I got some errors on making my "ninja" mod
here they are
src\minecraft\net\minecraft\src\NetClientHandler.java:682: error: cannot find symbol
EntityLiving entityliving = (EntityLiving)EntityList.createEntityByID(par1Packet24MobSpawn.type, mc.theWorld);
^
symbol: method createEntityByID(int,World)
location: class EntityList
src\minecraft\net\minecraft\src\NetClientHandler.java:938: error: cannot find symbol
((TileEntityMobSpawner)tileentity).setMobID(EntityList.getStringFromID(par1Packet132TileEntityData.customParam1));
^
symbol: method getStringFromID(int)
location: class EntityList
src\minecraft\net\minecraft\src\ContainerCreative.java:98: error: cannot find symbol
for (Iterator iterator = EntityList.entityEggs.keySet().iterator(); iterator.hasNext(); itemList.add(new ItemStack(Item.monsterPlacer.shiftedIndex, 1, integer.intValue())))
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\EntityList.java:125: error: cannot find symbol
addMapping(EntityMobs.class, "Monster", 49);
^
symbol: class EntityMobs
location: class EntityList
src\minecraft\net\minecraft\src\EntityList.java:129: error: cannot find symbol
addMapping(EntityZombieSimple.class, "Giant", 53);
^
symbol: class EntityZombieSimple
location: class EntityList
src\minecraft\net\minecraft\src\EntityNinja.java:3: error: EntityNinja is not abstract and does not override abstract method getMaxHealth() in EntityLiving
public class EntityNinja extends EntityCreature
^
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:17: error: cannot find symbol
String s1 = EntityList.getStringFromID(par1ItemStack.getItemDamage());
^
symbol: method getStringFromID(int)
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:29: error: cannot find symbol
EntityEggInfo entityegginfo = (EntityEggInfo)EntityList.entityEggs.get(Integer.valueOf(par1));
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:97: error: cannot find symbol
if (!EntityList.entityEggs.containsKey(Integer.valueOf(par1)))
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:102: error: cannot find symbol
Entity entity = EntityList.createEntityByID(par1, par0World);
^
symbol: method createEntityByID(int,World)
location: class EntityList
src\minecraft\net\minecraft\src\mod_Ninja.java:3: error: mod_Ninja is not abstract and does not override abstract method load() in BaseMod
public class mod_Ninja extends BaseMod
^
src\minecraft\net\minecraft\src\mod_Ninja.java:21: error: cannot find symbol
spawnlist.addCreaturesToSpawnList("Surface biomes", EntityNinja.class);
^
symbol: variable spawnlist
location: class mod_Ninja
src\minecraft\net\minecraft\src\ModLoader.java:1554: error: cannot find symbol
EntityList.entityEggs.put(Integer.valueOf(i), new EntityEggInfo(i, j, k));
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\TileEntityMobSpawner.java:86: error: cannot find symbol
EntityLiving entityliving = (EntityLiving)EntityList.createEntityByName(mobID, worldObj);
^
symbol: method createEntityByName(String,World)
location: class EntityList
src\minecraft\net\minecraft\src\TileEntityMobSpawnerRenderer.java:27: error: cannot find symbol
entity = EntityList.createEntityByName(par1TileEntityMobSpawner.getMobID(), null);
^
symbol: method createEntityByName(String,<null>)
location: class EntityList
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors
I have single player commands and every time I make a new mob it doesn't show up when I list all the mobs. They spawn, but I can't find out how to spawn one by typing in a command. I basically need to know how to get a savegame ID and a network ID. PLEASE HELP!!!
Then, at the bottom of your java file, above the final
}
add
static
{
defaultHeldItem = new ItemStack(Item.example, 1);
}
And POOF Your mob will hold the item that you decide. Just change the example to whatever item you want.
For example, if you wanted your mob to hold a stone pickaxe you would change it to Item.pickaxeStone
(Note: if you want it to hold an iron tool, use Steel instead of Iron. Ingots are good with Iron. This happens for some reason)
HOW TO INSTALL YOUR MOD AND GET THE CLASS FILES
Once you finished your mod, run recompile.bat and if no errors come up, you can test your mod by running startclient.bat (Note: it won't display any textures you made, that only works if you install it on the jar and you have to make mob\example.png and THEN install it) Once you've tested or you just want the mod, run reobfuscate.bat and once it's done go into your folder called reobf and inside should be your class files! Copy these onto your jar (remember to make the textures for any mobs or blocks or items and install them with the class files!) and run Minecraft! Your mod is now installed!
Is it possible to make the mob spawn really rarely, or in caves with a certain light level? And is it possible to make it teleport? And for some reason its not letting me edit the EntityPigman.Java. Help plz!
Really nice! I got two questions.
Can i exchange the pigman texture to a wolf texture?
And, how do i install the mod?
What is reobf? is there any other way to install?
texture = "/mob/example1.png"; to texture = "/mob/example2.png";
in the public Example(World par1World)
There are no other ways to install the mod, and "reobf" is a folder located with all your other MCP resources, i.e. "src" and "jars" and all the .bat's
It's telling me that spawnlist cant be resolved.
Please help?
Please help!
Link for source and edited files: http://www.mediafire.com/?075qwgo99gfd3a1
Recompile to fix it.
Dont bother
aaaaawwwwww, can you please give me a link to an updated one?
i only have 3 folders result classes source for mcp and texture for minecraft.jar please help me
im fairly new to modding i only made 4 other basic item mods
How do you change the hostility of a created mob.
Thanks
here they are
src\minecraft\net\minecraft\src\NetClientHandler.java:682: error: cannot find symbol
EntityLiving entityliving = (EntityLiving)EntityList.createEntityByID(par1Packet24MobSpawn.type, mc.theWorld);
^
symbol: method createEntityByID(int,World)
location: class EntityList
src\minecraft\net\minecraft\src\NetClientHandler.java:938: error: cannot find symbol
((TileEntityMobSpawner)tileentity).setMobID(EntityList.getStringFromID(par1Packet132TileEntityData.customParam1));
^
symbol: method getStringFromID(int)
location: class EntityList
src\minecraft\net\minecraft\src\ContainerCreative.java:98: error: cannot find symbol
for (Iterator iterator = EntityList.entityEggs.keySet().iterator(); iterator.hasNext(); itemList.add(new ItemStack(Item.monsterPlacer.shiftedIndex, 1, integer.intValue())))
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\EntityList.java:125: error: cannot find symbol
addMapping(EntityMobs.class, "Monster", 49);
^
symbol: class EntityMobs
location: class EntityList
src\minecraft\net\minecraft\src\EntityList.java:129: error: cannot find symbol
addMapping(EntityZombieSimple.class, "Giant", 53);
^
symbol: class EntityZombieSimple
location: class EntityList
src\minecraft\net\minecraft\src\EntityNinja.java:3: error: EntityNinja is not abstract and does not override abstract method getMaxHealth() in EntityLiving
public class EntityNinja extends EntityCreature
^
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:17: error: cannot find symbol
String s1 = EntityList.getStringFromID(par1ItemStack.getItemDamage());
^
symbol: method getStringFromID(int)
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:29: error: cannot find symbol
EntityEggInfo entityegginfo = (EntityEggInfo)EntityList.entityEggs.get(Integer.valueOf(par1));
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:97: error: cannot find symbol
if (!EntityList.entityEggs.containsKey(Integer.valueOf(par1)))
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\ItemMonsterPlacer.java:102: error: cannot find symbol
Entity entity = EntityList.createEntityByID(par1, par0World);
^
symbol: method createEntityByID(int,World)
location: class EntityList
src\minecraft\net\minecraft\src\mod_Ninja.java:3: error: mod_Ninja is not abstract and does not override abstract method load() in BaseMod
public class mod_Ninja extends BaseMod
^
src\minecraft\net\minecraft\src\mod_Ninja.java:21: error: cannot find symbol
spawnlist.addCreaturesToSpawnList("Surface biomes", EntityNinja.class);
^
symbol: variable spawnlist
location: class mod_Ninja
src\minecraft\net\minecraft\src\ModLoader.java:1554: error: cannot find symbol
EntityList.entityEggs.put(Integer.valueOf(i), new EntityEggInfo(i, j, k));
^
symbol: variable entityEggs
location: class EntityList
src\minecraft\net\minecraft\src\TileEntityMobSpawner.java:86: error: cannot find symbol
EntityLiving entityliving = (EntityLiving)EntityList.createEntityByName(mobID, worldObj);
^
symbol: method createEntityByName(String,World)
location: class EntityList
src\minecraft\net\minecraft\src\TileEntityMobSpawnerRenderer.java:27: error: cannot find symbol
entity = EntityList.createEntityByName(par1TileEntityMobSpawner.getMobID(), null);
^
symbol: method createEntityByName(String,<null>)
location: class EntityList
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors
Can you help me out??
Delete META-INF
To make a mob hold an item add
between
and
Then, at the bottom of your java file, above the final
add
And POOF Your mob will hold the item that you decide. Just change the example to whatever item you want.
For example, if you wanted your mob to hold a stone pickaxe you would change it to Item.pickaxeStone
(Note: if you want it to hold an iron tool, use Steel instead of Iron. Ingots are good with Iron. This happens for some reason)
HOW TO INSTALL YOUR MOD AND GET THE CLASS FILES
Once you finished your mod, run recompile.bat and if no errors come up, you can test your mod by running startclient.bat (Note: it won't display any textures you made, that only works if you install it on the jar and you have to make mob\example.png and THEN install it) Once you've tested or you just want the mod, run reobfuscate.bat and once it's done go into your folder called reobf and inside should be your class files! Copy these onto your jar (remember to make the textures for any mobs or blocks or items and install them with the class files!) and run Minecraft! Your mod is now installed!
texture = "/mob/example1.png"; to texture = "/mob/example2.png";
in the public Example(World par1World)
There are no other ways to install the mod, and "reobf" is a folder located with all your other MCP resources, i.e. "src" and "jars" and all the .bat's