Пример #1
0
 /** {@inheritDoc} */
 @Override
 public CompoundTag writeToTag(CompoundTag tag) {
   if (tileentity != null) {
     tileentity.a(((CanaryCompoundTag) tag).getHandle());
     return tag;
   }
   return null;
 }
Пример #2
0
 /** {@inheritDoc} */
 @Override
 public void readFromTag(CompoundTag tag) {
   if (tileentity != null) {
     tileentity.a(((CanaryCompoundTag) tag).getHandle());
   }
 }