MapDecorationType

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.

script.zs
import crafttweaker.api.world.map.MapDecorationType;

Members

Getter
script.zs
// MapDecorationType.assetId as ResourceLocation
myMapDecorationType.assetId

Return Type: ResourceLocation

Getter
script.zs
// MapDecorationType.explorationMapElement as bool
myMapDecorationType.explorationMapElement

Return Type: bool

Getter
script.zs
// MapDecorationType.hasMapColor as bool
myMapDecorationType.hasMapColor

Return Type: bool

Getter
script.zs
// MapDecorationType.mapColor as int
myMapDecorationType.mapColor

Return Type: int

Getter
script.zs
// MapDecorationType.showOnItemFrame as bool
myMapDecorationType.showOnItemFrame

Return Type: bool

Getter
script.zs
// MapDecorationType.trackCount as bool
myMapDecorationType.trackCount

Return Type: bool