Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Root System

From SAS Gaming Wiki

Template:WipTemplate:Infobox structure

A root system is a Minecraft:feature that spawns below naturally generated Minecraft:azalea trees.

Generation

A root system is a mess of Minecraft:rooted dirt blocks in a clump.

Data values

ID

Template:El: Template:ID table

Template:ID table

Config

Template:Main Template:El:

If the initial position is not air, root system fails to place. Root system checks every position, starting from the initial position and moving upward by Template:Nbt blocks. If it goes above the WORLD_SURFACE heightmap, root system fails to place.

At each position in order:

  1. If the amount of air and water blocks above the position is less than Template:Nbt or the highest water block is higher than Template:Nbt, the position is not valid;
  2. Template:Nbt Minecraft:block predicate;
  3. If Template:Nbt is not 0, in each cardinal direction with an offset Template:Nbt by XZ 2 points are checked with offset Template:Nbt by Y above and below. If below point is air or above point is not air, the position is not valid. That means if Template:Nbt is set to 0, this check will always fail;
  4. If below block is lava or not solid, the position is not valid;
  5. If Template:NbtTemplate:Nbt fails to place, the position is not valid.

After a position is found, roots are placed within a Template:Nbt along XZ Template:Nbt times. They can replace only Template:NbtTemplate:Nbt blocks. After roots are placed, hanging roots are placed within a radius, defined by Template:Nbt along XZ and Template:Nbt along Y Template:Nbt times. If a block is air, then Minecraft:block predicates has_sturdy_face above and would_survive are applied.

<section begin="config"/>

<section end="config"/>

Template:Collapse <syntaxhighlight lang="json"> {

 "type": "minecraft:root_system",
 "config": {
   "required_vertical_space_for_tree": 3,
   "level_test_distance": 0,
   "max_level_deviation": 0,
   "root_radius": 3,
   "root_placement_attempts": 20,
   "root_column_max_height": 100,
   "hanging_root_radius": 3,
   "hanging_roots_vertical_span": 2,
   "hanging_root_placement_attempts": 20,
   "allowed_vertical_water_for_tree": 2,
   "root_replaceable": "#minecraft:azalea_root_replaceable",
   "root_state_provider": {
     "type": "minecraft:simple_state_provider",
     "state": {
       "Name": "minecraft:rooted_dirt"
     }
   },
   "hanging_root_state_provider": {
     "type": "minecraft:simple_state_provider",
     "state": {
       "Name": "minecraft:hanging_roots",
       "Properties": {
         "waterlogged": "false"
       }
     }
   },
   "allowed_tree_position": {
     "type": "minecraft:true"
   },
   "feature": {
     "feature": "minecraft:azalea_tree",
     "placement": []
   }
 }

} </syntaxhighlight> Template:Collapse

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

References

Template:Reflist

Navigation

Template:Navbox generated features

Minecraft:fr:Système racinaire Minecraft:ja:root_system Minecraft:pt:Sistema de raízes