asCompoundTag method

CompoundTag asCompoundTag()

Implementation

CompoundTag asCompoundTag() {
  if (this is CompoundTag) {
    return this as CompoundTag;
  } else
    return CompoundTag();
}