block.yml

Sample Block (No Direction Support): Here's an example of how you might define a block in a YAML file for CoreExtensions:

# block.yml
blocks:
  otherblock:
    name: "Test Block" # Item name (not included in lang file)
    namespace: "coreextensions" # Namespace
    id: "other_block" # Item ID (string type)
    maxCount: 64 # Maximum stack size (integer, int type)
    lightLevel: 0 # Light level (integer, int type)
    sound: "wood" # Block Sound
    hardness: 1.5 # Block hardness (double/float type)
    resistance: 3.0 # Block resistance (double/float type)
    useCutoutLayer: true # Whether it supports transparent rendering (boolean type)
# Add more blocks...

In this example, the block named "otherblock" is defined with various properties such as its name, namespace, ID, stack size, light level, sound, hardness, resistance, and whether it supports transparent rendering.

This kind of structured format helps to define and manage blocks in a CoreExtensions pack, making it easier to understand and maintain the content.

Last updated