Oraxen
  • Getting started
  • Frequently Asked Questions
  • Usage
    • Commands
    • Default items
    • Recipes
  • Configuration
    • Understanding the basics
    • Plugin settings
    • Items (beginners)
    • Items (advanced)
      • Dyeable Items
    • Custom Armors
      • Component Based (1.21.2+)
      • Trims Based (1.20-1.21.1)
      • Shader Based (1.18-1.19.4)
    • Custom HUD
    • Item Appearance
    • Glyphs
      • Custom Gui
  • Mechanics
    • Introduction
    • All mechanics
      • Custom mechanic
      • clickAction Mechanic
    • Furniture Mechanic
      • Furniture Position
      • Display-Entity Furniture
      • Farming Mechanic
    • NoteBlock mechanic
      • Stripped log Mechanic
      • Directional mechanic
      • Farmblock Mechanic
    • StringBlock Mechanic
      • Sapling Mechanic
  • Compatibility
    • BossShopPro - shop
    • CrateReloaded - crates
    • ModelEngine - custom mobs
    • MythicMobs - custom mobs
    • TrMenu - custom inventories
    • MMoItems
    • MythicCrucible
    • HappyHUD
    • World Generators
      • Iris World Generator
      • EpicWorldGenerator
      • Custom Ore Generator
      • RealisticWorldGenerator
  • Vendors
    • Vendor Guidelines
  • Developers
    • Create your own Mechanic
    • Add Compatibility with a plugin
    • Custom hosting service
    • API
Powered by GitBook
On this page
  • How does it work?
  • Global Configuration
  • How do I create a sapling?

Was this helpful?

  1. Mechanics
  2. StringBlock Mechanic

Sapling Mechanic

only for 1.136.0+

How does it work?

This is a variable of the custom blocks, but now you have to have a thread-based hitbox that allows you to make small decorative objects that can be traversed and are more optimized than furniture and the custom_variation is different from that of the blocks.

Global Configuration

stringblock:
  tool_types:
    - WOODEN
    - STONE
    - IRON
    - GOLDEN
    - DIAMOND
    - NETHERITE
  sapling_growth_check_delay: 4000
  enabled: true

How do I create a sapling?

Add the below section to your stringblock of choice.

sapling:
  Mechanics:
    stringblock:
      sapling:
        canGrowNaturally: true # if you want only the player can grow it
        naturalGrowthTime: 6000 #in ticks
        canGrowFromBoneMeal: true
        boneMealGrowChance: 50
        growSound: block.grass.break
        minLightLevel: 4
        requiresWaterSource: false #if you want it to need water
        schematicName: schemTest #structure that will put

You can also add some randomness to the growth, or just increase the delay between checks. Go into mechanics.yml and under stringblock-mechanic, adjust sapling_growth_check_delay (20 = 1 second).

PreviousStringBlock MechanicNextBossShopPro - shop

Last updated 5 months ago

Was this helpful?

Page cover image