@Override public void read(NBTTagCompound tag) { super.read(tag); axeLevel = tag.getInteger(TAG_AxeLevel); shovelLevel = tag.getInteger(TAG_ShovelLevel); }
@Override public void read(NBTTagCompound tag) { super.read(tag); this.drawSpeed = tag.getFloat(Tags.DRAWSPEED); this.range = tag.getFloat(Tags.RANGE); this.bonusDamage = tag.getFloat(Tags.PROJECTILE_BONUS_DAMAGE); }
@Override public void read(NBTTagCompound tag) { super.read(tag); this.accuracy = tag.getFloat(Tags.ACCURACY); }
public ToolNBT(NBTTagCompound tag) { read(tag); parent = tag; }