Esempio n. 1
0
 protected void entityInit() {
   super.entityInit();
   this.dataWatcher.addObject(18, new Integer(this.getHealth()));
   this.dataWatcher.addObject(19, new Byte((byte) 0));
   this.dataWatcher.addObject(20, new Byte((byte) BlockCloth.getBlockFromDye(1)));
   this.dataWatcher.addObject(23, "");
 }
 @Override
 protected void entityInit() {
   super.entityInit();
   this.dataWatcher.addObject(18, new Float(this.getHealth()));
   this.dataWatcher.addObject(19, new Float(this.colorRed));
   this.dataWatcher.addObject(20, new Float(this.colorGreen));
   this.dataWatcher.addObject(21, new Float(this.colorBlue));
   this.dataWatcher.addObject(22, new Integer(this.age));
   this.dataWatcher.addObject(23, "");
   this.dataWatcher.addObject(24, new Integer(this.favFoodID));
   this.dataWatcher.addObject(25, new Float(this.attackDamage));
   this.dataWatcher.addObject(26, new Integer(this.kills));
   this.dataWatcher.addObject(27, new ItemStack(Block.stone));
   this.setName("Unnamed");
 }
Esempio n. 3
0
 public void entityInit() {
   super.entityInit();
 }
Esempio n. 4
0
 protected void entityInit() {
   super.entityInit();
   this.dataWatcher.addObject(18, new Float(this.getHealth()));
   this.dataWatcher.addObject(20, new Byte((byte) 3));
 }
Esempio n. 5
0
 protected void entityInit() {
   super.entityInit();
   this.dataWatcher.addObject(18, ""); // Parts list
   this.dataWatcher.addObject(19, 0); // Has Mind Control device
   this.dataWatcher.addObject(20, ""); // Chat
 }
 protected void entityInit() {
   super.entityInit();
   this.getDataWatcher().addObject(12, Byte.valueOf((byte) 0));
   this.getDataWatcher().addObject(13, Byte.valueOf((byte) 0));
   this.getDataWatcher().addObject(14, Byte.valueOf((byte) 0));
 }