Object TBSRegistries
-
- All Implemented Interfaces:
public class TBSRegistries
Registries 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_KEY
private final ResourceKey<Registry<ChatResponse>>
CHAT_RESPONSE_REGISTRY_KEY
private final Registry<BaseEvent>
EVENT_REGISTRY
private final Registry<ChatResponse>
CHAT_RESPONSE_REGISTRY
public final static TBSRegistries
INSTANCE
-
Method Summary
Modifier and Type Method Description final Unit
register(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!
-
-
-
-