Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ore placement #871

Open
NatulilakkReal opened this issue Jun 10, 2024 · 1 comment
Open

ore placement #871

NatulilakkReal opened this issue Jun 10, 2024 · 1 comment
Labels
CONTENT For wiki content itself, not the site.

Comments

@NatulilakkReal
Copy link

Issue:
Im trying to make custom ore placement
but its not working

BP/features/emily_ore_feature.json

{
	"format_version": "1.17.0",
	"minecraft:ore_feature": {
		"description": {
			"identifier": "emily:emily_ore_feature"
		},
		"count": 8,
		"replace_rules": [
			{
				"places_block": "emily:emily_ore",
				"may_replace": ["minecraft:stone"]
			},
			{
				"places_block": "emily:emily_ore",
				"may_replace": ["minecraft:deepslate"]
			}
		]
	}
}

BP/feature_rules/overworld_underground_emily_ore_feature.json

{
	"format_version": "1.13.0",
	"minecraft:feature_rules": {
		"description": {
			"identifier": "emily:overworld_underground_emily_ore_feature",
			"places_feature": "emily:emily_ore_feature"
		},
		"conditions": {
			"placement_pass": "underground_pass",
			"minecraft:biome_filter": [
				{
					"any_of": [
						{
							"test": "has_biome_tag",
							"operator": "==",
							"value": "overworld"
						},
						{
							"test": "has_biome_tag",
							"operator": "==",
							"value": "overworld_generation"
						}
					]
				}
			]
		},
		"distribution": {
			"iterations": 10,
			"coordinate_eval_order": "zyx",
			"x": {
				"distribution": "uniform",
				"extent": [0, 16]
			},
			"y": {
				"distribution": "uniform",
				"extent": [
					0,
					62
				]
			},
			"z": {
				"distribution": "uniform",
				"extent": [0, 16]
			}
		}
	}
}

Page:
Generating Custom Ores

@NatulilakkReal NatulilakkReal added the CONTENT For wiki content itself, not the site. label Jun 10, 2024
@NatulilakkReal
Copy link
Author

Btw im using Minecraft education edision

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CONTENT For wiki content itself, not the site.
Projects
None yet
Development

No branches or pull requests

1 participant