Uses of Record Class
net.minecraft.world.level.saveddata.maps.MapId
Packages that use MapId
Package
Description
-
Uses of MapId in net.minecraft.client.gui
Methods in net.minecraft.client.gui with parameters of type MapIdModifier and TypeMethodDescriptionprivate MapRenderer.MapInstance
MapRenderer.getOrCreateMapInstance
(MapId pMapId, MapItemSavedData pMapData) void
MapRenderer.render
(PoseStack pPoseStack, MultiBufferSource pBuffer, MapId pMapId, MapItemSavedData pMapData, boolean pActive, int pPackedLight) void
MapRenderer.update
(MapId pMapId, MapItemSavedData pMapData) -
Uses of MapId in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type MapIdModifier and TypeMethodDescriptionprivate void
CartographyTableScreen.renderMap
(GuiGraphics pGuiGraphics, MapId pMapId, MapItemSavedData pMapData, int pX, int pY, float pScale) private void
CartographyTableScreen.renderResultingMap
(GuiGraphics pGuiGraphics, MapId pMapId, MapItemSavedData pMapData, boolean pHasMap, boolean pHasPaper, boolean pHasGlassPane, boolean pIsMaxSize) -
Uses of MapId in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type MapIdMethods in net.minecraft.client.multiplayer that return MapIdMethods in net.minecraft.client.multiplayer that return types with arguments of type MapIdModifier and TypeMethodDescriptionprotected Map
<MapId, MapItemSavedData> ClientLevel.getAllMapData()
Methods in net.minecraft.client.multiplayer with parameters of type MapIdModifier and TypeMethodDescriptionClientLevel.getMapData
(MapId pMapId) void
ClientLevel.overrideMapData
(MapId pMapId, MapItemSavedData pMapData) void
ClientLevel.setMapData
(MapId pMapId, MapItemSavedData pMapData) Method parameters in net.minecraft.client.multiplayer with type arguments of type MapIdModifier and TypeMethodDescriptionprotected void
ClientLevel.addMapData
(Map<MapId, MapItemSavedData> pMap) -
Uses of MapId in net.minecraft.core.component
Fields in net.minecraft.core.component with type parameters of type MapId -
Uses of MapId in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as MapIdModifier and TypeFieldDescriptionprivate final MapId
ClientboundMapItemDataPacket.mapId
The field for themapId
record component.Methods in net.minecraft.network.protocol.game that return MapIdModifier and TypeMethodDescriptionClientboundMapItemDataPacket.mapId()
Returns the value of themapId
record component.Constructors in net.minecraft.network.protocol.game with parameters of type MapIdModifierConstructorDescriptionClientboundMapItemDataPacket
(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
Methods in net.minecraft.server.level that return MapIdMethods in net.minecraft.server.level with parameters of type MapIdModifier and TypeMethodDescriptionServerLevel.getMapData
(MapId pMapId) void
ServerLevel.setMapData
(MapId pMapId, MapItemSavedData pMapData) -
Uses of MapId in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return MapId -
Uses of MapId in net.minecraft.world.item
Methods in net.minecraft.world.item that return MapIdModifier and TypeMethodDescriptionprivate static MapId
MapItem.createNewSavedData
(Level pLevel, int pX, int pZ, int pScale, boolean pTrackingPosition, boolean pUnlimitedTracking, ResourceKey<Level> pDimension) Methods in net.minecraft.world.item with parameters of type MapIdModifier and TypeMethodDescriptionstatic MapItemSavedData
MapItem.getSavedData
(MapId pMapId, Level pLevel) static Component
MapItem.getTooltipForId
(MapId pMapId) -
Uses of MapId in net.minecraft.world.level
Methods in net.minecraft.world.level that return MapIdMethods in net.minecraft.world.level with parameters of type MapIdModifier and TypeMethodDescriptionabstract MapItemSavedData
Level.getMapData
(MapId pMapId) abstract void
Level.setMapData
(MapId pMapId, MapItemSavedData pMapData) -
Uses of MapId in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps with type parameters of type MapIdModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MapId> MapId.CODEC
static final StreamCodec
<io.netty.buffer.ByteBuf, MapId> MapId.STREAM_CODEC
Methods in net.minecraft.world.level.saveddata.maps that return MapIdMethods in net.minecraft.world.level.saveddata.maps with parameters of type MapIdModifier and TypeMethodDescriptionPacket
<?> MapItemSavedData.getUpdatePacket
(MapId pMapId, Player pPlayer) (package private) Packet
<?> MapItemSavedData.HoldingPlayer.nextUpdatePacket
(MapId pMapId)