JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
Summary:
Nested
Field
Constr
Method
Detail:
Field
Constr
Method
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
SEARCH
Package
io.papermc.paper.datacomponent.item
Interface MapId
@NullMarked
@NonExtendable
@Experimental
public interface
MapId
References the shared map state holding map contents and markers for a Filled Map.
See Also:
DataComponentTypes.MAP_ID
Method Summary
All Methods
Static Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
int
id
()
The map id.
static
MapId
mapId
(int id)
Method Details
mapId
@Contract
(
value
="_ -> new",
pure
=true)
static
MapId
mapId
(int id)
id
@Contract
(
pure
=true)
int
id
()
The map id.
Returns:
id