this.loadFromNBT(nbt);
if (world.getGame() != null) {
this.game = world.getGame();
this.input = game.input;
input.addListener(this);
game.hud = new GuiHUD(game, this, Game.WIDTH, Game.HEIGHT);
}
this.inventory = new Inventory(0, "Player Inventory", 20);
this.bounds = new LocalBounds(8, 4, 4, 12);
this.renderLayer = 3;
this.id = 0;