Uses of Record Class
net.minecraft.world.level.saveddata.maps.MapId
Package
Description
-
Uses of MapId in net.minecraft.client.gui
Modifier and TypeMethodDescriptionprivate MapRenderer.MapInstance
MapRenderer.getOrCreateMapInstance
(MapId p_323495_, MapItemSavedData p_168780_) void
MapRenderer.render
(PoseStack p_168772_, MultiBufferSource p_168773_, MapId p_324127_, MapItemSavedData p_168775_, boolean p_168776_, int p_168774_) void
MapRenderer.update
(MapId p_323687_, MapItemSavedData p_168767_) -
Uses of MapId in net.minecraft.client.gui.screens.inventory
Modifier and TypeMethodDescriptionprivate void
CartographyTableScreen.renderMap
(GuiGraphics p_282298_, MapId p_324470_, MapItemSavedData p_282897_, int p_281632_, int p_282115_, float p_283388_) private void
CartographyTableScreen.renderResultingMap
(GuiGraphics p_282167_, MapId p_323466_, MapItemSavedData p_282045_, boolean p_282086_, boolean p_283531_, boolean p_282645_, boolean p_281646_) -
Uses of MapId in net.minecraft.client.multiplayer
Modifier and TypeMethodDescriptionprotected Map
<MapId, MapItemSavedData> ClientLevel.getAllMapData()
Modifier and TypeMethodDescriptionClientLevel.getMapData
(MapId p_323873_) void
ClientLevel.overrideMapData
(MapId p_323577_, MapItemSavedData p_259308_) void
ClientLevel.setMapData
(MapId p_324501_, MapItemSavedData p_171671_) Modifier and TypeMethodDescriptionprotected void
ClientLevel.addMapData
(Map<MapId, MapItemSavedData> p_171673_) -
Uses of MapId in net.minecraft.core.component
-
Uses of MapId in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final MapId
ClientboundMapItemDataPacket.mapId
The field for themapId
record component.Modifier and TypeMethodDescriptionClientboundMapItemDataPacket.mapId()
Returns the value of themapId
record component.ModifierConstructorDescriptionClientboundMapItemDataPacket
(MapId p_324389_, byte p_323701_, boolean p_323593_, Collection<MapDecoration> p_324520_, MapItemSavedData.MapPatch p_324306_) ClientboundMapItemDataPacket
(MapId mapId, byte scale, boolean locked, Optional<List<MapDecoration>> decorations, Optional<MapItemSavedData.MapPatch> colorPatch) Creates an instance of aClientboundMapItemDataPacket
record class. -
Uses of MapId in net.minecraft.server.level
Modifier and TypeMethodDescriptionServerLevel.getMapData
(MapId p_323746_) void
ServerLevel.setMapData
(MapId p_323697_, MapItemSavedData p_143306_) -
Uses of MapId in net.minecraft.world.entity.decoration
-
Uses of MapId in net.minecraft.world.item
Modifier and TypeMethodDescriptionprivate static MapId
MapItem.createNewSavedData
(Level p_151121_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) Modifier and TypeMethodDescriptionstatic MapItemSavedData
MapItem.getSavedData
(MapId p_324036_, Level p_151130_) static Component
MapItem.getTooltipForId
(MapId p_323616_) -
Uses of MapId in net.minecraft.world.level
Modifier and TypeMethodDescriptionabstract MapItemSavedData
Level.getMapData
(MapId p_324234_) abstract void
Level.setMapData
(MapId p_324009_, MapItemSavedData p_151534_) -
Uses of MapId in net.minecraft.world.level.saveddata.maps
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MapId> MapId.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, MapId> MapId.STREAM_CODEC
Modifier and TypeMethodDescriptionPacket
<?> MapItemSavedData.getUpdatePacket
(MapId p_323760_, Player p_164798_) (package private) Packet
<?> MapItemSavedData.HoldingPlayer.nextUpdatePacket
(MapId p_324558_)