-
-
Notifications
You must be signed in to change notification settings - Fork 17
Generator: Minecraft: Ore
Key: minecraft:ore
The ore generator is the most used generator to generate all kinds of ore features such as iron, coal, diamonds, etc. The generated shape is an ellipsoid, which is randomly rotated on all axis.
Value-Type: Integer
Value-Range: [0, ∞)
The size determines how large a single ore vein gets, the higher the value the larger the vein and the larger the amount of blocks the vein has.
It is important to note, that the size value is not the amount of blocks which are generated, you can find a list with size values and the average amount of blocks generated here. Furthermore, a size value of 2 and lower results in a vein with no blocks / no vein at all.
Value-Type: Float
Value-Range: [0, 1]
The discard chance on air exposure controls, how likely it is that an ore block has air nearby and is thereby visible from a cave or similar. 0 hereby means there is 0% chance the ore is discarded and will be placed regardless if air is nearby or not, 0.5 means there is a 50% chance and 1 results in a 100% chance for the ore being discarded, when air is nearby.
This setting can be used if an ore vein should not be able to be spotted from a cave, but rather from strip mining or similar.
| Feature | Size | Discard Chance On Air Exposure |
|---|---|---|
minecraft:ore_diamond |
4 | 0.5 |
minecraft:ore_diamond_buried |
8 | 1.0 |
minecraft:ore_diamond_large |
12 | 0.7 |
minecraft:ore_iron_middle |
9 | 0.0 |
minecraft:ore_iron_small |
4 | 0.0 |
minecraft:ore_iron_upper |
9 | 0.0 |
minecraft:ore_clay |
33 | 0.0 |
minecraft:ore_copper |
10 | 0.0 |
minecraft:ore_gravel |
33 | 0.0 |
minecraft:ore_emerald |
3 | 0.0 |
Difference between Discard Chance On Air Exposure of 0 and 1:


Configuration
"size": <integer value>,
"discard_chance_on_air_exposure": <float value>,
"feature_generator_type": "minecraft:ore"Full Example
"feature_generator_configuration": {
"size": {
"size_type": "feature:fixed_double_to_integer",
"value": 4.0
},
"discard_chance_on_air_exposure": {
"discard_chance_on_air_exposure_type": "feature:fixed_float",
"value": 0.5
},
"feature_generator_type": "minecraft:ore"
}- Common Questions
- Inventory Gui Screens Explained
- Generators:
- Minecraft:
- Placement Modifiers:
- Minecraft:
- Feature:
- Value Types: