Skip to content

[1.19.x] Json Configs

Insane96 edited this page Jan 7, 2024 · 1 revision

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/

Combat

Stats

item_modifiers.json

Add Attribute modifiers to Items or Item Tags.
This json contains a list of items with the attribute modifier.
To learn more about Attributes: https://minecraft.fandom.com/wiki/Attribute

Fields are all mandatory if not specified otherwise
item_modifers.json

  • A List of items with attribute modifiers
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist
      • dimension: The dimension where to apply the attribute modifier. Optional
      • uuid: uuid of the modifier
      • slot: equipment slot where the attribute should apply. (valid values: "mainhand", "offhand", "feet", "legs", "chest", "head")
      • attribute: Attribute ID
      • amount: The amount of the modifier
      • operation: The modifier operation

Farming

Hoes Nerfs

hoes_stats.json

Set cooldowns and durability lost on till for hoes.
This json contains a list of hoes with the stats.

Fields are all mandatory if not specified otherwise
hoes_stats.json

  • A List of hoes with the stats
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist
      • dimension: The dimension where to apply the stats. Optional
      • cooldown: the cooldown the hoe goes on when tilling
      • damage_on_till: the damage taken when tilling. Optional

Plants Growth

plants_growth_modifiers.json

Set growth multipliers for plants.
This json contains a list of plants with the modifiers.

Fields are all mandatory if not specified otherwise
plants_growth_modifiers.json

  • A List of plants that can grow with modifiers
    • An entry
      • id: Block ID. Either this or tag must exist
      • tag: Block Tag. Either this or id must exist
      • dimension: The dimension where to apply the growth multipliers. Optional
      • growth_multiplier: the generic growth multiplier. Optional, defaults to 1
      • no_sunlight_growth_multiplier: the growth multiplier when the light is below min_sunlight_required. Optional, defaults to 1
      • min_sunlight_required: the light required for the crop to not apply the no_sunlight_growth_multiplier. Required if no_sunlight_growth_multiplier is set to > 1, defaults to 0
      • night_time_growth_multiplier: the growth multiplier when it's night time. Optional, defaults to 1
      • correct_biomes: a list of Biomes (or Biome Tags) in which the wrong_biome_multiplier will not be applied. Optional
      • wrong_biome_multiplier: the growth multiplier when the plant is not in the correct biome. Required if correct_biomes is used

Hunger & Health

Food

food_properties.json

Set food properties.
This json contains a list of foods (or item tags) with the relative properties.

Fields are all mandatory if not specified otherwise
food_properties.json

  • A list of foods (or item tags) with the relative properties
    • An entry
      • id: Item ID. Either this or tag must exist and must be a food item
      • tag: Item Tag. Either this or id must exist and must be food items
      • 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 taken by the food to be eaten.
      • fast_eating: If true, the item will be eaten at twice the speed

Mining

Custom Hardness

custom_hardnesses.json

Set hardness of blocks or block tags.
This json contains a list of blocks with the relative hardness.

Fields are all mandatory if not specified otherwise
custom_hardnesses.json

  • A List of blocks with the relative hardness
    • An entry
      • id: Block ID. Either this or tag must exist
      • tag: Block Tag. Either this or id must exist
      • hardness: the hardness of the block / blocks

Global Hardness

dimension_hardness.json

Set hardness multipliers for dimension.
This json contains a list of dimensions with the relative hardness multiplier.

Fields are all mandatory if not specified otherwise
dimension_hardness.json

  • A List of dimensions with the relative hardness multiplier
    • An entry
      • dimension: Dimension id
      • multiplier: the hardness multiplier

depth_multipliers.json

Increase hardness the more you go down.
This json contains a list of dimensions with the hardness multiplier increasing below a certain Y level.

Fields are all mandatory if not specified otherwise
depth_multipliers.json

  • A list of dimensions and their relative block hardness multiplier per blocks below the set Y level
    • An entry
      • dimension: Dimension id
      • multiplier: the hardness multiplier added for each block below apply_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

