JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
io.papermc.paper.datacomponent.item
MapDecorations
DecorationEntry
Contents
Description
Method Summary
Method Details
type()
x()
z()
rotation()
Hide sidebar
Show sidebar
Interface MapDecorations.DecorationEntry
Enclosing interface:
MapDecorations
@Experimental
@NonExtendable
public static interface
MapDecorations.DecorationEntry
Decoration present on the map.
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
float
rotation
()
Clockwise rotation from north in degrees.
MapCursor.Type
type
()
Type of decoration.
double
x
()
X world coordinate of the decoration.
double
z
()
Z world coordinate of the decoration.
Method Details
type
@Contract
(
pure
=true)
MapCursor.Type
type
()
Type of decoration.
Returns:
type
x
@Contract
(
pure
=true)
double
x
()
X world coordinate of the decoration.
Returns:
x coordinate
z
@Contract
(
pure
=true)
double
z
()
Z world coordinate of the decoration.
Returns:
z coordinate
rotation
@Contract
(
pure
=true)
float
rotation
()
Clockwise rotation from north in degrees.
Returns:
rotation