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.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type MapIdModifier 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
Fields in net.minecraft.client.multiplayer with type parameters of type 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 p_323873_) void
ClientLevel.overrideMapData
(MapId p_323577_, MapItemSavedData p_259308_) Method parameters in net.minecraft.client.multiplayer with type arguments of type MapIdModifier and TypeMethodDescriptionprotected void
ClientLevel.addMapData
(Map<MapId, MapItemSavedData> p_171673_) -
Uses of MapId in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type MapIdModifier and TypeMethodDescriptionvoid
MapRenderer.extractRenderState
(MapId p_361383_, MapItemSavedData p_363500_, MapRenderState p_364922_) -
Uses of MapId in net.minecraft.client.renderer.entity.state
Fields in net.minecraft.client.renderer.entity.state declared as MapId -
Uses of MapId in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type MapIdModifier and TypeMethodDescriptionprivate MapTextureManager.MapInstance
MapTextureManager.getOrCreateMapInstance
(MapId p_360665_, MapItemSavedData p_363475_) MapTextureManager.prepareMapTexture
(MapId p_364272_, MapItemSavedData p_364454_) void
MapTextureManager.update
(MapId p_360802_, MapItemSavedData p_362966_) -
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 p_323746_) void
ServerLevel.setMapData
(MapId p_323697_, MapItemSavedData p_143306_) -
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
(ServerLevel p_412947_, int p_151122_, int p_151123_, int p_151124_, boolean p_151125_, boolean p_151126_, ResourceKey<Level> p_151127_) Methods in net.minecraft.world.item with parameters of type MapIdModifier and TypeMethodDescriptionstatic MapItemSavedData
MapItem.getSavedData
(MapId p_324036_, Level p_151130_) -
Uses of MapId in net.minecraft.world.level
Methods in net.minecraft.world.level with parameters of type MapId -
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 p_323760_, Player p_164798_) (package private) Packet
<?> MapItemSavedData.HoldingPlayer.nextUpdatePacket
(MapId p_324558_) static SavedDataType
<MapItemSavedData>