Package journeymap.api.v2.client.event
Interface RegistryEvent.InfoSlotRegistryEvent.InfoSlotRegistrar
- Enclosing class:
RegistryEvent.InfoSlotRegistryEvent
public static interface RegistryEvent.InfoSlotRegistryEvent.InfoSlotRegistrar
-
Method Summary
-
Method Details
-
register
void register(String modId, net.minecraft.network.chat.Component component, long updateTime, Supplier<net.minecraft.network.chat.Component> supplier) Registers an infoslot.- Parameters:
modId- - The ModIdcomponent- - The i18n key or Label for the InfoSlot dropdown in the options menu.updateTime- - How often in milliseconds to update.supplier- - The supplier that gets the value to be displayed.
-