Skip to content

Resources Saplings

Resources Saplings are standard sapling blocks infused with a resource type via data components. They behave like their vanilla counterparts in every way, but grow trees with Resources Leaves that drop Leaf Fragments.

Crafting

Place a vanilla sapling in the center and the resource material in the four cardinal slots:

   [M]
[M][S][M]
   [M]

The recipe automatically detects which ResourcesType matches the material. One recipe format covers all types — there is no need for separate recipes per type.

Variants

Block IDBase SaplingTree Type
resourcestrees:resources_oak_saplingminecraft:oak_saplingOak
resourcestrees:resources_spruce_saplingminecraft:spruce_saplingSpruce
resourcestrees:resources_birch_saplingminecraft:birch_saplingBirch
resourcestrees:resources_jungle_saplingminecraft:jungle_saplingJungle
resourcestrees:resources_acacia_saplingminecraft:acacia_saplingAcacia
resourcestrees:resources_dark_oak_saplingminecraft:dark_oak_saplingDark Oak
resourcestrees:resources_cherry_saplingminecraft:cherry_saplingCherry
resourcestrees:resources_pale_oak_saplingminecraft:pale_oak_saplingPale Oak

Placement Rules

Resources Saplings follow the same placement rules as their vanilla counterparts.

Dark Oak

resources_dark_oak_sapling requires a 2×2 arrangement to grow, just like vanilla Dark Oak. All four saplings in the 2×2 must be the same resource type.

Growing

  • Grows naturally over time via random ticks.
  • Supports bone meal to force growth.
  • When grown, all leaves in the resulting tree are automatically assigned the resource type.
  • Mega trees (2×2 Spruce and Jungle) are supported.

Block Entity

Each placed Resources Sapling has an invisible ResourcesTypesBlockEntity that stores the resource type:

json
{
  "type": "resourcestrees:iron"
}

This data is synchronized to clients so the tint color renders correctly. When you mine a sapling, the item retains the resource type via an item data component.

Tags

Resources Saplings are registered in:

  • minecraft:saplings block tag
  • minecraft:saplings item tag

All Resources Saplings are compostable with a 30% chance.

Item Data Component

The resource type is stored on items as:

resourcestrees:resources_type = "resourcestrees:<type_name>"

This component is used by recipes, the Tree Simulator, and the tinting system to identify the type.

Released under the All Rights Reserved License.