use of de.keyle.knbt.TagByte in project MyPet by xXKeyleXx.
the class MyBlaze method writeExtendedInfo.
@Override
public TagCompound writeExtendedInfo() {
TagCompound info = super.writeExtendedInfo();
info.getCompoundData().put("Fire", new TagByte(isOnFire()));
return info;
}
use of de.keyle.knbt.TagByte in project MyPet by xXKeyleXx.
the class MyDonkey method writeExtendedInfo.
@Override
public TagCompound writeExtendedInfo() {
TagCompound info = super.writeExtendedInfo();
info.getCompoundData().put("Baby", new TagByte(isBaby()));
if (hasChest()) {
info.getCompoundData().put("Chest", MyPetApi.getPlatformHelper().itemStackToCompund(getChest()));
}
if (hasSaddle()) {
info.getCompoundData().put("Saddle", MyPetApi.getPlatformHelper().itemStackToCompund(getSaddle()));
}
return info;
}
use of de.keyle.knbt.TagByte in project MyPet by xXKeyleXx.
the class MyGuardian method writeExtendedInfo.
@Override
public TagCompound writeExtendedInfo() {
TagCompound info = super.writeExtendedInfo();
info.getCompoundData().put("Elder", new TagByte(isElder));
return info;
}
use of de.keyle.knbt.TagByte in project MyPet by xXKeyleXx.
the class MyLlama method writeExtendedInfo.
@Override
public TagCompound writeExtendedInfo() {
TagCompound info = super.writeExtendedInfo();
info.getCompoundData().put("Variant", new TagInt(getVariant()));
info.getCompoundData().put("Baby", new TagByte(isBaby()));
if (hasChest()) {
info.getCompoundData().put("Chest", MyPetApi.getPlatformHelper().itemStackToCompund(getChest()));
}
if (hasDecor()) {
info.getCompoundData().put("Decor", MyPetApi.getPlatformHelper().itemStackToCompund(getDecor()));
}
return info;
}
use of de.keyle.knbt.TagByte in project MyPet by xXKeyleXx.
the class MyMooshroom method writeExtendedInfo.
@Override
public TagCompound writeExtendedInfo() {
TagCompound info = super.writeExtendedInfo();
info.getCompoundData().put("Baby", new TagByte(isBaby()));
return info;
}
Aggregations