加入我们的 Discord 以报告错误并提出建议。
Larger Ore Veins: Deluxe 将 Classic、Diamond 和 Nether 版本合并为一个单一的数据包,并添加了青金石和红石矿石生成,使其与更大的矿脉生成风格相匹配。
注意
这是一个世界生成数据包。世界生成数据包在世界创建阶段添加时效果最佳。你仍然可以在生成世界后将其添加到世界中,但你需要生成新的区块才能看到效果。
修改此数据包
- 下载项目的 数据包版本
- 解压数据包
- 打开解压后的文件夹。
要修改矿石的大小,请前往 data/minecraft/worldgen/configured_feature 并在所需的 JSON 文件中更改 size 值(最大值为 64)。
要修改矿石的稀有度,请前往 data/minecraft/worldgen/placed_feature 并在所需的 JSON 文件中编辑 count 字段,该数字代表每个区块的生成尝试次数。
加权计数
某些文件使用加权计数系统,为多个数据值分配权重。
较高的权重会增加关联数据值(或 data)被选为计数的概率。
使用加权系统时,特定值被选为计数的概率为 <weight>/<total_weight>。
示例 1
```JSON
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"weight": 7,
"data": 0
},
{
"weight": 3,
"data": 1
}
]
}
```
在此示例中,总权重为 10。`"data":0` 关联有 7 个“点数”,而 `"data":1` 关联有 3 个“点数”。因此,`count` 为 0 的概率是 7 分之 7(70%),`count` 为 1 的概率是 3 分之 3(30%)。
换句话说,每个区块有 30% 的概率尝试生成一次矿石团块,而有 70% 的概率不尝试生成。
示例 2
```JSON
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"weight": 7,
"data": 0
},
{
"weight": 3,
"data": 1
},
{
"weight": 1,
"data": 5
}
]
}
```
这次总权重为 11。`"data":0` 关联有 7 个“点数”,`"data":1` 关联有 3 个“点数”,而 `"data":5` 关联有 1 个“点数”。因此,`count` 为 0 的概率是 7 分之 7(64%),`count` 为 1 的概率是 3 分之 3(27%),`count` 为 5 的概率是 1 分之 1(9%)。
换句话说,每个区块有 9% 的概率进行 5 次生成矿石团块的尝试,
有 27% 的概率尝试生成一次矿石团块,
并有 64% 的概率不尝试生成任何矿石。
Join our discord to report bugs and make suggestions.
The Larger Ore Veins: Deluxe combines the Classic, Diamond, and Nether editions into a single data pack as well as bringing lapis and redstone ore generation to match the larger ore vein generation style.
Notice
This is a world generation data pack. World generation data packs work best when added to your world during the world creation phase. You can still add them to your world after generating it, you just need to generate new chunks to see the effects.
Modifying this pack
- Download the datapack version of the project
- Unzip the pack
- Open the unzipped folder.
To modify the size of the ores, go to data/minecraft/worldgen/configured_feature and change the size value in the desired JSON files (The maximum size is 64).
To modify the rarity of the ores, go to data/minecraft/worldgen/placed_feature and edit the count field in the desired JSON files, this number represents the number of generation attempts per chunk.
Weighted Counts
Some files use a weighted count system, with multiple data values being assigned a weight.
Higher weights increase the chance of the associated data value (or data) to be selected as the count.
With the weight system, there is a <weight>/<total_weight> chance of a particular value to be selected for the count.
Example 1
```JSON
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"weight": 7,
"data": 0
},
{
"weight": 3,
"data": 1
}
]
}
```
In this example, there is a total weight of 10. 7 "points" are associated with `"data":0` and 3 "points" being associated with `"data":1`. Therefore, there is a 7 in 10 (70%) chance of `count` being 0 and a 3 in 10 (30%) chance of `count` being 1.
In other words, each chunk has 30% chance to attempt generating an ore blob once and a 70% chance of not attempting.
Example 2
```JSON
"count": {
"type": "minecraft:weighted_list",
"distribution": [
{
"weight": 7,
"data": 0
},
{
"weight": 3,
"data": 1
},
{
"weight": 1,
"data": 5
}
]
}
```
This time there is a total weight of 1. 7 "points" are associated with `"data":0`, 3 "points" being associated with `"data":1`, and 1 "point" for `"data":5`. Therefore, there is a 7 in 11 (64%) chance of `count` being 0, a 3 in 11 (27%) chance of `count` being 1, and a 1 in 11 chance (9%) of `count` being 5.
In other words, each chunk has 9% chance of making 5 attempts to generate ore blobs,
a 27% chance to attempt generating an ore blob once
and a 64% chance of not attempting to generate any ore.
评论 0
登录后参与评分
还没有评论,来抢沙发吧