Creates a NbtInt with given parent.
NbtInt({required String name, required int value}) : _value = value, super(name, NbtTagType.TAG_INT);