-
Notifications
You must be signed in to change notification settings - Fork 12
[1.20.1] Json Configs
The following config options can be found as .json files in the config folder.
These options can be reloaded with the /reload command. Some options might still require a MC restart.
Jsons can be found in config/iguanatweaksreborn/<module>/<feature>/
E.g. Stats feature (Combat module) jsons can be found in config/iguanatweaksreborn/Combat/Stats/
-
id
: ID or Tag -
value
: The chance for bonemeal to fail to grow the specified plant.
-
id
: ID or Tag -
min
: The minimum experience dropped by the block -
max
: The maximum experience dropped by the block
A list of knockback multipliers (mostly used to reduce knockback as increasing it can be done with attribute modifiers).
The json contains a list of IdTagValues for item ids or tags in id
and the multiplier as value
Disable enchantments, as straightforward as this.
The json contains a list of enchantments.
Change or add experience dropped by blocks.
The json contains a list of IdTagRange with a block id or tag and the min and max being the experience dropped.
Set cooldowns and schyte radius on till for hoes.
This json contains a list of HoeStats
.
Fields are all mandatory if not specified otherwise
-
hoe
: Item ID or item tag -
cooldown
: the cooldown the hoe goes on when tilling -
scythe_radius
: the horizontal radius in which hoes will break tall grass. (Vertical radius is given by this value -1). Optional
Defines food properties
-
food
: Item ID or tag. Must be a food -
nutrition
: Hunger restored by the food -
saturation_modifier
: The saturation modifier of the food (note this is not the saturation given by the food, but a multiplier. Saturation Ratio on the Wiki) -
eating_time
: The time (in ticks) taken by the food to be eaten. -
fast_eating
: If true, the item will be eaten at twice the speed -
can_always_eat
: If true, the food can be always eaten (e.g. golden apples) -
effects
: A list of effects (and chance) to apply when the specified food is eaten- One MobEffectInstance
-
effect
: Mob Effect Id -
duration
: Duration in ticks -
amplifier
: Effect level (level I is 0) -
chance
: Chance (0~1) for the effect to apply -
ambient
: Particles will be less visible hide_particles
hide_icon
-
- One MobEffectInstance
Increase/decrease hardness the deeper you mine.
-
dimension
: Dimension id -
multiplier
: the hardness multiplier added for each block belowapply_below_y
-
apply_below_y
: the Y coordinate at which the hardness multiplier starts kicking in -
stop_at
: the Y coordinate at which the hardness multiplier stops adding up
Set hardness multipliers for dimension.
-
dimension
: Dimension id -
multiplier
: the hardness multiplier
Set blocks or block tags with the relative increase in beacon range per block. After the blocks have been summed the final value is divided by the number of layers of the beacon.
This json contains a list of IdTagValue with a block id or tag and the value
being how many blocks of range will the beacon gain by this block.
Set the effects that the beacon can give. A maximum of 16 can be specified.
-
id
: Mob Effect id -
time_size
: An array of integer values defining which amplifiers are available and a multiplier for the time cost of the beacon where each entry represents the multiplier for each amplifier. e.g. atime_size
equal to [ 1, 2, 4, 8 ] means that the effect inid
will have up to IV, with each level doubling the time cost.
Set how much time an item refills the beacon.
This json contains a list of IdTagValue with an item id or tag and the value
being how many ticks will refill the beacon.
Give effects to players based off some stats.
This json contains a list of DeBuff
.
Fields are all mandatory if not specified otherwise
DeBuff
-
stat
: The stat. ("hunger", "health", "experience_level") -
min
: The minimum of the stat. Optional ifmax
exists -
max
: The maximum of the stat. Optional ifmin
exists -
effect
: The effect id to apply -
amplifier
: The level of the effect (0 = I, 1 = II, and so on). Optional, defaults to 0
Example
Give Mining Fatigue if the hunger of the player is 2 or lower
{
"stat": "hunger",
"max": 2.0,
"effect": "minecraft:mining_fatigue"
}
Set the drop chances of mobs equipment. Mobs and slots in this list are not affected by the "Drop Chance" config option in "Equipment" feature.
-
entity
: Entity id or tag -
slot
: The slot to set the drop chance -
drop_chance
: the drop chance (0 ~ 1). If omitted the drop chance will stay the same as vanilla and will not be affected by "Equipment"."Drop chance" in the config.
Sets slowdown on certain blocks.
This json contains a list of IdTagValue with a block id or tag and the value
between 0~1 being the percentage amount to slow down / speed up entities on it.
Sets slowdown in certain blocks.
This json contains a list of IdTagValue with a block id or tag and the value
between 0~1 being the percentage amount to slow down / speed up entities in it.
Used to add or remove speed modifiers to armor with enchantments. The slowdown formula for an enchantment is:
slowdown = (slowdown_from_armor + (flat_slowness + (flat_slowness_per_level * level))) * 1 + (percentage_slowness + (percentage_slowness_per_level * level))
-
enchantment
: Enchantment id -
flat_slowness_per_level
: How much slowness is given to the item per enchantment level.
E.g. an item with -5% Speed and this set to 0.02 increases the slowdown by 2% flat per enchantment level. So the enchantment level I will make the item give -7% speed, level II -9% speed, and so on. -
flat_slowness
: How much slowness is given to the item.
E.g. an item with -5% Speed and this set to 0.02 increases the slowdown by 2% flat. So if the enchantment is present item will give -7% speed. This is summed toflat_slowness_per_level
. -
percentage_slowness_per_level
: How much slowness is given (as percentage) to the item per enchantment level.
E.g. an item with -5% Speed and this set to 0.1 increases the slowdown by 10% per enchantment level. So the enchantment level I will make the item give -5.5% speed, level II -6% speed, and so on. -
percentage_slowness
: How much slowness is given (as percentage) to the item.
E.g. an item with -5% Speed and this set to 0.25 increases the slowdown by 25%. So if the enchantment is present item will give -6.25% speed. This is summed topercentage_slowness_per_level
.
Add effects to players when they wake up.
-
effect
: Mob Effect Id -
duration
: Duration in ticks -
amplifier
: Effect level (level I is 0) -
chance
: Chance (0~1) for the effect to apply -
ambient
: Particles will be less visible hide_particles
hide_icon
Set food items that give the Energy Boost effect.
-
edible
: Item ID or tag -
duration
: Duration of the effect in ticks. Optional. If omitted the effect duration will be calculated by the nourishment of the food. -
amplifier
: Amplifier of the effect in ticks. Optional. Defaults to 0.
Defines a fixed amount of entities spawned before disabling
Contains a list of IdTagValue with an entity id or tag and the value
being the amount of mobs spawned.
All contain a list of trades that wandering traders can have. The number of trades chosen is defined in the config file.
-
item_a
: Buying Item id -
item_a_count
: amount of items -
item_a_tag
: nbt tag of the item -
item_b
: Buying Item id -
item_b_count
: amount of items -
item_b_tag
: nbt tag of the item -
item_result
: Selling Item id -
item_result_count
: amount of items -
item_result_tag
: nbt tag of the item -
enchant_randomly
: Randomly enchant the sold item-
min_levels
: Min level to enchant the item -
max_levels
: Max level to enchant the item -
treasure
: If true treasure enchantments can also be chosen
-
-
enchantments
: A list of enchantments to apply to the sold item- An enchantment
-
id
: enchantment id -
level
: enchantment level
-
- An enchantment
-
exploraion_map
: Define an exploration map for the sold item-
destination
: The structure id to find -
decoration
: the icon for the destination (List) -
zoom
: The map's zoom -
search_radius
: The chunk radius in which search fordestination
-
skip_existing_chunks
: If true will only search in not yet loaded chunks
-
-
max_uses
: How many times the trade can be made before being locked -
xp
: Experience given when this trade is made