I have a mob and all my .java file's are free of errors except for two errors. One in my mod_Mob.java and my ModelGod.
mod_Mob:
package net.minecraft.src;
import java.util.Random;
import java.util.Map;
public class mod_Mob extends BaseMod
{
public mod_Mob()
{
AddMobs();
}
public void AddMobs()
{
//This line just registers the mob, and sets a name for it, as well as it's own unique entity ID
ModLoader.RegisterEntityID(EntityGod.class, "God", ModLoader.getUniqueEntityId());
//This line makes tells the mob to spawn. The number 500 is how rare the mob is
//EnumCreatureType.creature = land mob, EnumCreatureType.waterCreature = water mob,
//EnumCreatureType.monster = a hostile mob that only spawns in darkness
//this line below
ModLoader.AddSpawn(EntityGod.class, 325, EnumCreatureType.creature);
}
public void AddRenderer(Map map)
{
map.put(EntityGod.class, new RenderGod(new ModelGod(), 0.5F));
}
public String Version()
{
return "1.8.1";
}
}
As you can see from the title, I'm having trouble withint this code:
package net.minecraft.src;
import java.util.Random;
public class BlockG extends Block
{
protected BlockG(int i, int j)
{
super(i,j,Material.wood);
}
//right here
public int idDropped(int i, Random random)
{
return mod_Block.GodBlock;
}
public int quantityDropped(Random, random)
{
return 4;
}
}
Thank you guy's all on the positive feedback, Im going to bed soon, cause I've been up for 24 hours, if there's any bugs please follow the guideline. thxs :biggrin.gif:
Hello everyone and thanks for viewing my thread, GodCraft add's additional armor, tools, and blocks. This mod is compatible with minecraft 1.81(I can update to prelease if you guys want), It uses standard ModLoader so it won't interfere with any other mods. Keep in mind if you have any suggestions, I'm a new coder and It's not like I can do everything. Thank you PhasedTG for helping me with some java codes!
Quote from Wyatt »
Before questioning me and flaming me please keep in mind I'm a new mod developer and I know "this is so standard". Well as I learn new java code and how to add new things to Minecraft I will update, Also some things I will need feedback on if you guys like the new updates or not. so thanks for reading and downlaoding my very first Mod.
Also I am working on new items and blocks they will all be combined in a major update. instead of multiple updates.
Here are all the Items, armors, and crafting recipes.
Windows
Start>Run>search"%appdata%">Roaming>.Minecraft>bin>minecraft.jar>
1.Delete META-INF
2.Drag and drop all files except god_1 and god_2
3.drag god_1 and god_2 into the armor folder
-----------
Mac
1.Open Finder
2. go to Library
3. go to Application support
4. then open the minecraft folder
5. open the bin folder
6. right click Minecraft.jar
7. open with "archive utility"
8.open the zipped minecraft folder
9. DELETE META-INF
10.install ModLoader
11. install my classes
12 drag my classes in
13. then drag god_1 and god_2 into the armor folder
------------
Mac(different way)
1.Open Finder
2. go to Library
3. go to Application support
4. then open the minecraft folder
5. open the bin folder
7. rename minecraft.jar then you can open it up
8. DELETE META-INF
9.install ModLoader
10. install my classes
11.drag my classes in
12. then drag god_1 and god_2 into the armor folder
13. then rename it minecraft.jar
(sorry if the mac tutorials are wrong, I use windows was just using the installation from some videos I watched.)
v1 released
Hany any bugs? then copy the error and put it in between these
Well I think Im right about this you can't edit a server with a client mod. there would have to be a server plugin, if you check the server plugins, some servers have a nicknames plugin maybe an admin changed his name to LOLO and was kicking people.
0
0
Because the ore is from the gods which makes the tools and armor, also if you havn't noticed, Im 50% finished with my god NPC and a mob.
0
Are you talkng about the sticks?
0
look at the bottom part of the thread.
Also adding a video tutorial on how to install!
0
lol, thanks I used Photoshop for the 3D text. too :biggrin.gif:
0
0
0
mod_Mob:
heres my ModelGod:
0
I'm getting and error.
0
Thank you for all the help!
0
thank you! let me know if you download it and if there's any bugs.
0
0
Hello everyone and thanks for viewing my thread, GodCraft add's additional armor, tools, and blocks. This mod is compatible with minecraft 1.81(I can update to prelease if you guys want), It uses standard ModLoader so it won't interfere with any other mods. Keep in mind if you have any suggestions, I'm a new coder and It's not like I can do everything.
Thank you PhasedTG for helping me with some java codes!
Also I am working on new items and blocks they will all be combined in a major update. instead of multiple updates.
Here are all the Items, armors, and crafting recipes.
sword
pickaxe
spade
hoe
axe
Helmet
Chest
Legs
Boots
God Block
Minecraft 1.8.1 Download If you download you are accepting the copyright and agreeing to it.
THIS MOD REQUIRES MODLOADER
(sorry if the mac tutorials are wrong, I use windows was just using the installation from some videos I watched.)
Hany any bugs? then copy the error and put it in between these
Got any suggestions? feel free to post them and if I like them Id add them to this list
0
0