For an implementation idea for datapacks, having it be an item tag which you can use, such as pixelmon:bag_storable, which can be used to change what is storable in a bag.
For an implementation idea for datapacks, having it be an item tag which you can use, such as pixelmon:bag_storable, which can be used to change what is storable in a bag.