From f05bccb7fdd3770ff267d0e644ae8593dba899e9 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Tue, 14 May 2024 16:04:50 +0700 Subject: [PATCH] more cfgs --- config/betterfortresses-forge-1_20.toml | 12 +++++ config/betterfortresses/README.txt | 8 ++++ config/betterfortresses/forge-1_20/README.txt | 26 ++++++++++ .../forge-1_20/itemframes.json | 48 +++++++++++++++++++ 4 files changed, 94 insertions(+) create mode 100644 config/betterfortresses-forge-1_20.toml create mode 100644 config/betterfortresses/README.txt create mode 100644 config/betterfortresses/forge-1_20/README.txt create mode 100644 config/betterfortresses/forge-1_20/itemframes.json diff --git a/config/betterfortresses-forge-1_20.toml b/config/betterfortresses-forge-1_20.toml new file mode 100644 index 000000000..2cfffa8a1 --- /dev/null +++ b/config/betterfortresses-forge-1_20.toml @@ -0,0 +1,12 @@ + +["YUNG's Better Nether Fortresses"] + + ########################################################################################################### + ## General settings. + ########################################################################################################### + ["YUNG's Better Nether Fortresses".General] + # Whether or not vanilla Nether Fortresses should be disabled. + # Default: true + # + "Disable Vanilla Nether Fortresses" = true + diff --git a/config/betterfortresses/README.txt b/config/betterfortresses/README.txt new file mode 100644 index 000000000..7557c7cea --- /dev/null +++ b/config/betterfortresses/README.txt @@ -0,0 +1,8 @@ +This directory is for a few additional options for YUNG's Better Nether Fortresses. +Options provided may vary by version. +This directory contains subdirectories for supported versions. The first time you run Better Nether Fortresses, a version subdirectory will be created if that version supports advanced options. +For example, the first time you use Better Nether Fortresses for MC 1.19.2 on Forge, the 'forge-1_19' subdirectory will be created in this folder. +If no subdirectory for your version is created, then that version probably does not support the additional options. +NOTE -- Most of this mod's config settings can be found in a config file outside this folder! +For example, on Forge 1.19.2 the file is 'betterfortresses-forge-1_19.toml'. +Also note that many of the structure's settings such as spawn rate & spawn conditions can only be modified via data pack. \ No newline at end of file diff --git a/config/betterfortresses/forge-1_20/README.txt b/config/betterfortresses/forge-1_20/README.txt new file mode 100644 index 000000000..ffdedac86 --- /dev/null +++ b/config/betterfortresses/forge-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). diff --git a/config/betterfortresses/forge-1_20/itemframes.json b/config/betterfortresses/forge-1_20/itemframes.json new file mode 100644 index 000000000..8742978f5 --- /dev/null +++ b/config/betterfortresses/forge-1_20/itemframes.json @@ -0,0 +1,48 @@ +{ + "weaponItems": { + "entries": { + "iron_sword": 0.025, + "golden_axe": 0.05, + "shield": 0.025, + "golden_sword": 0.05, + "stone_axe": 0.025, + "iron_axe": 0.025, + "stone_sword": 0.025, + "netherite_sword": 0.005 + }, + "defaultItem": "air" + }, + "lootItems": { + "entries": { + "gold_nugget": 0.2, + "gold_ingot": 0.1, + "nether_wart": 0.1 + }, + "defaultItem": "air" + }, + "studyItems": { + "entries": { + "paper": 0.1, + "book": 0.4, + "writable_book": 0.1, + "enchanted_book": 0.1 + }, + "defaultItem": "air" + }, + "messHallItems": { + "entries": { + "gold_ingot": 0.2, + "cooked_porkchop": 0.3, + "porkchop": 0.3 + }, + "defaultItem": "air" + }, + "alchemyItems": { + "entries": { + "magma_cream": 0.3, + "quartz": 0.3, + "fire_charge": 0.2 + }, + "defaultItem": "air" + } +} \ No newline at end of file