Custom Block Reference - jojodmo/CustomItems GitHub Wiki

General Info

Everything in [brackets] is required. Everything in (parentheses) is optional.

For more info on referencing items, biomes, and other things, see https://github.com/jojodmo/CustomItems/wiki/Custom-Item-Reference

For more in-depth info about some of the options, see https://github.com/jojodmo/CustomItems/wiki/Creating-a-Custom-Block

Top level entries

# in myCustomItem.yml:
#
# other item parameters here... For more info see
# https://github.com/jojodmo/CustomItems/wiki/Custom-Item-Reference 
#

block:
  texture: (texture - see below)

  doPhysics: (true/false | default: block's default)

  exp: (number | defualt: 0)
  doFortuneDrops: (true/false — only takes effect when "drops" is used below | default: false)
  doSilkTouchDrops: (true/false | default: false)
  drops: (item map)
    itemReferenceString: [number]
    itemReferenceString2: [number]
    #
    # example: drop 10 diamonds
    # "minecraft:DIAMOND": 10
  generation: (list)
    # each entry starts with a "-" and is indented like so.
    # there can be multiple entries
    -
      method: ["ore" / "replace"]
      worlds: (string list | default: all worlds)
      biomes: (string list | default: all biomes)
      continueChance: [decimal from 0.0 to 1.0 | REQUIRED ONLY FOR method: "ore"]
      continueChanceGrowth: (constant, linear, or exponential | default: constant)
      generationChance: [decimal from 0.0 to 1.0]
      amountPerChunk: [number]
      minY: (number | default: 0)
      maxY: (number | default: none)

(texture)

See Adding Custom Textures to Blocks

block:
  texture:
    textureID: (number)