Uses of Record Class
net.minecraft.world.item.component.MapDecorations.Entry
-
Uses of MapDecorations.Entry in net.minecraft.world.item.component
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MapDecorations.Entry> MapDecorations.Entry.CODEC
private final Map
<String, MapDecorations.Entry> MapDecorations.decorations
The field for thedecorations
record component.Modifier and TypeMethodDescriptionMapDecorations.decorations()
Returns the value of thedecorations
record component.Modifier and TypeMethodDescriptionMapDecorations.withDecoration
(String p_331258_, MapDecorations.Entry p_330416_) ModifierConstructorDescriptionMapDecorations
(Map<String, MapDecorations.Entry> decorations) Creates an instance of aMapDecorations
record class.