Improved efficiency with staff and orb effects.
This commit is contained in:
parent
3d263f4d92
commit
d1a51bb691
13 changed files with 298 additions and 99 deletions
20
common/MysticWorld/Items/ItemOrb.java
Normal file
20
common/MysticWorld/Items/ItemOrb.java
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package MysticWorld.Items;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import MysticWorld.MysticWorld;
|
||||
import net.minecraft.item.Item;
|
||||
|
||||
public class ItemOrb extends Item {
|
||||
|
||||
Random rand = new Random();
|
||||
|
||||
public ItemOrb(int id)
|
||||
{
|
||||
super(id);
|
||||
this.setMaxStackSize(1);
|
||||
this.setMaxDamage(200);
|
||||
this.setCreativeTab(MysticWorld.MysticWorldTab);
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue