From 6312636fd9a4d0f56dc7c9ff474a99d879bcb4e9 Mon Sep 17 00:00:00 2001 From: OnyxDarkKnight Date: Mon, 23 Mar 2015 14:51:06 +0000 Subject: Reworked the whole repo. --- java/darkknight/jewelrycraft/curses/Curse.java | 116 ------------------------- 1 file changed, 116 deletions(-) delete mode 100644 java/darkknight/jewelrycraft/curses/Curse.java (limited to 'java/darkknight/jewelrycraft/curses/Curse.java') diff --git a/java/darkknight/jewelrycraft/curses/Curse.java b/java/darkknight/jewelrycraft/curses/Curse.java deleted file mode 100644 index f833542..0000000 --- a/java/darkknight/jewelrycraft/curses/Curse.java +++ /dev/null @@ -1,116 +0,0 @@ -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; - -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(); - - /** - * @param id the ID of the curse - * @param name the name of the curse - * @param texturepack the ID of the pack the texture is located in - */ - protected Curse(int id, String name, int texturepack) - { - this.id = id; - this.name = name; - this.texturepack = texturepack; - curses.add(this); - availableCurses.add(this); - } - - /** - * @return the name of the curse - */ - public String getName() - { - return name; - } - - /** - * @return the description of the curse - */ - public String getDescription() - { - return description; - } - - public Curse setDescription(String desc) - { - description = desc; - return this; - } - - /** - * @return the curse ID - */ - public int getID() - { - return id; - } - - /** - * @return the texture pack ID - */ - public int getTexturePack() - { - return texturepack; - } - - /** - * @param world - * @param player - */ - 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() - { - return false; - } - - /** - * @return - */ - public static ArrayList getCurseList() - { - return curses; - } -} -- cgit v1.2.3