@Override public void readEntityFromNBT(NBTTagCompound compound) { super.readEntityFromNBT(compound); }
@Override public void readEntityFromNBT(NBTTagCompound NBTTagCompound) { super.readEntityFromNBT(NBTTagCompound); this.villagerNBTTagCompound = NBTTagCompound.getCompoundTag("villager"); this.fromVillager = NBTTagCompound.getBoolean("fromVillager"); }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); setAlpha(nbt.getFloat("mantis_alpha")); }
@Override public void readEntityFromNBT(NBTTagCompound tag) { super.readEntityFromNBT(tag); setTtl(tag.getInteger("ttl")); }
@Override public void readEntityFromNBT(@Nonnull NBTTagCompound root) { super.readEntityFromNBT(root); loadedCats.clear(); if (root.hasKey("cats")) { NBTTagList catsList = (NBTTagList) root.getTag("cats"); for (int i = 0; i < catsList.tagCount(); i++) { loadedCats.add(catsList.getCompoundTagAt(i)); } } }
@Override public void readEntityFromNBT (NBTTagCompound compound) { super.readEntityFromNBT(compound); this.setChild(compound.getBoolean("IsBaby")); }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); setSkin(nbt.getInteger("dragonflySkin")); } }
@Override public void readEntityFromNBT(NBTTagCompound nbttagcompound) { super.readEntityFromNBT(nbttagcompound); setBloodConsumed(nbttagcompound.getInteger("BloodLevel")); }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); if (nbt.hasKey("skin")) setSkin(nbt.getInteger("skin")); else setSkin(rand.nextInt(3)); }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); hunger = nbt.getDouble("ElnHunger"); isSpawnedFromWeather = nbt.getBoolean("isSpawnedFromWeather"); Utils.println("[Replicator] " + posX + " " + posY + " " + posZ + " "); } }
public void readEntityFromNBT(NBTTagCompound compound) { super.readEntityFromNBT(compound); dataManager.set(NEUTRAL, Boolean.valueOf(compound.getBoolean("neutral"))); if (compound.getBoolean("neutral")) { this.setNeutral(); } }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); if (nbt.hasKey("skin")) setSkin(nbt.getInteger("skin")); else setSkin(rand.nextInt(4)); }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); if (nbt.hasKey("skin")) setSkin(nbt.getInteger("skin")); else setSkin(rand.nextInt(3)); } }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); if (nbt.hasKey("skin")) setSkin(nbt.getInteger("skin")); else setSkin(rand.nextInt(2)); } }
@Override public void readEntityFromNBT(NBTTagCompound compound) { super.readEntityFromNBT(compound); shieldCooldown = compound.getInteger(SHIELD_COOLDOWN); isCharging = compound.getBoolean(IS_CHARGING); prepareChargeTicks = compound.getInteger(PREPARE_CHARGE_TICKS); givenPath = compound.getBoolean(GIVEN_PATH); }
@Override public void readEntityFromNBT(NBTTagCompound compound) { super.readEntityFromNBT(compound); this.setBlinded(compound.getBoolean("Blind")); this.setVariant(compound.getInteger("Variant")); }
@Override public void readEntityFromNBT(@Nonnull NBTTagCompound root) { super.readEntityFromNBT(root); if (root.hasKey("scale")) { setScale(root.getFloat("scale")); } if (root.hasKey("growthMode")) { setGrowthMode(root.getByte("growthMode")); } }
@Override public void readEntityFromNBT(NBTTagCompound nbt) { super.readEntityFromNBT(nbt); setType(nbt.getByte("type")); if(hasCustomName()) bossInfo.setName(this.getDisplayName()); }
@Override public void readEntityFromNBT(NBTTagCompound compound) { super.readEntityFromNBT(compound); if (compound.hasKey("shift_seed")) { this.getDataManager().set(DATA_SHIFT_SEED, compound.getInteger("shift_seed")); this.getDataManager().setDirty(DATA_SHIFT_SEED); } }
@Override public void readEntityFromNBT(NBTTagCompound tag) { super.readEntityFromNBT(tag); this.setHairColor(tag.getInteger("HairColor")); this.setAggressive(tag.getBoolean("Aggressive")); this.setSingingPose(tag.getInteger("SingingPose")); this.setSinging(tag.getBoolean("Singing")); this.setSwimming(tag.getBoolean("Swimming")); this.setCharmed(tag.getBoolean("Passive")); }