Uses of Record Class
net.minecraft.world.level.saveddata.maps.MapDecoration
Packages that use MapDecoration
Package
Description
-
Uses of MapDecoration in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type MapDecorationModifier and TypeMethodDescriptionMapRenderer.extractDecorationRenderState
(MapDecoration p_364175_) -
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_)