Package org.vivecraft.api.client.event
Interface VivecraftClientRegistrationEvent
public interface VivecraftClientRegistrationEvent
The event that is fired on the client for registering trackers and interact modules with Vivecraft. One can interact
with this event by registering a handler using
VRClientAPI.addClientRegistrationHandler(Consumer).- Since:
- 1.3.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterInteractModules(InteractModule... modules) Registers the given interact modules to the list of all interact modules to be run for the local player.voidregisterTrackers(Tracker... trackers) Registers the given trackers to the list of all trackers to be run for the local player.
-
Method Details
-
registerTrackers
Registers the given trackers to the list of all trackers to be run for the local player. See the documentation forTrackerfor more information on what a tracker is.- Parameters:
trackers- Trackers to register.- Since:
- 1.3.0
-
registerInteractModules
Registers the given interact modules to the list of all interact modules to be run for the local player. See the documentation forInteractModulefor more information on what an interact modules is.- Parameters:
modules- InteractModules to register.- Since:
- 1.3.0
-