コード例 #1
0
  public List<MCEntity> getNearbyEntities(double x, double y, double z) {
    List<Entity> lst = e.getNearbyEntities(x, y, z);
    List<MCEntity> retn = new ArrayList<MCEntity>();

    for (Entity e : lst) {
      retn.add(BukkitConvertor.BukkitGetCorrectEntity(e));
    }

    return retn;
  }
コード例 #2
0
 public MCEntity getPassenger() {
   return BukkitConvertor.BukkitGetCorrectEntity(e.getPassenger());
 }