MapDecorations
Importing the class
If you need to reference this type directly, like when casting an Array, or as a parameter, you will need to import it. Simply add the import at the top of the file.
import crafttweaker.api.item.component.MapDecorations;Members
Getter
myMapDecorations.decorations
Return Type:
MapDecorationsEntry[string]
static of(decorations as Entry[string]) as MapDecorations
MapDecorations.of(myMap);Parameters:
decorations: MapDecorationsEntry[string] Type: MapDecorationsEntry[string]
Return Type:
MapDecorations
withDecoration(name as string, entry as Entry) as MapDecorations
myMapDecorations.withDecoration(myString, myEntry);Parameters:
name: string Type: string entry: MapDecorationsEntry Type: MapDecorationsEntry
Return Type:
MapDecorations