NbtCompound<T extends NbtTag> constructor

NbtCompound<T extends NbtTag>({
  1. required String name,
  2. required List<T> children,
})

Create a NbtCompound with given parent.

Implementation

NbtCompound({required super.name, required super.children})
    : super(
          nbtTagType: NbtTagType.TAG_COMPOUND);