Class ItemAttributeModifierEvent.ItemAttributeModifiersBuilder

java.lang.Object
net.neoforged.neoforge.event.ItemAttributeModifierEvent.ItemAttributeModifiersBuilder
Enclosing class:
ItemAttributeModifierEvent

private static class ItemAttributeModifierEvent.ItemAttributeModifiersBuilder extends Object
Advanced version of ItemAttributeModifiers.Builder which supports removal and better sanity-checking.

The original builder only supports additions and does not guarantee that no duplicate modifiers exist for a given id.