Exemplo n.º 1
0
 public boolean hasInfinity() {
   return tile.getEnchantment(Enchantment.infinity) > 0;
 }
Exemplo n.º 2
0
 public boolean isTileEqual(TileEntityMobHarvester te) {
   return te != null && te.equals(tile);
 }
Exemplo n.º 3
0
 public int getLootingLevel() {
   return tile.getEnchantment(Enchantment.looting);
 }
Exemplo n.º 4
0
 public HarvesterDamage(TileEntityMobHarvester te) {
   super("player", te.getPlacer());
   tile = te;
 }