Example #1
0
 public EntityCreeper(EntityTyped e)
     : base(e)
 {
     EntityCreeper e2 = e as EntityCreeper;
     if (e2 != null) {
         _powered = e2._powered;
     }
 }
 public EntityPrimedTnt(EntityTyped e)
     : base(e)
 {
     EntityPrimedTnt e2 = e as EntityPrimedTnt;
     if (e2 != null) {
         _fuse = e2._fuse;
     }
 }
 public EntityFallingSand(EntityTyped e)
     : base(e)
 {
     EntityFallingSand e2 = e as EntityFallingSand;
     if (e2 != null) {
         _tile = e2._tile;
     }
 }
Example #4
0
 public EntityPig(EntityTyped e)
     : base(e)
 {
     EntityPig e2 = e as EntityPig;
     if (e2 != null) {
         _saddle = e2._saddle;
     }
 }
Example #5
0
 public EntitySlime(EntityTyped e)
     : base(e)
 {
     EntitySlime e2 = e as EntitySlime;
     if (e2 != null) {
         _size = e2._size;
     }
 }
Example #6
0
 public EntityMinecart(EntityTyped e)
     : base(e)
 {
     EntityMinecart e2 = e as EntityMinecart;
     if (e2 != null) {
         _type = e2._type;
     }
 }
Example #7
0
 public EntitySheep(EntityTyped e)
     : base(e)
 {
     EntitySheep e2 = e as EntitySheep;
     if (e2 != null) {
         _sheared = e2._sheared;
         _color = e2._color;
     }
 }
 public EntityMinecartFurnace(EntityTyped e)
     : base(e)
 {
     EntityMinecartFurnace e2 = e as EntityMinecartFurnace;
     if (e2 != null) {
         _pushX = e2._pushX;
         _pushZ = e2._pushZ;
         _fuel = e2._fuel;
     }
 }
Example #9
0
 public EntityItem(EntityTyped e)
     : base(e)
 {
     EntityItem e2 = e as EntityItem;
     if (e2 != null) {
         _health = e2._health;
         _age = e2._age;
         _item = e2._item.Copy();
     }
 }
Example #10
0
        public EntityMinecart(EntityTyped e)
            : base(e)
        {
            EntityMinecart e2 = e as EntityMinecart;

            if (e2 != null)
            {
                _type = e2._type;
            }
        }
        public EntityPrimedTnt(EntityTyped e)
            : base(e)
        {
            EntityPrimedTnt e2 = e as EntityPrimedTnt;

            if (e2 != null)
            {
                _fuse = e2._fuse;
            }
        }
Example #12
0
 public EntityWolf(EntityTyped e)
     : base(e)
 {
     EntityWolf e2 = e as EntityWolf;
     if (e2 != null) {
         _owner = e2._owner;
         _sitting = e2._sitting;
         _angry = e2._angry;
     }
 }
        public EntityMinecartChest(EntityTyped e)
            : base(e)
        {
            EntityMinecartChest e2 = e as EntityMinecartChest;

            if (e2 != null)
            {
                _items = e2._items.Copy();
            }
        }
Example #14
0
        public EntityFallingSand(EntityTyped e)
            : base(e)
        {
            EntityFallingSand e2 = e as EntityFallingSand;

            if (e2 != null)
            {
                _tile = e2._tile;
            }
        }
Example #15
0
        public EntityPig(EntityTyped e)
            : base(e)
        {
            EntityPig e2 = e as EntityPig;

            if (e2 != null)
            {
                _saddle = e2._saddle;
            }
        }
Example #16
0
        public EntitySlime(EntityTyped e)
            : base(e)
        {
            EntitySlime e2 = e as EntitySlime;

            if (e2 != null)
            {
                _size = e2._size;
            }
        }
        public EntityPigZombie(EntityTyped e)
            : base(e)
        {
            EntityPigZombie e2 = e as EntityPigZombie;

            if (e2 != null)
            {
                _anger = e2._anger;
            }
        }
Example #18
0
        public EntityCreeper(EntityTyped e)
            : base(e)
        {
            EntityCreeper e2 = e as EntityCreeper;

            if (e2 != null)
            {
                _powered = e2._powered;
            }
        }
Example #19
0
 public EntityMob(EntityTyped e)
     : base(e)
 {
     EntityMob e2 = e as EntityMob;
     if (e2 != null) {
         _attackTime = e2._attackTime;
         _deathTime = e2._deathTime;
         _health = e2._health;
         _hurtTime = e2._hurtTime;
     }
 }
Example #20
0
        public EntitySheep(EntityTyped e)
            : base(e)
        {
            EntitySheep e2 = e as EntitySheep;

            if (e2 != null)
            {
                _sheared = e2._sheared;
                _color   = e2._color;
            }
        }
Example #21
0
 public EntityPainting(EntityTyped e)
     : base(e)
 {
     EntityPainting e2 = e as EntityPainting;
     if (e2 != null) {
         _xTile = e2._xTile;
         _yTile = e2._yTile;
         _zTile = e2._zTile;
         _dir = e2._dir;
         _motive = e2._motive;
     }
 }
