From e1feb22144d2821c577cb0a281f77c54306f437c Mon Sep 17 00:00:00 2001 From: Felix Perktold <> Date: Thu, 23 Jul 2026 20:26:04 +0000 Subject: asd --- config/betterfortresses/fabric-1_20/README.txt | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config/betterfortresses/fabric-1_20/README.txt (limited to 'config/betterfortresses/fabric-1_20/README.txt') diff --git a/config/betterfortresses/fabric-1_20/README.txt b/config/betterfortresses/fabric-1_20/README.txt new file mode 100644 index 0000000..ffdedac --- /dev/null +++ b/config/betterfortresses/fabric-1_20/README.txt @@ -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). -- cgit v1.2.3