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;

Implements

Undocumented Interfaces

Comparable<Enum>

Enum Constants

MapDecorationType is an enum with 27 constants. They are accessible like so:

script.zs
// MapDecorationType.BANNER_BLACK
<constant:minecraft:world/map/decorationtype:banner_black>
// MapDecorationType.BANNER_BLUE
<constant:minecraft:world/map/decorationtype:banner_blue>
// MapDecorationType.BANNER_BROWN
<constant:minecraft:world/map/decorationtype:banner_brown>
// MapDecorationType.BANNER_CYAN
<constant:minecraft:world/map/decorationtype:banner_cyan>
// MapDecorationType.BANNER_GRAY
<constant:minecraft:world/map/decorationtype:banner_gray>
// MapDecorationType.BANNER_GREEN
<constant:minecraft:world/map/decorationtype:banner_green>
// MapDecorationType.BANNER_LIGHT_BLUE
<constant:minecraft:world/map/decorationtype:banner_light_blue>
// MapDecorationType.BANNER_LIGHT_GRAY
<constant:minecraft:world/map/decorationtype:banner_light_gray>
// MapDecorationType.BANNER_LIME
<constant:minecraft:world/map/decorationtype:banner_lime>
// MapDecorationType.BANNER_MAGENTA
<constant:minecraft:world/map/decorationtype:banner_magenta>
// MapDecorationType.BANNER_ORANGE
<constant:minecraft:world/map/decorationtype:banner_orange>
// MapDecorationType.BANNER_PINK
<constant:minecraft:world/map/decorationtype:banner_pink>
// MapDecorationType.BANNER_PURPLE
<constant:minecraft:world/map/decorationtype:banner_purple>
// MapDecorationType.BANNER_RED
<constant:minecraft:world/map/decorationtype:banner_red>
// MapDecorationType.BANNER_WHITE
<constant:minecraft:world/map/decorationtype:banner_white>
// MapDecorationType.BANNER_YELLOW
<constant:minecraft:world/map/decorationtype:banner_yellow>
// MapDecorationType.BLUE_MARKER
<constant:minecraft:world/map/decorationtype:blue_marker>
// MapDecorationType.FRAME
<constant:minecraft:world/map/decorationtype:frame>
// MapDecorationType.MANSION
<constant:minecraft:world/map/decorationtype:mansion>
// MapDecorationType.MONUMENT
<constant:minecraft:world/map/decorationtype:monument>
// MapDecorationType.PLAYER
<constant:minecraft:world/map/decorationtype:player>
// MapDecorationType.PLAYER_OFF_LIMITS
<constant:minecraft:world/map/decorationtype:player_off_limits>
// MapDecorationType.PLAYER_OFF_MAP
<constant:minecraft:world/map/decorationtype:player_off_map>
// MapDecorationType.RED_MARKER
<constant:minecraft:world/map/decorationtype:red_marker>
// MapDecorationType.RED_X
<constant:minecraft:world/map/decorationtype:red_x>
// MapDecorationType.TARGET_POINT
<constant:minecraft:world/map/decorationtype:target_point>
// MapDecorationType.TARGET_X
<constant:minecraft:world/map/decorationtype:target_x>

Members

Getter
script.zs
// Type.getMapColor as int
<constant:minecraft:world/map/decorationtype:banner_black>.getMapColor

Return Type: int

getMapColor() as int
script.zs
// Type.getMapColor() as int;
<constant:minecraft:world/map/decorationtype:banner_black>.getMapColor();

Return Type: int

Getter
script.zs
// Type.hasMapColor as bool
<constant:minecraft:world/map/decorationtype:banner_black>.hasMapColor

Return Type: bool

hasMapColor() as bool
script.zs
// Type.hasMapColor() as bool;
<constant:minecraft:world/map/decorationtype:banner_black>.hasMapColor();

Return Type: bool

Getter
script.zs
// Type.icon as byte
<constant:minecraft:world/map/decorationtype:banner_black>.icon

Return Type: byte

icon() as byte
script.zs
// Type.icon() as byte;
<constant:minecraft:world/map/decorationtype:banner_black>.icon();

Return Type: byte

Getter
script.zs
// Type.isRenderedOnFrame as bool
<constant:minecraft:world/map/decorationtype:banner_black>.isRenderedOnFrame

Return Type: bool

isRenderedOnFrame() as bool
script.zs
// Type.isRenderedOnFrame() as bool;
<constant:minecraft:world/map/decorationtype:banner_black>.isRenderedOnFrame();

Return Type: bool

Getter
script.zs
// Type.shouldTrackCount as bool
<constant:minecraft:world/map/decorationtype:banner_black>.shouldTrackCount

Return Type: bool

shouldTrackCount() as bool
script.zs
// Type.shouldTrackCount() as bool;
<constant:minecraft:world/map/decorationtype:banner_black>.shouldTrackCount();

Return Type: bool