Or if you already know java and just want to learn modding, look up sciguy1121 and wuppygaming on youtube.. best tutorials I can think of off the top of my head.
Well probably the best way to get accustomed to modding is to just make random stuff. When I was first starting out, I would try to make, say, a simple sword. Then mess with some values and see what happened. After a while, you begin to see how everything works, and that knowledge is invaluable when you are making a real mod.
My very first real mod though was relatively simple. It added ores that could be mined to get spawn eggs. Then to take it a bit farther, I added eggs for vanilla mobs that didn't have them (golems and giant). Hopefully this will spark an idea in your head!
Another suggestion is to make some simple items for the car mod. I still wouldn't go for making the whole mod just yet, but maybe messing with some simple stuff will help. For example, if you want to have a key item, try adding a key to the game. When you finally feel ready to make the mod, this might not be exactly how the key ends up, but it'll be a good learning experience and you won't be starting from nothing when you do start the mod.
Yep! Thank you! I've been messing around with it though, and I am confused about something. If you increase the Y velocity, shouldn't it go higher, rather than farther? It doesn't seem to change at all when I modify the Z velocity instead of the Y velocity:
Might be a little harsh, but you should lower your expectations a bit for your first mod. Not saying it is a bad idea, nor am I saying that you won't one day be able to make it. However, it sounds like you want to make a giant awesome mod with little to no coding experience. I would recommend learning Java before even touching Minecraft modding. A basic understanding of the language will go a long way. Also, like Minecrafter pointed out above, follow some tutorials on the basics of modding.
I am all for hopes, and dreams, and blah, blah, but you don't want to get in over your head and become discouraged.
Just my two cents.. If you really think you can do this, go ahead! I would love to see the end product! Sounds neat!
Can anyone help me out with changing the distance a projectile flies? Below is my code for a custom projectile (Copied and changed the snowball base class). Can someone tell me what I need to do, or at least point me in the right direction?
package mods.StaffCraft;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.monster.EntityBlaze;
import net.minecraft.entity.projectile.EntityThrowable;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.util.Vec3;
import net.minecraft.world.World;
public class EntityFireballProjectile extends EntityThrowable
{
byte dmg = 4;
public EntityFireballProjectile(World par1World)
{
super(par1World);
}
public EntityFireballProjectile(World par1World, EntityLiving par2EntityLiving, double degrees, byte dmg)
{
super(par1World, par2EntityLiving);
this.dmg = dmg;
Vec3 velocity = par1World.getWorldVec3Pool().getVecFromPool(this.motionX, this.motionY, this.motionZ);
velocity.rotateAroundY((float)(degrees*Math.PI/90.0) * (rand.nextFloat() - 0.5F));
this.motionX = velocity.xCoord;
this.motionY = velocity.yCoord;
this.motionZ = velocity.zCoord;
}
public EntityFireballProjectile(World par1World, double par2, double par4, double par6)
{
super(par1World, par2, par4, par6);
}
/**
* Called when this EntityThrowable hits a block or entity.
*/
protected void onImpact(MovingObjectPosition par1MovingObjectPosition)
{
if (par1MovingObjectPosition.entityHit != null)
{
par1MovingObjectPosition.entityHit.attackEntityFrom(DamageSource.causeThrownDamage(this, this.getThrower()), dmg);
}
for (int i = 0; i < 8; ++i)
{
//ParticleEffects.spawnParticle("fire", this.posX, this.posY, this.posZ, 0.0D, 0.0D, 0.0D);
}
if (!this.worldObj.isRemote)
{
this.setDead();
}
}
}
0
0
How can I add a player stat? I want to have a mana system for my mod, but I cannot figure this out.. Any help would be appreciated!
Thanks!
0
0
0
0
0
Or if you already know java and just want to learn modding, look up sciguy1121 and wuppygaming on youtube.. best tutorials I can think of off the top of my head.
0
0
Support!
0
0
My very first real mod though was relatively simple. It added ores that could be mined to get spawn eggs. Then to take it a bit farther, I added eggs for vanilla mobs that didn't have them (golems and giant). Hopefully this will spark an idea in your head!
Another suggestion is to make some simple items for the car mod. I still wouldn't go for making the whole mod just yet, but maybe messing with some simple stuff will help. For example, if you want to have a key item, try adding a key to the game. When you finally feel ready to make the mod, this might not be exactly how the key ends up, but it'll be a good learning experience and you won't be starting from nothing when you do start the mod.
0
Not really an issue, just wondering if anyone knows why this is.
0
I am all for hopes, and dreams, and blah, blah, but you don't want to get in over your head and become discouraged.
Just my two cents.. If you really think you can do this, go ahead! I would love to see the end product! Sounds neat!
0
0
Can anyone help me out with changing the distance a projectile flies? Below is my code for a custom projectile (Copied and changed the snowball base class). Can someone tell me what I need to do, or at least point me in the right direction?
Thanks!