Uses of Class
net.minecraft.item.map.MapState
Package
Description
-
Uses of MapState in net.minecraft.client.gui.screen.ingame
Modifier and TypeMethodDescriptionprivate void
CartographyTableScreen.drawMap
(DrawContext context, @Nullable MapIdComponent mapId, @Nullable MapState mapState, boolean cloneMode, boolean expandMode, boolean lockMode, boolean cannotExpand) private void
CartographyTableScreen.drawMap
(DrawContext context, @Nullable MapIdComponent mapId, @Nullable MapState mapState, int x, int y, float scale) -
Uses of MapState in net.minecraft.client.render
Modifier and TypeMethodDescriptionvoid
MapRenderer.draw
(MatrixStack matrices, VertexConsumerProvider vertexConsumers, MapIdComponent id, MapState state, boolean hidePlayerIcons, int light) private MapRenderer.MapTexture
MapRenderer.getMapTexture
(MapIdComponent id, MapState state) (package private) void
void
MapRenderer.updateTexture
(MapIdComponent id, MapState state) -
Uses of MapState in net.minecraft.client.world
Modifier and TypeFieldDescriptionprivate final Map
<MapIdComponent, MapState> ClientWorld.mapStates
Modifier and TypeMethodDescriptionprotected Map
<MapIdComponent, MapState> ClientWorld.getMapStates()
Modifier and TypeMethodDescriptionvoid
ClientWorld.putClientsideMapState
(MapIdComponent id, MapState state) void
ClientWorld.putMapState
(MapIdComponent id, MapState state) Modifier and TypeMethodDescriptionprotected void
ClientWorld.putMapStates
(Map<MapIdComponent, MapState> mapStates) -
Uses of MapState in net.minecraft.item
Modifier and TypeMethodDescriptionFilledMapItem.getMapState
(@Nullable MapIdComponent id, World world) FilledMapItem.getMapState
(ItemStack map, World world) Item.TooltipContext.getMapState
(MapIdComponent mapIdComponent) Modifier and TypeMethodDescriptionvoid
FilledMapItem.updateColors
(World world, Entity entity, MapState state) -
Uses of MapState in net.minecraft.item.map
Modifier and TypeMethodDescriptionMapState.copy()
static MapState
MapState.fromNbt
(NbtCompound nbt, RegistryWrapper.WrapperLookup registryLookup) static MapState
MapState.of
(byte scale, boolean locked, RegistryKey<World> dimension) Creates a new map state instance for the client.static MapState
MapState.of
(double centerX, double centerZ, byte scale, boolean showDecorations, boolean unlimitedTracking, RegistryKey<World> dimension) Creates a new map state instance.MapState.zoomOut()
Creates a new map state which is a zoomed out version of the current one.Modifier and TypeMethodDescriptionstatic PersistentState.Type
<MapState> MapState.getPersistentStateType()
-
Uses of MapState in net.minecraft.network.packet.s2c.play
-
Uses of MapState in net.minecraft.server.world
Modifier and TypeMethodDescriptionvoid
ServerWorld.putMapState
(MapIdComponent id, MapState state) -
Uses of MapState in net.minecraft.world
Modifier and TypeMethodDescriptionabstract void
World.putMapState
(MapIdComponent id, MapState state)