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