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