Interface ImmersiveClientConstants

All Known Implementing Classes:
ImmersiveClientConstantsImpl

public interface ImmersiveClientConstants
Contains functions to retrieve constants used by ImmersiveMC. The values themselves may change between ImmersiveMC versions, but they are guaranteed to always be constant. You should use the return values from these methods rather than hardcoding the cooldown as a number, since ImmersiveMC may change them in the future!
  • Method Details Link icon

    • instance Link icon

      static ImmersiveClientConstants instance()
      Returns:
      An ImmersiveClientConstants instance to access API functions. All details of this object not mentioned in this file are assumed to be an implementation detail, and may change at any time.
    • defaultCooldown Link icon

      int defaultCooldown()
      Returns:
      The default non-VR cooldown for Immersives in ticks.
    • growTransitionTime Link icon

      int growTransitionTime()
      Returns:
      The time, in ticks, for items in Immersives to grow to full size.
    • hoverScaleMultiplier Link icon

      float hoverScaleMultiplier()
      Returns:
      The multiplier to a rendered item's size when it is hovered over (pointed at by desktop players or containing the hand in VR).