Esempio n. 1
0
 public EntityGhost(World world, String playerName, IInventory playerInvent) {
   this(world);
   this.playerName = playerName;
   // use the dead players skin (ew)
   // if (world.isRemote) {
   // this.skinUrl = "http://skins.minecraft.net/MinecraftSkins/"
   // + StringUtils.stripControlCodes(playerName) + ".png";
   // }
   // copy the inventory from the player inventory
   inventory.copyFrom(playerInvent);
 }