#Override vanilla features

1 messages · Page 1 of 1 (latest)

vivid marlin
#

I want to override some features like sunflower paths, some trees etc but i dont know how, may someone help me?

vagrant lagoonBOT
vivid marlin
#

I thought i could override vanilla

#

Do i really need to create new features and place them in the json?

static sleet
static sleet
vivid marlin
#

their json is too confusing too, also im not sure if i need to change the configured feature or placed feature to make it higher

#

im trying to understand some fields in the wiki

#

oh i think i need to change configured for the shape and placed for the distribution? correct me if im wrong

#

well ill try things because i couldnt find something related to the shape at all

#

oh yeah i think its the configured features but im still confused why some have the shape and others not

static sleet
vivid marlin
#

i want to make trees higher with a pattern

#

i was looking at the wiki and doing some changes but it seems that nothing have changed at all

static sleet
#

Show your work

vivid marlin
#
{
  "type": "minecraft:random_selector",
  "config": {
    "default": "minecraft:spruce_checked",
    "features": [
      {
        "chance": 0.4,
        "feature": "minecraft:mega_pine_checked"
      },
      {
        "chance": 0.3,
        "feature": "minecraft:mega_spruce_checked"
      },
      {
        "chance": 0.1,
        "feature": "minecraft:fallen_spruce_tree"
      }
    ]
  }
}```
#

this is the configured feature

#
{
  "feature": "minecraft:trees_old_growth_pine_taiga",
  "placement": [
    {
      "type": "minecraft:count",
      "count": {
        "type": "minecraft:weighted_list",
        "distribution": [
          {
            "data": 6,
            "weight": 9
          },
          {
            "data": 10,
            "weight": 1
          }
        ]
      }
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:surface_water_depth_filter",
      "max_water_depth": 0
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "OCEAN_FLOOR"
    },
    {
      "type": "minecraft:biome"
    }
  ]
}
#

this is the placed feature

static sleet
vivid marlin
#

So there's other feature that determines it?

#

I mean, json

static sleet
#

The actual trees are handled by their own features, yes. As you can see, this feature is just a random_selector

#

It references several other placed features, which then reference the actual tree configured features

vivid marlin
#

Easier than thought but still hard lol. Ill give a try later