Unique behaviors of CraftEngine

Behaviors specifically programmed for CraftEngine :)

Column Block

Property Name
Property Type
Required

up

string

yes

middle

string

yes

down

string

yes

single

string

yes

  painter:white_column:
    behavior:
      - type: painter:column_block
    states:
      properties:
        position:
          type: painter:column_block
          default: down
      appearances:
        position=up:
          auto-state: cactus
          model:
            path: "painter:block/white_column_up"
        position=middle:
          auto-state: cactus
          model:
            path: "painter:block/white_column_middle"
        position=down:
          auto-state: cactus
          model:
            path: "painter:block/white_column_down"
        position=single:
          auto-state: cactus
          model:
            path: "painter:block/white_column_down"
      variants:
        position=up:
          appearance: "position=up"
        position=middle:
          appearance: "position=middle"
        position=down:
          appearance: "position=down"
        position=single:
          appearance: "position=single"

Window Connect Tile Block

Property Name
Property Type
Required

single

string

yes

left

string

yes

middle

string

yes

right

string

yes

up_left

string

yes

up

string

yes

up_right

string

yes

down_left

string

yes

down

string

yes

down_right

string

yes

templates:
  painter:block/oak_window_directional:
    behavior:
      - type: painter:window_connect_tile
    states:
      properties:
        tile:
          type: painter:window_connect_tile
          default: single
        facing:
          type: 4-direction
          default: north
      appearances:
############
## SINGLE ##
############
      # EAST #      
        facing=east,tile=single:
          state: iron_door[facing=east,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: -90
            translation: 0,0,-0.81
      # NORTH #
        facing=north,tile=single:
          state: iron_door[facing=north,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: 180
            translation: 0,0,-0.81
      # SOUTH #
        facing=south,tile=single:
          state: iron_door[facing=south,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            #yaw: 0
            translation: 0,0,-0.81
      # WEST #
        facing=west,tile=single:
          state: iron_door[facing=west,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: 90
            translation: 0,0,-0.81
######################
## OTHER_PROPERTIES ##
######################
            
       variants:
        facing=east,tile=single:
          appearance: facing=east,tile=single
        facing=north,tile=single:
          appearance: facing=north,tile=single
        facing=south,tile=single:
          appearance: facing=south,tile=single
        facing=west,tile=single:
          appearance: facing=west,tile=single

Sofa Connect Tile Block

Property Name
Property Type
Required

single

string

yes

left

string

yes

middle

string

yes

right

string

yes

templates:
  painter:block/oak_window_directional:
    behavior:
      - type: painter:sofa_connect_tile
    states:
      properties:
        tile:
          type: painter:sofa_connect_tile
          default: single
        facing:
          type: 4-direction
          default: north
      appearances:
############
## SINGLE ##
############
      # EAST #      
        facing=east,tile=single:
          state: iron_door[facing=east,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: -90
            translation: 0,0,-0.81
      # NORTH #
        facing=north,tile=single:
          state: iron_door[facing=north,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: 180
            translation: 0,0,-0.81
      # SOUTH #
        facing=south,tile=single:
          state: iron_door[facing=south,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            #yaw: 0
            translation: 0,0,-0.81
      # WEST #
        facing=west,tile=single:
          state: iron_door[facing=west,half=lower,hinge=left,open=false,powered=true]
          transparent: true
          entity-renderer:
            item: ${item}
            yaw: 90
            translation: 0,0,-0.81
######################
## OTHER_PROPERTIES ##
######################
            
      variants:
        facing=east,tile=single:
          appearance: facing=east,tile=single
        facing=north,tile=single:
          appearance: facing=north,tile=single
        facing=south,tile=single:
          appearance: facing=south,tile=single
        facing=west,tile=single:
          appearance: facing=west,tile=single

Last updated