Arqade Asked on June 24, 2021
So I am using this free addon maker (it is pretty bad) and I am trying to my flower spawn in. However, as far as I travel, I never see one. Here is the file:
{
"format_version": "1.13.0",
"minecraft:feature_rules": {
"description": {
"identifier": "overworld_underground_sepular_flower_feature",
"places_feature": "pa_sepular_flower_feature"
},
"conditions": {
"placement_pass": "surface_pass",
"minecraft:biome_filter": [
{
"any_of": [
{
"test": "has_biome_tag",
"operator": "==",
"value": "flower_forest"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "plains"
},
{
"test": "has_biome_tag",
"operator": "==",
"value": "bee_habitat"
}
]
}
]
},
"distribution": {
"iterations": 1,
"coordinate_eval_order": "zyx",
"x": 0,
"y": "query.heightmap(variable.worldx, variable.worldz) + 1",
"z": 0
}
}
}
Here is proof I looked up the question and found no answer:
Please note my addon creator only allows the block to spawn on one type of block using the block filter, which won’t work. E Edit: Bounty expiring soon! Answer fast!
You may have made a very rare object. It can only appear 1/256 of the time and only 2 tiles above one of the 256 surface tiles in each 16x16 chunk.
Try changing the 'distribution' to make your object more common. I've changed the following:
iterations
variable controls how often a thing spawns.x
and z
coordinates to a distribution should allow the feature to spawn on more blocks in the chunk.query.heightmap()
function already returns a y
coordinate one above the landscape, so I've removed the '+1' (unless you want a hovering flower, then change it back).The result of that is:
"distribution": {
"iterations": 10,
"coordinate_eval_order": "xzy",
"x": {
"distribution": "uniform",
"extent": [ 0, 16 ]
},
"y": "query.heightmap(variable.worldx, variable.worldz)",
"z": {
"distribution": "uniform",
"extent": [ 0, 16 ]
}
}
See if this makes your object spawn more often.
You can use these resources to guide you further:
Answered by aphid on June 24, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP