summaryrefslogtreecommitdiff
path: root/java/darkknight/jewelrycraft/curses/Curse.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-03-23 14:25:27 +0000
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-03-23 14:25:27 +0000
commite86949a1ad3269ec66c9de65e2c92f5e66251411 (patch)
treeabe7a3b14d7a5f7bb27a916a991f8911de94c1d2 /java/darkknight/jewelrycraft/curses/Curse.java
parent12cb40ba14e76b999a381b1f122bfce73223fd38 (diff)
More stuff. I don't even know by this point....
Diffstat (limited to 'java/darkknight/jewelrycraft/curses/Curse.java')
-rw-r--r--java/darkknight/jewelrycraft/curses/Curse.java31
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()
{