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