@Override public void readExtendedInfo(TagCompound info) { if (info.containsKeyAs("Variant", TagByte.class)) { setVariant(RabbitType.getTypeByID(info.getAs("Variant", TagByte.class).getByteData())); } if (info.getCompoundData().containsKey("Baby")) { setBaby(info.getAs("Baby", TagByte.class).getBooleanData()); } }