AutoValues Config
AutoValues is Project MMO's dynamic system for estimating values. Since, the mod cannot contain all possible current and future mod blocks, items, entities, dimensions, biomes, enchantments, and effects, AutoValues uses properties of those objects to create them dynamically.
An important detail to note is that not all values in Project MMO have AutoValues. Some settings are too nuanced, or the objects themselves do not provide a way to discern their properties to be able to make reasonable estimates. What is listed below is all of what AutoValues adds.
Example File
#Auto Values estimate values based on item/block/entity properties#and apply when no other defined requirement or xp value is present[Auto_Values]# set this to false to disable the auto values system."Auto Values Enabled" = true# These settings turn auto-values on/off for the specific requirement type. These are global settings[Auto_Values.Req_Toggles]"WEAR Req Values Generate" = true"USE_ENCHANTMENT Req Values Generate" = true"TOOL Req Values Generate" = true"WEAPON Req Values Generate" = true"USE Req Values Generate" = true"PLACE Req Values Generate" = true"BREAK Req Values Generate" = true"KILL Req Values Generate" = true"TRAVEL Req Values Generate" = true"RIDE Req Values Generate" = true"TAME Req Values Generate" = true"BREED Req Values Generate" = true"INTERACT Req Values Generate" = true"ENTITY_INTERACT Req Values Generate" = true# These settings turn auto-values xp awards on/off for the specific event type. These are global settings.# This doesn't turn off xp for the type, just the xp generated by AutoValues.[Auto_Values.XpGain_Toggles]"ANVIL_REPAIR Xp Award Values Generate" = true"BLOCK_BREAK Xp Award Values Generate" = true"BREAK_SPEED Xp Award Values Generate" = true"BLOCK_PLACE Xp Award Values Generate" = true"BREATH_CHANGE Xp Award Values Generate" = true"BREED Xp Award Values Generate" = true"BREW Xp Award Values Generate" = true"CONSUME Xp Award Values Generate" = true"CRAFT Xp Award Values Generate" = true"CROUCH Xp Award Values Generate" = true"RECEIVE_DAMAGE Xp Award Values Generate" = true"DEAL_DAMAGE Xp Award Values Generate" = true"DEATH Xp Award Values Generate" = true"ENCHANT Xp Award Values Generate" = true"EFFECT Xp Award Values Generate" = true"FISH Xp Award Values Generate" = true"SMELT Xp Award Values Generate" = true"GROW Xp Award Values Generate" = true"GIVEN_AS_TRADE Xp Award Values Generate" = true"HEALTH_CHANGE Xp Award Values Generate" = true"HEALTH_INCREASE Xp Award Values Generate" = true"HEALTH_DECREASE Xp Award Values Generate" = true"JUMP Xp Award Values Generate" = true"SPRINT_JUMP Xp Award Values Generate" = true"CROUCH_JUMP Xp Award Values Generate" = true"HIT_BLOCK Xp Award Values Generate" = true"ACTIVATE_BLOCK Xp Award Values Generate" = true"ACTIVATE_ITEM Xp Award Values Generate" = true"ENTITY Xp Award Values Generate" = true"RECEIVED_AS_TRADE Xp Award Values Generate" = true"RIDING Xp Award Values Generate" = true"SHIELD_BLOCK Xp Award Values Generate" = true"SKILL_UP Xp Award Values Generate" = true"SPRINTING Xp Award Values Generate" = true"SUBMERGED Xp Award Values Generate" = true"SWIMMING Xp Award Values Generate" = true"DIVING Xp Award Values Generate" = true"SURFACING Xp Award Values Generate" = true"SWIM_SPRINTING Xp Award Values Generate" = true"TAMING Xp Award Values Generate" = true#what skills and xp amount should applicable objects be granted[Auto_Values.Xp_Awards][Auto_Values.Xp_Awards.Items]# Each of the below sections lets you provide a skill and base value for the xp gained# by its associated event. You can have multiple skills to have all awarded xp[Auto_Values.Xp_Awards.Items."ANVIL_REPAIR Default Xp Award"]smithing = 10example_second_skill = 20# if you want to disable any of the XP sources from autovalues, set the value to zero like below[Auto_Values.Xp_Awards.Items."BLOCK_PLACE Default Xp Award"]building = 0[Auto_Values.Xp_Awards.Items."CRAFT Default Xp Award"]crafting = 10[Auto_Values.Xp_Awards.Items."CONSUME Default Xp Award"]cooking = 10[Auto_Values.Xp_Awards.Items."ENCHANT Default Xp Award"]magic = 10[Auto_Values.Xp_Awards.Items."FISH Default Xp Award"]fishing = 10[Auto_Values.Xp_Awards.Items."SMELT Default Xp Award"]smithing = 100[Auto_Values.Xp_Awards.Items."BREW Default Xp Award"]alchemy = 100[Auto_Values.Xp_Awards.Blocks]#How much should xp for rare blocks like ores be multiplied by.#Range: 0.0 ~ 1.7976931348623157E308"Rarities Mulitplier" = 10.0#just like xp values for items, blocks can also have multiple skills[Auto_Values.Xp_Awards.Blocks."BLOCK_BREAK Default Xp Award"]mining = 1example_second_skill = 1[Auto_Values.Xp_Awards.Blocks."BLOCK_PLACE Default Xp Award"]building = 0[Auto_Values.Xp_Awards.Blocks."GROW Default Xp Award"]farming = 1#Special override for BLOCK_BREAK and BLOCK_PLACE events when breaking#blocks in the minecraft:mineable/axe tag.[Auto_Values.Xp_Awards.Blocks."Axe Breakable Block Action Override"]woodcutting = 10#Special override for BLOCK_BREAK and BLOCK_PLACE events when breaking#blocks in the minecraft:mineable/hoe tag.[Auto_Values.Xp_Awards.Blocks."Hoe Breakable Block Action Override"]farming = 10#Special override for BLOCK_BREAK and BLOCK_PLACE events when breaking#blocks in the minecraft:mineable/shovel tag.[Auto_Values.Xp_Awards.Blocks."Shovel Breakable Block Action Override"]excavation = 10[Auto_Values.Xp_Awards.Entities][Auto_Values.Xp_Awards.Entities."BREED Default Xp Award"]taming = 1[Auto_Values.Xp_Awards.Entities."DEATH Default Xp Award"]endurance = 1[Auto_Values.Xp_Awards.Entities."ENTITY Default Xp Award"]charisma = 1[Auto_Values.Xp_Awards.Entities."RIDING Default Xp Award"]taming = 1[Auto_Values.Xp_Awards.Entities."SHIELD_BLOCK Default Xp Award"]combat = 1[Auto_Values.Xp_Awards.Entities."TAMING Default Xp Award"]taming = 1#what skills and level should be required to perform the specified action[Auto_Values.Requirements][Auto_Values.Requirements.Items]# the skill and value below is a base value that is scaled based on the Item_Tweaks section below# this value is multiplied by the tweaks output value. read below on tweaks for the specific formula# used to generate this value. Like xp above, multiple skills and values can be used here to give# items more than one skill as a requirement.[Auto_Values.Requirements.Items."WEAR Default Req"]endurance = 1second_requirement_skill_example = 2[Auto_Values.Requirements.Items."USE_ENCHANTMENT Default Req"]magic = 1[Auto_Values.Requirements.Items."TOOL Default Req"]mining = 1[Auto_Values.Requirements.Items."WEAPON Default Req"]combat = 1#Tool requirments specifically for shovels.)[Auto_Values.Requirements.Items."Shovel TOOL Override"]excavation = 1#Tool requirments specifically for swords.)[Auto_Values.Requirements.Items."Sword TOOL Override"]farming = 1#Tool requirments specifically for axes.)[Auto_Values.Requirements.Items."Axe TOOL Override"]woodcutting = 1#Tool requirments specifically for hoes.)[Auto_Values.Requirements.Items."Hoe TOOL Override"]farming = 1# What effects and levels should be applied if a player does not meet an item req. All will be# applied until the item is removed. You can add or remove effects, but you must have at least# one present.[Auto_Values.Requirements.Items."Item Penalties"]"minecraft:mining_fatigue" = 1"minecraft:weakness" = 1"minecraft:slowness" = 1[Auto_Values.Requirements.BLocks][Auto_Values.Requirements.BLocks."BREAK Default Req"]mining = 1#Configuration tweaks specific to items.#'Durability' determines how much item durability affects auto value calculations#Default: 0.01 is equal to 1 per hundred durability#'Damage' determines how much item damage affects auto value calculations#'Attack_Speed' determines how much item attack speed affects auto value calculations#'Tier' multiplies the default req by this per teir.#'Dig_Speed' Determines how much item block break speed affects auto value calculations#'Armor' Determines how much item armor amount affects auto value calculations#'Knockback_Resistance' Determines how much item knockback resistance affects auto value calculations#'Toughness' Determines how much item armor toughness affects auto value calculations[Auto_Values.Item_Tweaks]#how much should block hardness contribute to value calculations"Block Hardness Modifier" = 0.65# Tweaks take the value of the associated attribute on the item multiplied by the value associated# below. this is done for each of the attributes, which are then added together to give the final# "tweaks" value. tweak = (speed * 10) + (tier * 10) + (dig_speed * 10) + (durability * 0.01) + (damage * 1.5)[Auto_Values.Item_Tweaks.SWORD_Attributes]Attack_Speed = 10.0Tier = 10.0Dig_Speed = 10.0Durability = 0.01Damage = 1.5[Auto_Values.Item_Tweaks.PICKAXE_Attributes]Attack_Speed = 10.0Tier = 10.0Dig_Speed = 10.0Durability = 0.01Damage = 1.5[Auto_Values.Item_Tweaks.AXE_Attributes]Attack_Speed = 10.0Tier = 10.0Dig_Speed = 10.0Durability = 0.01Damage = 1.5[Auto_Values.Item_Tweaks.SHOVEL_Attributes]Attack_Speed = 10.0Tier = 10.0Dig_Speed = 10.0Durability = 0.01Damage = 1.5[Auto_Values.Item_Tweaks.HOE_Attributes]Attack_Speed = 10.0Tier = 10.0Dig_Speed = 10.0Durability = 0.01Damage = 1.5[Auto_Values.Item_Tweaks.HEAD_Attributes]Toughness = 10.0Armor = 10.0Knockback_Resistance = 10.0Durability = 0.01[Auto_Values.Item_Tweaks.CHEST_Attributes]Toughness = 10.0Armor = 10.0Knockback_Resistance = 10.0Durability = 0.01[Auto_Values.Item_Tweaks.LEGS_Attributes]Toughness = 10.0Armor = 10.0Knockback_Resistance = 10.0Durability = 0.01[Auto_Values.Item_Tweaks.BOOTS_Attributes]Toughness = 10.0Armor = 10.0Knockback_Resistance = 10.0Durability = 0.01[Auto_Values.Item_Tweaks.WINGS_Attributes]Toughness = 10.0Armor = 10.0Knockback_Resistance = 10.0Durability = 0.01#Configuration tweaks specific to entities.#'Health' Determines how much entity health affects auto value calculations#'Move_Speed' Determines how much entity speed affects auto value calculations#'Damage' Determines how much entity damage affects auto value calculations[Auto_Values.Entity_Tweaks][Auto_Values.Entity_Tweaks.Entity_Attributes]Health = 0.5Damage = 1.5Move_Speed = 0.15