Uses of Class
net.minecraft.item.map.MapState
Packages that use MapState
Package
Description
-
Uses of MapState in net.minecraft.client.gui.screen.ingame
Methods in net.minecraft.client.gui.screen.ingame with parameters of type MapStateModifier 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
Fields in net.minecraft.client.render declared as MapStateMethods in net.minecraft.client.render with parameters of type MapStateModifier 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) Constructors in net.minecraft.client.render with parameters of type MapState -
Uses of MapState in net.minecraft.client.world
Fields in net.minecraft.client.world with type parameters of type MapStateModifier and TypeFieldDescriptionprivate final Map
<MapIdComponent, MapState> ClientWorld.mapStates
Methods in net.minecraft.client.world that return MapStateMethods in net.minecraft.client.world that return types with arguments of type MapStateModifier and TypeMethodDescriptionprotected Map
<MapIdComponent, MapState> ClientWorld.getMapStates()
Methods in net.minecraft.client.world with parameters of type MapStateModifier and TypeMethodDescriptionvoid
ClientWorld.putClientsideMapState
(MapIdComponent id, MapState state) void
ClientWorld.putMapState
(MapIdComponent id, MapState state) Method parameters in net.minecraft.client.world with type arguments of type MapStateModifier and TypeMethodDescriptionprotected void
ClientWorld.putMapStates
(Map<MapIdComponent, MapState> mapStates) -
Uses of MapState in net.minecraft.item
Methods in net.minecraft.item that return MapStateModifier and TypeMethodDescriptionFilledMapItem.getMapState
(@Nullable MapIdComponent id, World world) FilledMapItem.getMapState
(ItemStack map, World world) Item.TooltipContext.getMapState
(MapIdComponent mapIdComponent) Methods in net.minecraft.item with parameters of type MapStateModifier and TypeMethodDescriptionvoid
FilledMapItem.updateColors
(World world, Entity entity, MapState state) -
Uses of MapState in net.minecraft.item.map
Methods in net.minecraft.item.map that return MapStateModifier 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.Methods in net.minecraft.item.map that return types with arguments of type MapStateModifier and TypeMethodDescriptionstatic PersistentState.Type
<MapState> MapState.getPersistentStateType()
Methods in net.minecraft.item.map with parameters of type MapState -
Uses of MapState in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play with parameters of type MapState -
Uses of MapState in net.minecraft.server.world
Methods in net.minecraft.server.world that return MapStateMethods in net.minecraft.server.world with parameters of type MapStateModifier and TypeMethodDescriptionvoid
ServerWorld.putMapState
(MapIdComponent id, MapState state) -
Uses of MapState in net.minecraft.world
Methods in net.minecraft.world that return MapStateMethods in net.minecraft.world with parameters of type MapStateModifier and TypeMethodDescriptionabstract void
World.putMapState
(MapIdComponent id, MapState state)