com/spacechase0/minecraft/componentequipment/entity/ArrowEntityBase.java
/**
     * (abstract) Protected helper method to read subclass entity data from NBT.
     */
(abstract) Protected helper method to read subclass entity data from NBT.
( abstract ) Protected helper method to read subclass entity data from NBT .
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
    {
        this.field_145791_d = p_70037_1_.getShort("xTile");
        this.field_145792_e = p_70037_1_.getShort("yTile");
        this.field_145789_f = p_70037_1_.getShort("zTile");
        this.ticksInGround = p_70037_1_.getShort("life");
        this.field_145790_g = Block.getBlockById(p_70037_1_.getByte("inTile") & 255);
        this.inData = p_70037_1_.getByte("inData") & 255;
        this.arrowShake = p_70037_1_.getByte("shake") & 255;
        this.inGround = p_70037_1_.getByte("inGround") == 1;
        if (p_70037_1_.hasKey("damage", 99))
        {
            this.damage = p_70037_1_.getDouble("damage");
        }
        if (p_70037_1_.hasKey("pickup", 99))
        {
            this.canBePickedUp = p_70037_1_.getByte("pickup");
        }
        else if (p_70037_1_.hasKey("player", 99))
        {
            this.canBePickedUp = p_70037_1_.getBoolean("player") ? 1 : 0;
        }
    }
public void readEntityFromNBT ( NBTTagCompound p_70037_1_ ) { this . field_145791_d = p_70037_1_ . getShort ( "xTile" ) ; this . field_145792_e = p_70037_1_ . getShort ( "yTile" ) ; this . field_145789_f = p_70037_1_ . getShort ( "zTile" ) ; this . ticksInGround = p_70037_1_ . getShort ( "life" ) ; this . field_145790_g = Block . getBlockById ( p_70037_1_ . getByte ( "inTile" ) & 255 ) ; this . inData = p_70037_1_ . getByte ( "inData" ) & 255 ; this . arrowShake = p_70037_1_ . getByte ( "shake" ) & 255 ; this . inGround = p_70037_1_ . getByte ( "inGround" ) == 1 ; if ( p_70037_1_ . hasKey ( "damage" , 99 ) ) { this . damage = p_70037_1_ . getDouble ( "damage" ) ; } if ( p_70037_1_ . hasKey ( "pickup" , 99 ) ) { this . canBePickedUp = p_70037_1_ . getByte ( "pickup" ) ; } else if ( p_70037_1_ . hasKey ( "player" , 99 ) ) { this . canBePickedUp = p_70037_1_ . getBoolean ( "player" ) ? 1 : 0 ; } }
(abstract) Protected helper method to read subclass entity data from NBT.
( abstract ) Protected helper method to read subclass entity data from NBT .