Class ItemGroupEvents
java.lang.Object
net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents
Holds events related to
ItemGroups
.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Event<ItemGroupEvents.ModifyEntriesAll>
This event allows the entries of any item group to be modified. -
Method Summary
Modifier and TypeMethodDescriptionstatic Event<ItemGroupEvents.ModifyEntries>
modifyEntriesEvent
(ItemGroup itemGroup) static Event<ItemGroupEvents.ModifyEntries>
modifyEntriesEvent
(Identifier groupId)
-
Field Details
-
MODIFY_ENTRIES_ALL
This event allows the entries of any item group to be modified. If you know beforehand which item group you'd like to modify, usemodifyEntriesEvent(ItemGroup)
ormodifyEntriesEvent(Identifier)
instead. This event is invoked after those two more specific events.
-
-
Method Details
-
modifyEntriesEvent
-
modifyEntriesEvent
-