mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 23:52:19 +00:00
Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
This commit is contained in:
1 parent
0d3436c71b
commit
6ae465c5d0
51 files changed
+226
-1024
No files matched your search
@@ -250,7 +250,7 @@ public class JobSpawner extends JobInterface{
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean isEmpty(){
|
||||
private boolean isEmpty(){
|
||||
if(compound1 != null && compound1.hasKey("id"))
|
||||
return false;
|
||||
if(compound2 != null && compound2.hasKey("id"))
|
||||
@@ -365,7 +365,7 @@ public class JobSpawner extends JobInterface{
|
||||
return living;
|
||||
}
|
||||
|
||||
public NBTTagCompound getCompound(int i) {
|
||||
private NBTTagCompound getCompound(int i) {
|
||||
if(i <= 1 && compound1 != null && compound1.hasKey("id")){
|
||||
number = 1;
|
||||
return compound1;
|
||||
@@ -394,7 +394,7 @@ public class JobSpawner extends JobInterface{
|
||||
}
|
||||
|
||||
|
||||
public List<EntityLivingBase> getNearbySpawned(){
|
||||
private List<EntityLivingBase> getNearbySpawned(){
|
||||
List<EntityLivingBase> spawnList = new ArrayList<EntityLivingBase>();
|
||||
List<EntityLivingBase> list = npc.worldObj.getEntitiesWithinAABB(EntityLivingBase.class, npc.boundingBox.expand(40, 40, 40));
|
||||
for(EntityLivingBase entity : list){
|
||||
|
||||
Reference in new issue
Block a user