Package net.minecraftforge.event
Interface CreativeModeTabEvent.Registrar
- Enclosing class:
- CreativeModeTabEvent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A registrar which is capable of registering new tabs.
- 
Method SummaryModifier and TypeMethodDescription@NotNull CreativeModeTabregisterCreativeModeTab(@NotNull Consumer<CreativeModeTab.Builder> configurator, @NotNull ResourceLocation name, @NotNull List<Object> afters, @NotNull List<Object> befores) Register a new tab.
- 
Method Details- 
registerCreativeModeTab@NotNull @NotNull CreativeModeTab registerCreativeModeTab(@NotNull @NotNull Consumer<CreativeModeTab.Builder> configurator, @NotNull @NotNull ResourceLocation name, @NotNull @NotNull List<Object> afters, @NotNull @NotNull List<Object> befores) Register a new tab.- Parameters:
- configurator- The tab configurator to register
- name- The name of the tab.
- afters- A list of tab names (String, ResourceLocations) or tabs that need to appear before this tab in the creative mode menu.
- befores- A list of tab names (String, ResourceLocations) or tabs that need to appear after this tab in the creative mode menu.
- Returns:
- The configured tab.
 
 
-