diff options
Diffstat (limited to 'java/darkknight/jewelrycraft/curses/Curse.java')
| -rw-r--r-- | java/darkknight/jewelrycraft/curses/Curse.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/java/darkknight/jewelrycraft/curses/Curse.java b/java/darkknight/jewelrycraft/curses/Curse.java index 08421ef..f833542 100644 --- a/java/darkknight/jewelrycraft/curses/Curse.java +++ b/java/darkknight/jewelrycraft/curses/Curse.java @@ -1,6 +1,8 @@ package darkknight.jewelrycraft.curses; import java.util.ArrayList; +import java.util.Random; +import net.minecraft.entity.Entity; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.world.World; @@ -8,6 +10,7 @@ public class Curse { protected int id, texturepack; protected String name, description; + protected Random rand = new Random(); private static ArrayList<Curse> curses = new ArrayList<Curse>(); public static ArrayList<Curse> availableCurses = new ArrayList<Curse>(); @@ -69,6 +72,34 @@ public class Curse */ public void action(World world, EntityPlayer player) {} + + /** + * @param world + * @param player + */ + public void deathAction(World world, EntityPlayer player) + {} + + /** + * @param world + * @param player + */ + public void respawnAction(World world, EntityPlayer player) + {} + + /** + * @param world + * @param player + */ + public void attackedAction(World world, EntityPlayer player) + {} + + /** + * @param world + * @param player + */ + public void attackedByPlayerAction(World world, EntityPlayer player, Entity target) + {} public boolean itemToss() { |
