Cleaned things
This commit is contained in:
parent
7cf77cdad0
commit
de274b87b5
15 changed files with 25 additions and 87 deletions
|
|
@ -16,13 +16,8 @@ import cpw.mods.fml.common.IScheduledTickHandler;
|
|||
import cpw.mods.fml.common.TickType;
|
||||
|
||||
public class TickHandler implements IScheduledTickHandler {
|
||||
private EnumSet ticks;
|
||||
public static final Enchantment[] enchantmentsPick = { Enchantment.efficiency, Enchantment.fortune, Enchantment.silkTouch, Enchantment.unbreaking };
|
||||
|
||||
public TickHandler() {
|
||||
this.ticks = EnumSet.of(TickType.PLAYER);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getLabel() {
|
||||
return "mystic world tick";
|
||||
|
|
@ -35,14 +30,11 @@ public class TickHandler implements IScheduledTickHandler {
|
|||
|
||||
@Override
|
||||
public void tickEnd(EnumSet<TickType> type, Object... tickData) {
|
||||
EntityPlayer player = (EntityPlayer) tickData[0];
|
||||
World world = player.worldObj;
|
||||
InventoryPlayer inventory = player.inventory;
|
||||
}
|
||||
|
||||
@Override
|
||||
public EnumSet ticks() {
|
||||
return this.ticks;
|
||||
public EnumSet<TickType> ticks() {
|
||||
return EnumSet.of(TickType.PLAYER);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue