@Override
 public List<IBlock> getLastTwoTargetBlocks(HashSet<Byte> transparent, int maxDistance) {
   return ObjectWrapper.convert(livingEntity.getLastTwoTargetBlocks(transparent, maxDistance));
 }
 @Override
 public List<IBlock> getLineOfSight(HashSet<Byte> transparent, int maxDistance) {
   return ObjectWrapper.convert(livingEntity.getLineOfSight(transparent, maxDistance));
 }
 @Override
 public IBlock getTargetBlock(HashSet<Byte> transparent, int maxDistance) {
   return ObjectWrapper.convert(livingEntity.getTargetBlock(transparent, maxDistance));
 }
 @Override
 public ILocation getEyeLocation() {
   return ObjectWrapper.convert(livingEntity.getEyeLocation());
 }
 @Override
 public RunsafeEntityEquipment getEquipment() {
   return ObjectWrapper.convert(livingEntity.getEquipment());
 }
 @Override
 public IEntity getLeashHolder() {
   return ObjectWrapper.convert(livingEntity.getLeashHolder());
 }
 @Override
 public IPlayer getKiller() {
   return ObjectWrapper.convert((OfflinePlayer) livingEntity.getKiller());
 }
Пример #8
0
 public IEntity getVehicle() {
   return ObjectWrapper.convert(event.getVehicle());
 }