Interface MapDecorations.Builder
- All Superinterfaces:
- DataComponentBuilder<MapDecorations>
- Enclosing interface:
- MapDecorations
@NonExtendable
@Experimental
public static interface MapDecorations.Builder
extends DataComponentBuilder<MapDecorations>
Builder for 
MapDecorations.- 
Method SummaryModifier and TypeMethodDescriptionput(String id, MapDecorations.DecorationEntry entry) Puts the decoration with the given id in this builder.putAll(Map<String, MapDecorations.DecorationEntry> entries) Puts all the decoration with the given id in this builder.Methods inherited from interface io.papermc.paper.datacomponent.DataComponentBuilderbuild
- 
Method Details- 
put@Contract(value="_, _ -> this", mutates="this") MapDecorations.Builder put(String id, MapDecorations.DecorationEntry entry) Puts the decoration with the given id in this builder.- Parameters:
- id- id
- entry- decoration
- Returns:
- the builder for chaining
- See Also:
 
- 
putAll@Contract(value="_ -> this", mutates="this") MapDecorations.Builder putAll(Map<String, MapDecorations.DecorationEntry> entries) Puts all the decoration with the given id in this builder.- Parameters:
- entries- decorations
- Returns:
- the builder for chaining
- See Also:
 
 
-