=D Yay, someone who prefers ModLoader! Ok here is the code, I will try to explain what happens:
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer, int par4, int par5, int par6)
{
par3EntityPlayer.addPotionEffect(new PotionEffect(Potion.*effect*.id, *length*, 0));
return par1ItemStack;
}
So what it does is on a right click that it derives by said itemstack, the .addPotionEffect statement add the potion effect withe the three parameters, BE SURE NOT TO CHANGE THE ARGUMENTS! This file overrides the super class, so it won't play nice if you change the args! Where the *-----* are are changeable parameters, mess around and find the effect and length you want! If it helps a reputation boost would be appreciated!
Hey uhm, do this mod need Modloader or Forge? if not, then great ..
This mod is really good, you could add screenshots about the swords and add more swords..
EDIT: Sorry for asking if it needs ModLoader or Forge.. I didn't know the installation is in the zip file
Hi, your mod is awesome, i have an idea to improve it, your should make the lightsabers glow in dark, it would be really great because it is LIGHTsaber.
thanks for the good mods
A config file, please. Just to set the block IDs. would like to move it a bit higher more like 1800. (I know, I know, but am using the 4096 block ID limit now.)
It would also help resolve potential ID conflicts if the option to change IDs in a config were there.
Other than that, my littlest sat for 5 mins bouncing and giggling on this. Thanks for the mod
yeah I know, sadly i think i am going to switch to forge, something I've been avoiding for a bi to long =)
Damage: 10
durability 2000
special ability: nausea effect on enemies hit
on right click: activate rampage mode:deals double damage, spends 5 durability per hit
---Blade of heaven---
(holy dust)-the recipe will give you 8 holy dusts
G- glowstone A-golden apple (the one crafted with nuggets) R- redstone
G A G
A R A
G A G
(purified gem)
H- holy dust; E- evil stone
H H H
H E H
H H H
the sword
P purified gem; I-iron ingot
P
P
I
damage: 15
durability:3000
special ability: sets enemies on fire
on right click: shoot a energy wave(like an arrow, but textured difrently) dealing 5 damage, if you charge it it will deal 10 damage. uses rotten flesh as ammo
that's it for now but i have some other ideas. i can help with the textures if you do this swords
Hello! I just wanted to give a huge thank you to the mystical force that generated a record 2,507 downloads TODAY ALONE! Thanks so much for the support.
umm, when ever i try to use (ignite) a lightsaber, the game freezes. I think it's because i didnt know how to install it correctly or it wasnt compatible with a mod, could u perhaps put up installation instructions?
the mod package COMES WITH AN INSTALLATION TUTORIAL! You forgot to install the sounds.
0
if you don't post error logs, i can't help.
0
0
1
So what it does is on a right click that it derives by said itemstack, the .addPotionEffect statement add the potion effect withe the three parameters, BE SURE NOT TO CHANGE THE ARGUMENTS! This file overrides the super class, so it won't play nice if you change the args! Where the *-----* are are changeable parameters, mess around and find the effect and length you want! If it helps a reputation boost would be appreciated!
-Quince
0
0
0
0
0
yeah I know, sadly i think i am going to switch to forge, something I've been avoiding for a bi to long =)
0
good ideas =)
0
-annoying texture bug(where books, armor, and firework stars were weird) has been squashed!
0
0
working on it
0
press the large download button on the main page
0