crop.yml

Crop Configuration:

crops:
  ExampleCrop:
    name: "Example Crop"
    namespace: "coreextensions"
    id: "examplecrop"
    types: "normal"
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      sound: "CROP"
      dropsNothing: false
      max_age: 7
  ExampleHighCornCrop:
    name: "Example High Crop"
    namespace: "coreextensions"
    id: "corn"
    types: "high"
    properties:
      generate: true
      groups: "coreextensions:itemgroups"
      sound: "CROP"
      dropsNothing: false
      max_age: 7
  fruitbush:
    name: "A Fruit"
    namespace: "coreextensions"
    id: "fruit"
    types: "fruitbush"
    maxCount: 64
    properties:
      generate: true
      dropsNothing: false
      sound: "GRASS"
      groups: "coreextensions:itemgroups"
      settings:
        effect: "minecraft:speed"
        effectDuration: 10
        hunger: 2
        saturationModifier: 1.0

Corresponding Objects:

  • ExampleCrop:

    • Block stages: block/examplecrop_stage0, block/examplecrop_stage1, ...

    • Seed item: item/examplecrop_seeds.png

    • Crop item: item/examplecrop.png

  • ExampleHighCornCrop:

    • Block stages: block/corn_block_stage0, block/corn_block_stage1, ...

    • Seed item: item/corn_seeds

    • Crop item: item/corn

  • fruitbush:

    • Bush item: item/fruit

    • Bush stages: block/fruit_stage0, block/fruit_stage1, block/fruit_stage2, block/fruit_stage3, ...

These configurations define different types of crops and their growth stages in the mod or extension, along with the corresponding block textures and item representations in the game.

Last updated