From e86949a1ad3269ec66c9de65e2c92f5e66251411 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Mon, 23 Mar 2015 14:25:27 +0000 Subject: More stuff. I don't even know by this point.... --- java/darkknight/jewelrycraft/curses/Curse.java | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'java/darkknight/jewelrycraft/curses/Curse.java') 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 curses = new ArrayList(); public static ArrayList availableCurses = new ArrayList(); @@ -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() { -- cgit v1.2.3