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