XiaoMoMi Plugins
δΈ­ζ–‡η»΄εŸΊ
CraftEngine
CraftEngine
  • Plugin Wiki
    • 🏭️ CraftEngine
      • πŸ§‘β€πŸ”§ Installation Guide
      • πŸ“ 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
            • 🟨 Falling Block
              • πŸ’¦ Concrete Powder Block
            • 🍁 Leaves Block
            • πŸͺ» Bush Block
              • 🎍 Sugar Cane Block
              • 🌽 Crop Block
              • 🌴 Sapling Block
            • πŸͺ“ Strippable Block
            • 🌊 On Liquid Block
            • 🚟 Hanging Block
            • 🌿 Grass 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
      • πŸ“” 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πŸ’¦ Concrete Powder BlockNextπŸͺ» Bush Block

Last updated 1 month 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.