plant.yml
Plant Configuration (plant.yml):
blocks:
flower:
name: "A Flower" # Automatically added to the language
namespace: "coreextensions" # Namespace
id: "flower" # Plant block/item ID
types: "normal" # Normal or high (occupies two blocks vertically)
maxCount: 64 # Maximum stack size
properties:
generate: true # Automatically generate JSON
dropsNothing: false # Does not drop anything
sound: "GRASS" # Block sound
groups: "coreextensions:itemgroups"
settings:
effect: "minecraft:speed" # Corresponding BUFF
effectDuration: 10 # BUFF duration
highplant:
name: "A High Flower"
namespace: "coreextensions"
id: "highflower"
types: "high"
maxCount: 64
properties:
generate: true
dropsNothing: false
sound: "GRASS"
groups: "coreextensions:itemgroups"
settings:
effect: "minecraft:speed"
effectDuration: 10
This configuration file defines different plant types, their properties, and associated effects in a Minecraft-style mod or extension. The properties include whether the plant generates automatically, its stack size, sound, and more.
Last updated