IntArray

Array of signed integers, introduced in the last version of the NBT format. Used by anvil worlds.

The same cast rules also apply for this tag's values.

alias IntArray = NumericArrayTag!(int, NBT_TYPE.INT_ARRAY)

Examples

auto signed = new IntArray([-1]);
assert(cast(uint[])signed == [uint.max]);

Meta