Generic Custom Block .Shape File

The following is an example of a custom block's SHAPE file. The shape files name is used within the blocks YML configuration file. This is a plain 6-sided block with a full flat texture.

The name of the below file for example is: Block.shape

BoundingBox: "0 0 0 1 1 1"
Shapes:
  - Texture: 1
    Coords: |
      0 1 1
      1 1 1
      1 1 0
      0 1 0
  - Texture: 1
    Coords: |
      0 0 1
      0 1 1
      0 1 0
      0 0 0
  - Texture: 0
    Coords: |
      1 0 1
      1 1 1
      0 1 1
      0 0 1
  - Texture: 1
    Coords: |
      1 0 0
      1 1 0
      1 1 1
      1 0 1
  - Texture: 0
    Coords: |
      0 0 0
      0 1 0
      1 1 0
      1 0 0
  - Texture: 1
    Coords: |
      1 0 1
      0 0 1
      0 0 0
      1 0 0

Comments

Posts Quoted:
Reply
Clear All Quotes