improve container gui
This commit is contained in:
parent
10abaef2b4
commit
1fa3d76aed
10 changed files with 17 additions and 8 deletions
|
@ -11,7 +11,7 @@ public class EntityCameraHolder extends EntityNPC {
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
public boolean hasArmorSlot(Equipment slot) {
|
||||
|
|
|
@ -10,7 +10,7 @@ public class EntityDwarf extends EntityNPC {
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 30;
|
||||
return 800;
|
||||
}
|
||||
|
||||
// public boolean isAggressive() {
|
||||
|
|
|
@ -14,7 +14,7 @@ public class EntityFireDemon extends EntityFlyingNPC {
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 48;
|
||||
return 2800;
|
||||
}
|
||||
|
||||
// public boolean isAggressive() {
|
||||
|
|
|
@ -10,7 +10,7 @@ public class EntityGoblin extends EntityNPC {
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 24;
|
||||
return 600;
|
||||
}
|
||||
|
||||
public boolean isAggressive(Class<? extends EntityNPC> clazz) {
|
||||
|
|
|
@ -2758,7 +2758,7 @@ public abstract class EntityNPC extends EntityLiving implements IInventory
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 36;
|
||||
return 1200;
|
||||
}
|
||||
|
||||
public int getInventoryWeight() {
|
||||
|
|
|
@ -88,7 +88,7 @@ public class EntityPrimarch extends EntityMobNPC {
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 48;
|
||||
return 2500;
|
||||
}
|
||||
|
||||
// public boolean isAggressive() {
|
||||
|
|
|
@ -44,7 +44,7 @@ public class EntitySlime extends EntityNPC
|
|||
}
|
||||
|
||||
public int getInventoryCapacity() {
|
||||
return 12;
|
||||
return 1000;
|
||||
}
|
||||
|
||||
public boolean hasArmorSlot(Equipment slot) {
|
||||
|
|
|
@ -191,6 +191,8 @@ public abstract class Vars {
|
|||
public static boolean skullDrop = true;
|
||||
@Var(name = "deviceExplosions")
|
||||
public static boolean deviceExplosions = true;
|
||||
@Var(name = "itemWeight")
|
||||
public static boolean itemWeight = true;
|
||||
|
||||
@Var(name = "keepInventory")
|
||||
public static boolean keepInventory = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue