Uses of Record Class
net.minecraft.world.level.saveddata.maps.MapDecoration
Packages that use MapDecoration
Package
Description
-
Uses of MapDecoration in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type MapDecoration -
Uses of MapDecoration in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type MapDecorationModifier and TypeFieldDescriptionprivate final Optional
<List<MapDecoration>> ClientboundMapItemDataPacket.decorations
The field for thedecorations
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type MapDecorationModifier and TypeMethodDescriptionClientboundMapItemDataPacket.decorations()
Returns the value of thedecorations
record component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type MapDecorationModifierConstructorDescriptionClientboundMapItemDataPacket
(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 MapDecoration in net.minecraft.world.level.saveddata.maps
Fields in net.minecraft.world.level.saveddata.maps with type parameters of type MapDecorationModifier and TypeFieldDescription(package private) final Map
<String, MapDecoration> MapItemSavedData.decorations
static final StreamCodec
<RegistryFriendlyByteBuf, MapDecoration> MapDecoration.STREAM_CODEC
Methods in net.minecraft.world.level.saveddata.maps that return types with arguments of type MapDecorationMethod parameters in net.minecraft.world.level.saveddata.maps with type arguments of type MapDecorationModifier and TypeMethodDescriptionvoid
MapItemSavedData.addClientSideDecorations
(List<MapDecoration> p_164802_) -
Uses of MapDecoration in net.neoforged.neoforge.client.gui.map
Methods in net.neoforged.neoforge.client.gui.map with parameters of type MapDecorationModifier 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) -
Uses of MapDecoration in net.neoforged.neoforge.debug.client
Methods in net.neoforged.neoforge.debug.client with parameters of type MapDecorationModifier and TypeMethodDescriptionboolean
MapDecorationRenderTests.TestDecorationRenderer.render
(MapDecoration decoration, PoseStack poseStack, MultiBufferSource bufferSource, MapItemSavedData mapData, MapDecorationTextureManager decorationTextures, boolean inItemFrame, int packedLight, int index)