Miscellaneous

Beacon & Conduit

beacon_blocks_ranges.json

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 blocks and the range increase on the beacon.

Fields are all mandatory if not specified otherwise
beacon_blocks_ranges.json

  • A list of blocks and the range increase on the beacon
    • An entry
      • id: Block ID. Either this or tag must exist
      • tag: Block Tag. Either this or id must exist
      • value: how many blocks of range will the beacon gain by this block.

DeBuffs

debuffs.json

Give effects to players based off some stats.
This json contains a list of effects to apply to the player when has a set hunger / health / experience level.

Fields are all mandatory if not specified otherwise
debuffs.json

  • A list of effects to apply to the player when has a set hunger / health / experience level
    • An entry
      • stat: The stat. ("hunger", "health", "experience_level")
      • min: The minimum of the stat. Optional if max exists
      • max: The maximum of the stat. Optional if min 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"
  }

Tool Stats

tool_durabilities.json

Set durability of tools.
This json contains a list of items and their durability.

Fields are all mandatory if not specified otherwise
tool_durabilities.json

  • A list of items and their durability
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist
      • value: the durability

tool_efficiencies.json

Sets efficiencies of tools.
This json contains a list of items and their efficiency.

Fields are all mandatory if not specified otherwise
tool_efficiencies.json

  • A list of items and their efficiency
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist
      • value: the efficiency

Movement

Terrain Slowdown

custom_terrain_slowdown.json

Sets slowdown on certain blocks.
This json contains a list of blocks / block tags and the slowdown given when walking on them

Fields are all mandatory if not specified otherwise
custom_terrain_slowdown.json

  • A list of blocks / block tags and the slowdown given when walking on them
    • An entry
      • id: Block ID. Either this or tag must exist
      • tag: Block Tag. Either this or id must exist
      • value: the slowdown in percentage when walking on this block

Weighted Equipment

enchantments_weights.json

Sets enchantment weights when on armor.
This json contains a list of enchantments and their weight (negative numbers can be used to reduce weight instead).
Flat slowness are applied before percentage slowness

Fields are all mandatory if not specified otherwise
enchantments_weights.json

  • A list of enchantments and their weight
    • An entry
      • id: 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 to flat_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 to percentage_slowness_per_level.

materials_weights.json

Sets armor materials total weight.
This json contains a list of "materials" (The name in the id of armor items) and the total weight given by a full set of that "material".

Fields are all mandatory if not specified otherwise
materials_weights.json

  • A list of "materials" and the total weight given by a full set of that "material"
    • An entry
      • id: material ID. This is the name that appears in all the item IDs of the armor. E.g. for Gold Armor you'll have "golden".
      • total_weight: How much slowness is given when wearing a full set of the armor.

Sleep & Respawn

Sleeping Effects

effects_on_wake_up.json

Add effects to players when they wake up.
This json contains a list of effects.

Fields are all mandatory if not specified otherwise
effects_on_wake_up.json

  • A list of effects
    • An entry
      • id: Effect id
      • duration: Duration of the effect in ticks.
      • amplifier: Amplifier of the effect in ticks. Optional. Defaults to 0.

Tiredness

energy_boost_items.json

Set food items that give the Energy Boost effect.
This json contains a list of items and (optional) the duration + amplifier of the effect.

Fields are all mandatory if not specified otherwise
energy_boost_items.json

  • A list of items and (optional) the duration + amplifier of the effect
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist
      • 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.

Stack Sizes

Custom Stack Size

custom_stack_sizes.json

Set items max stack.
This json contains a list of items and the max stack.

Fields are all mandatory if not specified otherwise
custom_stack_sizes.json

  • A list of items and the max stack
    • An entry
      • id: Item ID. Either this or tag must exist
      • tag: Item Tag. Either this or id must exist.
      • value: Max Item Stack