JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Help
io.papermc.paper.datacomponent.item
MapId
Contents
Description
Method Summary
Method Details
mapId(int)
id()
Hide sidebar
Show sidebar
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