Complete Hanging Light SMP Package Example

The following is the file involved in creating a hanging light using MoreMaterials.

Light

This package can be downloaded Here.

Here's what is all involved.

YML Configuration File

Type: Block
Title: Light
BaseId: 77
Texture: Light.png
Coords:
- 0 0 128 128
- 128 0 128 128
- 256 0 128 128
- 384 0 128 128
Shape: Light.shape
Hardness: 1.0
ItemDropAmount: 1
LightLevel: 15.0
Recipes:
- Type: Shaped
  Amount: 2
  Ingredients: |
    0 0 0
    318 318 318
    35 351 35

This is the receipe for the above item:

Light Recipe

This is the image file for the above item:

Light png map

SHAPE File

BoundingBox: "0 0 0 1 1 1"
Shapes:
  - Texture: 0
    Coords: |
      0 1 1
      1 1 1
      1 1 0
      0 1 0
  - Texture: 0
    Coords: |
      1 1 1
      0 1 1
      0 0.9375 1
      1 0.9375 1
  - Texture: 0
    Coords: |
      1 1 1
      1 0.9375 1
      1 0.9375 0
      1 1 0
  - Texture: 0
    Coords: |
      0 1 0
      1 1 0
      1 0.9375 0
      0 0.9375 0
  - Texture: 0
    Coords: |
      0 1 0
      0 0.9375 0
      0 0.9375 1
      0 1 1
  - Texture: 1
    Coords: |
      0.125 0.625 0.875
      0.125 0.9375 0.875
      0.125 0.9375 0.125
      0.125 0.625 0.125
  - Texture: 3
    Coords: |
      0.125 0.9375 0.125
      0.875 0.9375 0.125
      0.875 0.625 0.125
      0.125 0.625 0.125
  - Texture: 0
    Coords: |
      1 0.9375 1
      0 0.9375 1
      0 0.9375 0
      1 0.9375 0
  - Texture: 1
    Coords: |
      0.875 0.9375 0.875
      0.875 0.625 0.875
      0.875 0.625 0.125
      0.875 0.9375 0.125
  - Texture: 2
    Coords: |
      0.875 0.625 0.875
      0.125 0.625 0.875
      0.125 0.625 0.125
      0.875 0.625 0.125
  - Texture: 3
    Coords: |
      0.125 0.625 0.875
      0.875 0.625 0.875
      0.875 0.9375 0.875
      0.125 0.9375 0.875

Comments

Posts Quoted:
Reply
Clear All Quotes