Interface Orientation
- All Superinterfaces:
- DefaultedRegistryValue
Represents an orientation in relative for an ItemFrame as an example.
- 
Method SummaryModifier and TypeMethodDescriptionangle()TheAnglethis orientation represents.static Optional<Orientation>Gets theOrientationthat represents the providedAngle.Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValueasDefaultedReference, findKey, key
- 
Method Details- 
fromAngleGets theOrientationthat represents the providedAngle.- Parameters:
- angle- The- Angle
- Returns:
- The Orientationwith the givenAngle, if it exists
 
- 
angleAngle angle()TheAnglethis orientation represents.- Returns:
- The angle
 
 
-