Updated to Minecraft version 1.4
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -158,7 +158,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
newEntity.health = entity.health;
|
||||
newEntity.fireTicks = entity.fireTicks;
|
||||
newEntity.inventory = entity.inventory;
|
||||
newEntity.inventory.e = newEntity;
|
||||
newEntity.inventory.d = newEntity;
|
||||
newEntity.activeContainer = entity.activeContainer;
|
||||
newEntity.defaultContainer = entity.defaultContainer;
|
||||
newEntity.locX = location.getX();
|
||||
@@ -194,14 +194,14 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
}
|
||||
|
||||
public void setSneaking(boolean sneak) {
|
||||
getHandle().b(sneak);
|
||||
getHandle().e(sneak);
|
||||
}
|
||||
|
||||
public boolean isSneaking() {
|
||||
return getHandle().U();
|
||||
return getHandle().Z();
|
||||
}
|
||||
|
||||
public void updateInventory() {
|
||||
getHandle().l();
|
||||
getHandle().m();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CraftSheep extends CraftAnimals implements Sheep {
|
||||
}
|
||||
|
||||
public DyeColor getColor() {
|
||||
return DyeColor.getByData((byte) getHandle().n());
|
||||
return DyeColor.getByData((byte) getHandle().o());
|
||||
}
|
||||
|
||||
public void setColor(DyeColor color) {
|
||||
|
||||
@@ -21,7 +21,7 @@ public class CraftSlime extends CraftLivingEntity implements Slime {
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return getHandle().c;
|
||||
return getHandle().m();
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
|
||||
Reference in New Issue
Block a user