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 Type
    Method
    Description
    void
    Registers the given interact modules to the list of all interact modules to be run for the local player.
    void
    Registers the given trackers to the list of all trackers to be run for the local player.
  • Method Details

    • registerTrackers

      void registerTrackers(Tracker... trackers)
      Registers the given trackers to the list of all trackers to be run for the local player. See the documentation for Tracker for more information on what a tracker is.
      Parameters:
      trackers - Trackers to register.
      Since:
      1.3.0
    • registerInteractModules

      void registerInteractModules(InteractModule... modules)
      Registers the given interact modules to the list of all interact modules to be run for the local player. See the documentation for InteractModule for more information on what an interact modules is.
      Parameters:
      modules - InteractModules to register.
      Since:
      1.3.0