XiaoMoMi Plugins
δΈ­ζ–‡η»΄εŸΊ
CraftEngine
CraftEngine
  • Plugin Wiki
    • 🏭️ CraftEngine
      • πŸ“ Atlas [MUST READ]
      • πŸ—ΊοΈ Mipmap [MUST READ]
      • βž•οΈ Add New Contents
        • πŸ“„ Templates [MUST READ]
          • 🟒 Argument Types
        • 🏭️ Model Generation
        • πŸͺ‡ Events
        • βš–οΈ Conditions
        • πŸ“– Recipes
        • πŸ’Ž Loot Table
        • πŸͺ‘ Furniture
          • βš™οΈ Furniture Settings
          • πŸ•ΉοΈ Furniture Behaviors
          • πŸ“ Furniture Placement
        • πŸ—‘οΈ Items
          • πŸ”’ Item Data
            • πŸ”’ Client Bound Item Data
          • βš™οΈ Item Settings
          • πŸ•ΉοΈ Item Behaviors
            • πŸͺ‘ Furniture Item
            • 🧱 Block Item
              • 🌊 Liquid Collision Block Item
          • 🟰 Item Models
            • πŸ“ Model
              • 🎨 Tint
            • 🧩 Composite
            • βš–οΈ Condition
            • πŸ“‘ Range Dispatch
            • βœ… Select
            • πŸ‘» Special
        • 🧱 Blocks
          • βš™οΈ Block Settings
            • 🏷️ Useful Tags
          • πŸ”£ Block States
            • 🏷️ Properties
          • πŸ•ΉοΈ Block Behaviors
            • πŸ’¦ Concrete Powder Block
            • 🟨 Falling Block
            • 🍁 Leaves Block
            • 🎍 Vertical Crop Block
            • 🌽 Crop Block
            • 🌴 Sapling Block
            • πŸͺ» Bush Block
            • πŸͺ“ Strippable Block
            • 🚟 Hanging Block
            • 🌿 Grass Block
            • 🌊 On Liquid Block
            • 🌊 Near Liquid Block
            • πŸ’‘ Lamp Block
          • πŸ«‘ Block Entities
        • πŸ–ΌοΈ Images
        • πŸ˜€ Emoji
        • γŠ™οΈ Fonts
        • πŸ“‚ Category
        • πŸ”Š Sounds
        • 🌍 Server Lang (i18n)
        • 🌎️ Client Lang (lang)
        • πŸ—ƒοΈ Vanilla Loots
        • πŸ”  Global Variables
      • πŸ”’ Number Format
      • ✏️ Text Format
        • πŸ”— Chain Arguments
      • πŸ“¦οΈ Resource Pack
        • βš”οΈ File Conflict
        • πŸ›œ Host
      • 🐚 Commands
      • πŸ”Œ Compatibility
        • 🐌 External Item Providers
        • πŸͺ“ WorldEdit / FAWE
        • πŸ…ΏοΈ PlaceholderAPI
        • βš›οΈ Axiom
        • 🟒 AdvancedSlimePaper
        • πŸ–ŒοΈ World Painter
        • ⌨️ Skript
        • πŸ‘” Supported Levelers
      • πŸ“” Worldgen Datapack Tutorial
        • πŸͺ¨ Ore Vein
        • 🌳 Tree
        • 🌺 Surface Decoration
        • 🏰 Structure
      • ⌨️ API
      • πŸ—‚οΈ Misc
        • πŸ““ Config Format Changelog
        • ❓️ Common Questions
Powered by GitBook
On this page
  1. Plugin Wiki
  2. 🏭️ CraftEngine
  3. βž•οΈ Add New Contents
  4. 🧱 Blocks
  5. πŸ•ΉοΈ Block Behaviors

🍁 Leaves Block

Previous🟨 Falling BlockNext🎍 Vertical Crop Block

Last updated 2 months ago

🍁 Leaves Block possess three properties: distance (the distance from the tree trunk), persistent (whether the block can exist permanently), and waterlogged (whether the block contains water [optional]). The distance property enables naturally generated leaves to decay over time, while the persistent property ensures that player-placed leaves remain permanently.

blocks:
  default:palm_leaves:
    behavior:
      type: leaves_block

Please note that all leaf blocks must have the persistent (boolean) and distance (int) properties, with distance being at least 1. If you are unsure how to configure these properties, please refer to πŸ”£ Block States.

You can increase or decrease the distance value as needed. For particularly large trees, to prevent leaf decay, you can set the distance to 10 or higher. In the vanilla game, the maximum distance for leaves is 7.