BetaBetaBannedThrown when trying to add item that was defined in ContainerRules.bannedItems.
BetaNestedThrown when trying to add item with Storage Item component
to container with ContainerRules.allowNestedStorageItems set to false.
BetaNotThrown when trying to add item not defined in non-empty ContainerRules.allowedItems.
BetaOverThrown when trying to add item that pushed the containers weight over the ContainerRules.weightLimit.
BetaZeroThrown when trying to add item with zero weight defined by
the Storage Weight Modifier component to container with a
defined ContainerRules.weightLimit
Reasons that the @minecraft/server.ContainerRulesError was thrown.