增加各种魔丸设定

This commit is contained in:
2026-06-13 19:27:34 +08:00
parent 8ac539c095
commit d132c7b008
8 changed files with 128 additions and 25 deletions

View File

@ -0,0 +1,82 @@
{
"type": "minecraft:entity",
"pools": [
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": -1.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"name": "minecraft:coal"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"entries": [
{
"type": "minecraft:item",
"functions": [
{
"add": false,
"count": {
"type": "minecraft:uniform",
"max": 2.0,
"min": 0.0
},
"function": "minecraft:set_count"
},
{
"count": {
"type": "minecraft:uniform",
"max": 1.0,
"min": 0.0
},
"enchantment": "minecraft:looting",
"function": "minecraft:enchanted_count_increase"
}
],
"name": "minecraft:bone"
}
],
"rolls": 1.0
},
{
"bonus_rolls": 0.0,
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
],
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:wither_skeleton_skull"
}
],
"rolls": 1.0
}
],
"random_sequence": "minecraft:entities/wither_skeleton"
}

View File

@ -35,9 +35,27 @@
},
"spawn_target": [],
"surface_rule": {
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:end_stone"
}
"type": "minecraft:sequence",
"sequence": [
{
"type": "minecraft:condition",
"if_true": {
"type": "minecraft:biome",
"biome_is": ["minecraft:the_end"]
},
"then_run": {
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:snow_block"
}
}
},
{
"type": "minecraft:block",
"result_state": {
"Name": "minecraft:end_stone"
}
}
]
}
}

View File

@ -2,7 +2,7 @@
"placement": {
"type": "minecraft:random_spread",
"salt": 14357921,
"separation": 1,
"separation": 0,
"spacing": 2
},
"structures": [
@ -11,4 +11,5 @@
"weight": 1
}
]
}
}

View File

@ -4,8 +4,8 @@
"frequency": 1,
"frequency_reduction_method": "legacy_type_1",
"salt": 165745296,
"separation": 16,
"spacing": 32
"separation": 8,
"spacing": 16
},
"structures": [
{
@ -14,4 +14,3 @@
}
]
}

View File

@ -3,7 +3,7 @@
"type": "minecraft:random_spread",
"salt": 34222645,
"separation": 0,
"spacing": 4
"spacing": 3
},
"structures": [
{
@ -12,4 +12,3 @@
}
]
}

View File

@ -11,18 +11,10 @@
"layers": [
{
"block": "minecraft:air",
"height": 32
"height": 35
},
{
"block": "minecraft:bedrock",
"height": 1
},
{
"block": "minecraft:dirt",
"height": 2
},
{
"block": "minecraft:grass_block",
"block": "minecraft:slime_block",
"height": 1
}
]
@ -56,13 +48,25 @@
"block": "minecraft:netherrack",
"height": 3
},
{
"block": "minecraft:soul_sand",
"height": 3
},
{
"block": "minecraft:lava",
"height": 1
},
{
"block": "minecraft:air",
"height": 120
"height": 80
},
{
"block": "minecraft:soul_sand",
"height": 6
},
{
"block": "minecraft:netherrack",
"height": 3
"height": 33
},
{
"block": "minecraft:bedrock",

View File

@ -1,8 +1,8 @@
{
"type": "minecraft:range_choice",
"input": "minecraft:y",
"min_inclusive": 61,
"max_exclusive": 65,
"min_inclusive": 65,
"max_exclusive": 66,
"when_in_range": {
"type": "minecraft:interpolated",
"argument": {