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 String name, required List<T> children})
    : super(
          name: name,
          children: children,
          nbtTagType: NbtTagType.TAG_COMPOUND);