上传第一版自动更新包
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
######################################
|
||||
# itemframes.json #
|
||||
######################################
|
||||
This file contains ItemRandomizers describing the probability distribution of items in item frames.
|
||||
Item frames only spawn in certain rooms and hallway pieces.
|
||||
For information on ItemRandomizers, see the bottom of this README.
|
||||
######################################
|
||||
# ItemRandomizers #
|
||||
######################################
|
||||
Describes a set of items and the probability of each item being chosen.
|
||||
- entries: An object where each entry's key is an item, and each value is that item's probability of being chosen.
|
||||
The total sum of all probabilities SHOULD NOT exceed 1.0!
|
||||
- defaultItem: The item used for any leftover probability ranges.
|
||||
For example, if the total sum of all the probabilities of the entries is 0.6, then
|
||||
there is a 0.4 chance of the defaultItem being selected.
|
||||
Here's an example ItemRandomizer:
|
||||
{
|
||||
"entries": {
|
||||
"minecraft:cobblestone": 0.25,
|
||||
"minecraft:air": 0.2,
|
||||
"minecraft:stone_sword": 0.1
|
||||
},
|
||||
"defaultItem": "minecraft:iron_axe"
|
||||
}
|
||||
This randomizer has a 25% chance of returning cobblestone, 20% chance of choosing air,
|
||||
10% chance of choosing a stone sword, and a 100 - (25 + 20 + 10) = 45% chance of choosing iron axe (since it's the default item).
|
||||
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"weaponItems": {
|
||||
"entries": {
|
||||
"minecraft:golden_sword": 0.05,
|
||||
"minecraft:stone_sword": 0.025,
|
||||
"minecraft:iron_sword": 0.025,
|
||||
"minecraft:shield": 0.025,
|
||||
"minecraft:stone_axe": 0.025,
|
||||
"minecraft:iron_axe": 0.025,
|
||||
"minecraft:golden_axe": 0.05,
|
||||
"minecraft:netherite_sword": 0.005
|
||||
},
|
||||
"defaultItem": "minecraft:air"
|
||||
},
|
||||
"lootItems": {
|
||||
"entries": {
|
||||
"minecraft:gold_nugget": 0.2,
|
||||
"minecraft:nether_wart": 0.1,
|
||||
"minecraft:gold_ingot": 0.1
|
||||
},
|
||||
"defaultItem": "minecraft:air"
|
||||
},
|
||||
"studyItems": {
|
||||
"entries": {
|
||||
"minecraft:enchanted_book": 0.1,
|
||||
"minecraft:paper": 0.1,
|
||||
"minecraft:writable_book": 0.1,
|
||||
"minecraft:book": 0.4
|
||||
},
|
||||
"defaultItem": "minecraft:air"
|
||||
},
|
||||
"messHallItems": {
|
||||
"entries": {
|
||||
"minecraft:porkchop": 0.3,
|
||||
"minecraft:cooked_porkchop": 0.3,
|
||||
"minecraft:gold_ingot": 0.2
|
||||
},
|
||||
"defaultItem": "minecraft:air"
|
||||
},
|
||||
"alchemyItems": {
|
||||
"entries": {
|
||||
"minecraft:quartz": 0.3,
|
||||
"minecraft:magma_cream": 0.3,
|
||||
"minecraft:fire_charge": 0.2
|
||||
},
|
||||
"defaultItem": "minecraft:air"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user