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
-
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
int defaultCooldown()- Returns:
- The default non-VR cooldown for Immersives in ticks.
-
growTransitionTime
int growTransitionTime()- Returns:
- The time, in ticks, for items in Immersives to grow to full size.
-
hoverScaleMultiplier
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).
-