1

Mod Making

Technofreak301 6/18/12 6:22 am
209
8/6/2012 7:27 am
How do you make a mod? I really want to know how, because I have a really good idea and I want to make it and publish it.
What I want to know how to code:

*Mobs
*Armour
*Tools
*Items
*Entities that aren't mobs
*Everything else, just in case I need to know how.

The reason I'm asking is because the modding tutorials never show you how to code mobs, and I want more detailed, easier to understand information.
Anyone, please reply very soon.
Technofreak301
Posted by
Technofreak301
Level 26 : Expert System
12

  Have something to say?

JoinSign in

7

Technofreak301
08/06/2012 7:27 am
Level 26 : Expert System
Also, if you type this under the health code:

public int getMaxArmor()
{
return 20;
}
Will this give the mob armour points?
1
taylorgoff235
08/06/2012 7:13 am
Level 44 : Master Blob
Quadruple post O.O
1
Technofreak301
08/06/2012 7:10 am
Level 26 : Expert System
What AI "tasks" do you have to apply to give certain AI traits and attacks when coding mobs in mods that require Modloader? Also, how do you make mobs change skins depending on its current action(e.g. Ghast when its about to shoot), and can you have a priority list on AI tasks(e.g. so you can make exploding mobs only explode as a last resort)?

P.S. The main AI and attack traits I want to know are:
AI traits:
*Walking around obstacles
*Finding shortest possible route to target
*Avoiding/going around hazards
*Trying to prevent damage(e.g. running for water when on fire to douse flames)
*Seeing through certain blocks(I want to make my mob see through glass and certain other blocks)

Attacks:
*Exploding(like a creeper)
*Picking up/placing blocks
*Climbing walls
*Attacks that poison
*Arrow firing(list what the numbers at the end do)
*Fireball shooting(both blaze and ghast)
*Flight(blaze-style flight)
*Teleporting
1
Technofreak301
07/23/2012 2:31 am
Level 26 : Expert System
Also, how do you open .sh files in the terminal on a mac?
1
Technofreak301
07/14/2012 1:05 am
Level 26 : Expert System
I also want to know a good fast compiler that can turn .java source code files into java class files. I really want to know!
1
Technofreak301
06/21/2012 1:35 am
Level 26 : Expert System
:D With the AI, I would like to know how to:
*Determine whether the mob is passive, neutral or hostile
*Determine the player sensing distance of the mob I found out how to do this. :D
*Make the mob be able to navigate around obstacles to get to the target, calculate the shortest distance to the target, see through certain blocks, move away from certain blocks and entities unless certain conditions apply, retreat to a safe distance and use a long range attack when attacked by a player or other hostile mob, and seek out protection from hazards. (for block placing mobs, placing sand and gravel over the player's head so as to suffocate them and placing certain blocks next to certain other blocks under certain circumstances)

If I need any help, I'll say so!
1
MrThunderStick
06/18/2012 6:26 am
Level 11 : Journeyman System
What type of AI do you wish to learn? i'm good with AI
1

Welcome