Gets a array of all pokemon within this storage. May not be the implementations array (e.g it could be copy).
So don't expect to be able to edit this. the size of the array should always match the maximum capacity and will
obviously contain null elements for slots that are not full.
An array of all pokemon within this storage. By convention this is not the implementation's array (thus this is a copy).
This is preferred because it forces modifications to go through the relevant methods which fire events and flip hasChanged.
public net.minecraft.nbt.CompoundNBT writeToNBT(net.minecraft.nbt.CompoundNBT nbt)