Object TBSRegistries
-
- All Implemented Interfaces:
public class TBSRegistriesRegistries for things in The Broken Script, like events and chat responses.
-
-
Field Summary
Fields Modifier and Type Field Description private final ResourceKey<Registry<BaseEvent>>EVENT_REGISTRY_KEYprivate final ResourceKey<Registry<ChatResponse>>CHAT_RESPONSE_REGISTRY_KEYprivate final Registry<BaseEvent>EVENT_REGISTRYprivate final Registry<ChatResponse>CHAT_RESPONSE_REGISTRYpublic final static TBSRegistriesINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitregister(NewRegistryEvent ev)Ignore this, it just exists to make sure NeoForge knows the registries exist. final ResourceKey<Registry<BaseEvent>>getEVENT_REGISTRY_KEY()The key for the event registry. final ResourceKey<Registry<ChatResponse>>getCHAT_RESPONSE_REGISTRY_KEY()The key for the chat response registry. final Registry<BaseEvent>getEVENT_REGISTRY()The event registry. final Registry<ChatResponse>getCHAT_RESPONSE_REGISTRY()The chat response registry. -
-
Method Detail
-
register
final Unit register(NewRegistryEvent ev)
Ignore this, it just exists to make sure NeoForge knows the registries exist.
-
getEVENT_REGISTRY_KEY
final ResourceKey<Registry<BaseEvent>> getEVENT_REGISTRY_KEY()
The key for the event registry.
-
getCHAT_RESPONSE_REGISTRY_KEY
final ResourceKey<Registry<ChatResponse>> getCHAT_RESPONSE_REGISTRY_KEY()
The key for the chat response registry.
-
getEVENT_REGISTRY
final Registry<BaseEvent> getEVENT_REGISTRY()
The event registry. Register your events to it!
-
getCHAT_RESPONSE_REGISTRY
final Registry<ChatResponse> getCHAT_RESPONSE_REGISTRY()
The chat response registry. Register your chat responses to it!
-
-
-
-