@@ -137,7 +137,7 @@ public void setRelativeTime(long time) {
public List <Mob > getMobList () {
List <Mob > toRet = new ArrayList <Mob >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityMob || o instanceof OEntityGhast || o instanceof OEntitySlime || o instanceof OEntityEnderDragon || o instanceof OEntityLavaSlime ) {
toRet .add (new Mob ((OEntityLiving ) o ));
}
@@ -153,7 +153,7 @@ public List<Mob> getMobList() {
public List <Mob > getAnimalList () {
List <Mob > toRet = new ArrayList <Mob >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityAnimal || o instanceof OEntitySquid || o instanceof OEntitySnowMan ) {
toRet .add (new Mob ((OEntityLiving ) o ));
}
@@ -169,7 +169,7 @@ public List<Mob> getAnimalList() {
public List <Minecart > getMinecartList () {
List <Minecart > toRet = new ArrayList <Minecart >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityMinecart ) {
toRet .add (((OEntityMinecart ) o ).cart );
}
@@ -185,7 +185,7 @@ public List<Minecart> getMinecartList() {
public List <Boat > getBoatList () {
List <Boat > toRet = new ArrayList <Boat >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityBoat ) {
toRet .add (((OEntityBoat ) o ).boat );
}
@@ -201,7 +201,7 @@ public List<Boat> getBoatList() {
public List <BaseEntity > getEntityList () {
List <BaseEntity > toRet = new ArrayList <BaseEntity >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityMob || o instanceof OEntityGhast || o instanceof OEntityAnimal || o instanceof OEntitySlime || o instanceof OEntityEnderDragon || o instanceof OEntityLavaSlime || o instanceof OEntityVillager || o instanceof OEntitySquid || o instanceof OEntitySnowMan ) {
toRet .add (new Mob ((OEntityLiving ) o ));
} else if (o instanceof OEntityMinecart ) {
@@ -225,7 +225,7 @@ public List<BaseEntity> getEntityList() {
public List <ItemEntity > getItemList () {
List <ItemEntity > toRet = new ArrayList <ItemEntity >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityItem ) {
toRet .add (((OEntityItem ) o ).item );
}
@@ -242,7 +242,7 @@ public List<ItemEntity> getItemList() {
public List <LivingEntity > getLivingEntityList () {
List <LivingEntity > toRet = new ArrayList <LivingEntity >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityMob || o instanceof OEntityGhast || o instanceof OEntityAnimal || o instanceof OEntitySlime || o instanceof OEntityEnderDragon || o instanceof OEntityLavaSlime || o instanceof OEntityVillager || o instanceof OEntitySquid || o instanceof OEntitySnowMan ) {
toRet .add (new Mob ((OEntityLiving ) o ));
} else if (o instanceof OEntityPlayerMP ) {
@@ -260,7 +260,7 @@ public List<LivingEntity> getLivingEntityList() {
public List <BaseVehicle > getVehicleEntityList () {
List <BaseVehicle > toRet = new ArrayList <BaseVehicle >();
for (Object o : world .c ) {
for (Object o : world .b ) {
if (o instanceof OEntityMinecart ) {
toRet .add (((OEntityMinecart ) o ).cart );
} else if (o instanceof OEntityBoat ) {