1
Mod Making
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
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
7
Also, if you type this under the health code:
public int getMaxArmor()
{
return 20;
}
Will this give the mob armour points?
public int getMaxArmor()
{
return 20;
}
Will this give the mob armour points?
Quadruple post O.O
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
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
Also, how do you open .sh files in the terminal on a mac?
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!
: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!
*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!
What type of AI do you wish to learn? i'm good with AI
