block.yml

Example Block Configuration File:

blocks:
  otherblock:
    name: "Example Block" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_block" # Block ID
    types: "cube_all" # Full block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      canFire: true # Flammable
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  CUBEALL:
    name: "Example Cube ALL" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "cube_all" # Block ID
    types: "cube_all" # Full block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  other_planks:
    name: "Example Planks" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_planks" # Block ID
    types: "cube_all" # Full block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  test_directional_block:
    name: "Example Directional Block" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "direct_block" # Block ID
    maxCount: 64 # Maximum stack size (integer int type)
    types: "cube" # Block with direction
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 5 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "wood" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  otherbutton:
    name: "Example Button"
    namespace: "coreextensions" # Namespace
    id: "other_button" # Block ID
    types: "button" # Button block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
      wooden: true # Whether it's made of wood
      pressTicks: 20 # Interval time
  doorblock:
    name: "Example Door" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_door" # Block ID
    types: "door" # Door block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      canOpenByHand: false # Whether it can be opened directly by hand
      dropsNothing: false # Whether it doesn't drop anything
      sound: "wood" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  blockwall:
    name: "Example Wall" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_wall" # Block ID
    types: "wall" # Wall block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOD" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  blockfence:
    name: "Example Fence" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_fence" # Block ID
    types: "fence" # Fence block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOD" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  blockfencegate:
    name: "Example Fence Gate" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_fence_gate" # Block ID
    types: "fence_gate" # Fence gate block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOD" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  blockPP:
    name: "Example Pressure Plate" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_pressure_plate" # Block ID
    types: "pressure_plate" # Pressure plate block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOD" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
      stone: true # Whether it inherits properties of stone pressure plates
  slabblock:
    name: "Example Slab" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_slab" # Block ID
    types: "slab" # Slab block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "wood" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  stairsblock:
    name: "Example Stairs" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_stairs" # Block ID
    types: "stairs" # Stairs block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "wood" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  trapdoorblock:
    name: "Example Trapdoor" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_trapdoor" # Block ID
    types: "trapdoor" # Trapdoor block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      canOpenByHand: false # Whether it can be opened directly by hand
      dropsNothing: false # Whether it doesn't drop anything
      sound: "wood" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  redstone_lamp:
    name: "Example Red Stone Lamp" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "redstone_lamp" # Block ID
    types: "lamp" # Full block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 15 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  torch:
    name: "Example Torch" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "torch" # Block ID
    types: "torch" # Full block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 15 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  otherlog:
    name: "Example Log Block" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_log" # Block ID
    types: "log" # Log block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      require: "AXE" # Set axe acceleration for destruction
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  otherleaves:
    name: "Example Leaves Block" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "other_leaves" # Block ID
    types: "leaves" # Leaves block
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      require: "SHEARS" # Set shear acceleration for destruction
      dropsNothing: false # Whether it doesn't drop anything
      sound: "WOOL" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  sand:
    name: "Example Sand" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "sand" # Block ID
    types: "sand"
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "SAND" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering
  soulsand:
    name: "Example SoulSand" # Automatically added to the language
    namespace: "coreextensions" # Namespace
    id: "soulsand" # Block ID
    types: "soulsand" # Soul sand
    maxCount: 64 # Maximum stack size (integer int type)
    properties:
      generate: true # Whether it needs to be generated automatically
      groups: "coreextensions:itemgroups"
      lightLevel: 0 # Light level (integer int type)
      dropsNothing: false # Whether it doesn't drop anything
      sound: "SAND" # Block sound
      hardness: 1.5 # Block hardness
      resistance: 3.0 # Block resistance
      useCutoutLayer: true # Whether it supports transparent rendering

Last updated