Conditioned Restrict Armor - apace100/origins-fabric GitHub Wiki
Power Type. Blocks the player from equipping items as armor (via right-click, from dispensing, and by dragging them over in the inventory). May depend on a condition, use Restrict Armor if you are not adding a condition
(except the item conditions, of course).
Type ID: origins:conditioned_restrict_armor
Fields:
head
, Item Condition, optional: If set, items which satisfy this condition can not be equipped in the head slot.
chest
, Item Condition, optional: If set, items which satisfy this condition can not be equipped in the chest slot.
legs
, Item Condition, optional: If set, items which satisfy this condition can not be equipped in the legs slot.
feet
, Item Condition, optional: If set, items which satisfy this condition can not be equipped in the feet slot.
tick_rate
, int, default = 80: The frequency (in ticks) with which to check the condition. Lower values mean the condition changes are detected more quickly, but this comes at a potentially huge performance cost.