crop.yml
农作物配置文件示例:
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
对应物件:
ExampleCrop:
block/examplecrop_stage0
block/examplecrop_stage1
......(你设置的最大阶段数量)
item/examplecrop_seeds.png
item/examplecrop.png
ExampleHighCornCrop:
block/corn_block_stage0
block/corn_block_stage1
block/corn_block_stage2
block/corn_block_stage3
......
block/corn_block_stage8
item/corn
item/corn_seeds
fruitbush:
item/fruit
block/fruit_stage0
block/fruit_stage1
block/fruit_stage2
block/fruit_stage3
最后更新于