Uses of Class
net.minecraft.world.level.saveddata.maps.MapItemSavedData
Packages that use MapItemSavedData
Package
Description
-
Uses of MapItemSavedData in net.minecraft.client.gui
Fields in net.minecraft.client.gui declared as MapItemSavedDataMethods in net.minecraft.client.gui with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionprivate MapRenderer.MapInstance
MapRenderer.getOrCreateMapInstance
(MapId mapId, MapItemSavedData mapData) void
MapRenderer.render
(PoseStack poseStack, MultiBufferSource buffer, MapId mapId, MapItemSavedData mapData, boolean active, int packedLight) (package private) void
MapRenderer.MapInstance.replaceMapData
(MapItemSavedData data) void
MapRenderer.update
(MapId mapId, MapItemSavedData mapData) Constructors in net.minecraft.client.gui with parameters of type MapItemSavedData -
Uses of MapItemSavedData in net.minecraft.client.gui.screens.inventory
Methods in net.minecraft.client.gui.screens.inventory with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionprivate void
CartographyTableScreen.renderMap
(GuiGraphics guiGraphics, MapId mapId, MapItemSavedData mapData, int x, int y, float scale) private void
CartographyTableScreen.renderResultingMap
(GuiGraphics guiGraphics, MapId mapId, MapItemSavedData mapData, boolean hasMap, boolean hasPaper, boolean hasGlassPane, boolean isMaxSize) -
Uses of MapItemSavedData in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer with type parameters of type MapItemSavedDataMethods in net.minecraft.client.multiplayer that return MapItemSavedDataMethods in net.minecraft.client.multiplayer that return types with arguments of type MapItemSavedDataModifier and TypeMethodDescriptionprotected Map
<MapId, MapItemSavedData> ClientLevel.getAllMapData()
Methods in net.minecraft.client.multiplayer with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionvoid
ClientLevel.overrideMapData
(MapId mapId, MapItemSavedData mapData) void
ClientLevel.setMapData
(MapId mapId, MapItemSavedData mapData) Method parameters in net.minecraft.client.multiplayer with type arguments of type MapItemSavedDataModifier and TypeMethodDescriptionprotected void
ClientLevel.addMapData
(Map<MapId, MapItemSavedData> map) -
Uses of MapItemSavedData in net.minecraft.network.protocol.game
Methods in net.minecraft.network.protocol.game with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionvoid
ClientboundMapItemDataPacket.applyToMap
(MapItemSavedData mapData) Sets new MapData from the packet to given MapData param -
Uses of MapItemSavedData in net.minecraft.server.level
Methods in net.minecraft.server.level that return MapItemSavedDataMethods in net.minecraft.server.level with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionvoid
ServerLevel.setMapData
(MapId mapId, MapItemSavedData mapData) -
Uses of MapItemSavedData in net.minecraft.world.item
Methods in net.minecraft.world.item that return MapItemSavedDataModifier and TypeMethodDescriptionprotected MapItemSavedData
MapItem.getCustomMapData
(ItemStack p_42854_, Level p_42855_) static MapItemSavedData
MapItem.getSavedData
(ItemStack stack, Level level) static MapItemSavedData
MapItem.getSavedData
(MapId mapId, Level level) Methods in net.minecraft.world.item with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionvoid
MapItem.update
(Level level, Entity viewer, MapItemSavedData data) -
Uses of MapItemSavedData in net.minecraft.world.level
Methods in net.minecraft.world.level that return MapItemSavedDataMethods in net.minecraft.world.level with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionabstract void
Level.setMapData
(MapId mapId, MapItemSavedData mapData) -
Uses of MapItemSavedData in net.minecraft.world.level.saveddata.maps
Methods in net.minecraft.world.level.saveddata.maps that return MapItemSavedDataModifier and TypeMethodDescriptionstatic MapItemSavedData
MapItemSavedData.createForClient
(byte scale, boolean locked, ResourceKey<Level> dimension) static MapItemSavedData
MapItemSavedData.createFresh
(double x, double z, byte scale, boolean trackingPosition, boolean unlimitedTracking, ResourceKey<Level> dimension) static MapItemSavedData
MapItemSavedData.load
(CompoundTag tag, HolderLookup.Provider levelRegistry) MapItemSavedData.locked()
MapItemSavedData.scaled()
Methods in net.minecraft.world.level.saveddata.maps that return types with arguments of type MapItemSavedDataModifier and TypeMethodDescriptionstatic SavedData.Factory
<MapItemSavedData> MapItemSavedData.factory()
Methods in net.minecraft.world.level.saveddata.maps with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionvoid
MapItemSavedData.MapPatch.applyToMap
(MapItemSavedData savedData) -
Uses of MapItemSavedData in net.neoforged.neoforge.client.gui.map
Methods in net.neoforged.neoforge.client.gui.map with parameters of type MapItemSavedDataModifier and TypeMethodDescriptionboolean
IMapDecorationRenderer.render
(MapDecoration decoration, PoseStack poseStack, MultiBufferSource bufferSource, MapItemSavedData mapData, MapDecorationTextureManager decorationTextures, boolean inItemFrame, int packedLight, int index) Render the givenMapDecoration
on the map.static boolean
MapDecorationRendererManager.render
(MapDecoration decoration, PoseStack poseStack, MultiBufferSource bufferSource, MapItemSavedData mapData, MapDecorationTextureManager decorationTextures, boolean inItemFrame, int packedLight, int index)