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 voidCartographyTableScreen.renderMap(GuiGraphics graphics, @Nullable MapId id, @Nullable MapItemSavedData data, int x, int y, float scale) private voidCartographyTableScreen.renderResultingMap(GuiGraphics graphics, @Nullable MapId id, @Nullable MapItemSavedData data, boolean isDuplication, boolean isScaling, boolean isLocking, boolean locked) -
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 TypeMethodDescription@Nullable MapItemSavedDataClientLevel.getMapData(MapId id) voidClientLevel.overrideMapData(MapId id, MapItemSavedData data) Method parameters in net.minecraft.client.multiplayer with type arguments of type MapIdModifier and TypeMethodDescriptionprotected voidClientLevel.addMapData(Map<MapId, MapItemSavedData> mapData) -
Uses of MapId in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type MapIdModifier and TypeMethodDescriptionvoidMapRenderer.extractRenderState(MapId mapId, MapItemSavedData mapData, MapRenderState mapRenderState) -
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.MapInstanceMapTextureManager.getOrCreateMapInstance(MapId id, MapItemSavedData data) MapTextureManager.prepareMapTexture(MapId id, MapItemSavedData data) voidMapTextureManager.update(MapId id, MapItemSavedData data) -
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 MapIdClientboundMapItemDataPacket.mapIdThe field for themapIdrecord component.Methods in net.minecraft.network.protocol.game that return MapIdModifier and TypeMethodDescriptionClientboundMapItemDataPacket.mapId()Returns the value of themapIdrecord component.Constructors in net.minecraft.network.protocol.game with parameters of type MapIdModifierConstructorDescriptionClientboundMapItemDataPacket(MapId mapId, byte scale, boolean locked, @Nullable Collection<MapDecoration> decorations, @Nullable MapItemSavedData.MapPatch colorPatch) ClientboundMapItemDataPacket(MapId mapId, byte scale, boolean locked, Optional<List<MapDecoration>> decorations, Optional<MapItemSavedData.MapPatch> colorPatch) Creates an instance of aClientboundMapItemDataPacketrecord 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 TypeMethodDescription@Nullable MapItemSavedDataServerLevel.getMapData(MapId id) voidServerLevel.setMapData(MapId id, MapItemSavedData data) -
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 MapIdMapItem.createNewSavedData(ServerLevel level, int xSpawn, int zSpawn, int scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) Methods in net.minecraft.world.item with parameters of type MapIdModifier and TypeMethodDescriptionstatic @Nullable MapItemSavedDataMapItem.getSavedData(@Nullable MapId id, Level level) @Nullable MapItemSavedData -
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.CODECstatic final StreamCodec<io.netty.buffer.ByteBuf, MapId> MapId.STREAM_CODECMethods in net.minecraft.world.level.saveddata.maps that return MapIdMethods in net.minecraft.world.level.saveddata.maps with parameters of type MapIdModifier and TypeMethodDescription@Nullable Packet<?> MapItemSavedData.getUpdatePacket(MapId id, Player player) private @Nullable Packet<?> MapItemSavedData.HoldingPlayer.nextUpdatePacket(MapId id) static SavedDataType<MapItemSavedData>