For custom void totems: Store the voidtotem identifier in the PersistentDataContainer, not in raw nbt. This means, that if you have "customItem" enabled, your old void totems won't get recognized anymore. To fix this, use the commands below.
New command: "/voidtotem isvoidtotem" Checks if the item you're holding in your main hand is a void totem ("customItem" must be enabled).
New command: "/voidtotem makevoidtotem" Makes the totem you're holding in your main hand a void totem ("customItem" must be enabled).
If you use "customItem" please also ensure you're using the
new NBT format.