/** {@inheritDoc} */ @Override public CompoundTag writeToTag(CompoundTag tag) { if (tileentity != null) { tileentity.a(((CanaryCompoundTag) tag).getHandle()); return tag; } return null; }
/** {@inheritDoc} */ @Override public void readFromTag(CompoundTag tag) { if (tileentity != null) { tileentity.a(((CanaryCompoundTag) tag).getHandle()); } }