Example #22
0
        public EntityMinecartFurnace(EntityTyped e)
            : base(e)
        {
            EntityMinecartFurnace e2 = e as EntityMinecartFurnace;

            if (e2 != null)
            {
                _pushX = e2._pushX;
                _pushZ = e2._pushZ;
                _fuel  = e2._fuel;
            }
        }
Example #23
0
        public EntityWolf(EntityTyped e)
            : base(e)
        {
            EntityWolf e2 = e as EntityWolf;

            if (e2 != null)
            {
                _owner   = e2._owner;
                _sitting = e2._sitting;
                _angry   = e2._angry;
            }
        }
Example #24
0
        public EntityItem(EntityTyped e)
            : base(e)
        {
            EntityItem e2 = e as EntityItem;

            if (e2 != null)
            {
                _health = e2._health;
                _age    = e2._age;
                _item   = e2._item.Copy();
            }
        }
Example #25
0
 public EntityThrowable(EntityTyped e)
     : base(e)
 {
     EntityThrowable e2 = e as EntityThrowable;
     if (e2 != null) {
         _xTile = e2._xTile;
         _yTile = e2._yTile;
         _zTile = e2._zTile;
         _inTile = e2._inTile;
         _inGround = e2._inGround;
         _shake = e2._shake;
     }
 }
Example #26
0
        public EntityMob(EntityTyped e)
            : base(e)
        {
            EntityMob e2 = e as EntityMob;

            if (e2 != null)
            {
                _attackTime = e2._attackTime;
                _deathTime  = e2._deathTime;
                _health     = e2._health;
                _hurtTime   = e2._hurtTime;
            }
        }
Example #27
0
        public EntityPainting(EntityTyped e)
            : base(e)
        {
            EntityPainting e2 = e as EntityPainting;

            if (e2 != null)
            {
                _xTile  = e2._xTile;
                _yTile  = e2._yTile;
                _zTile  = e2._zTile;
                _dir    = e2._dir;
                _motive = e2._motive;
            }
        }
        public EntityThrowable(EntityTyped e)
            : base(e)
        {
            EntityThrowable e2 = e as EntityThrowable;

            if (e2 != null)
            {
                _xTile    = e2._xTile;
                _yTile    = e2._yTile;
                _zTile    = e2._zTile;
                _inTile   = e2._inTile;
                _inGround = e2._inGround;
                _shake    = e2._shake;
            }
        }
Example #29
0
 public EntityChicken(EntityTyped e)
     : base(e)
 {
 }
Example #30
0
 public EntityGhast(EntityTyped e)
     : base(e)
 {
 }
Example #31
0
 public EntityGiant(EntityTyped e)
     : base(e)
 {
 }
Example #32
0
 public EntitySnowball(EntityTyped e)
     : base(e)
 {
 }
Example #33
0
 public EntityArrow(EntityTyped e)
     : base(e)
 {
 }
Example #34
0
 public EntityBoat(EntityTyped e)
     : base(e)
 {
 }
Example #35
0
 public EntityGhast(EntityTyped e)
     : base(e)
 {
 }
Example #36
0
 public EntitySpider(EntityTyped e)
     : base(e)
 {
 }
Example #37
0
 public EntityEgg(EntityTyped e)
     : base(e)
 {
 }
Example #38
0
 public EntityCow(EntityTyped e)
     : base(e)
 {
 }
Example #39
0
 public EntityGiant(EntityTyped e)
     : base(e)
 {
 }
Example #40
0
 public EntitySkeleton(EntityTyped e)
     : base(e)
 {
 }
Example #41
0
 public EntityZombie(EntityTyped e)
     : base(e)
 {
 }
Example #42
0
 public EntitySpider(EntityTyped e)
     : base(e)
 {
 }
Example #43
0
 public EntityMonster(EntityTyped e)
     : base(e)
 {
 }
Example #44
0
 public EntityCow(EntityTyped e)
     : base(e)
 {
 }
Example #45
0
 public EntitySnowball(EntityTyped e)
     : base(e)
 {
 }
Example #46
0
 public EntityChicken(EntityTyped e)
     : base(e)
 {
 }
Example #47
0
 public EntityArrow(EntityTyped e)
     : base(e)
 {
 }
Example #48
0
 public EntitySquid(EntityTyped e)
     : base(e)
 {
 }
Example #49
0
 public EntitySquid(EntityTyped e)
     : base(e)
 {
 }
Example #50
0
 public EntityBoat(EntityTyped e)
     : base(e)
 {
 }
Example #51
0
 public EntitySkeleton(EntityTyped e)
     : base(e)
 {
 }
Example #52
0
 public EntityEgg(EntityTyped e)
     : base(e)
 {
 }
Example #53
0
 public EntityZombie(EntityTyped e)
     : base(e)
 {
 }