← Назад к ресурсам

pquality

Items can have an associated quality that affects their stats

Modrinth equipment game-mechanics library

Описание

**pquality** adds a system of item quality similar to Factorio: Space Age or Stardew Valley. By default, most vanilla items that can't be placed can have quality, but the [system](https://github.com/petrolpark/Create-Library/wiki/Flags) is completely generic. Add quality to items by adding them to the `petrolpark:flaggable` item tag. ### Effects of Quality - Items have more durability - Food replenishes more hunger and saturation, and has gives longer, stronger and higher-chance effects (or the opposite for negative effects) - Weapons deal more damage, tools have faster mining speed and armor gives more protection, among most other [Attributes](https://minecraft.wiki/w/Attribute) - Potions last longer - Villagers give you more items and gain more XP - Anvil repair materials repair more durability - Firework Rockets propel Elytra further - Fuels burn for longer - Bundles have more space - Eyes of Ender have a smaller chance of breaking - Bottles o' Enchanting give more XP ### Obtaining Quality Items - The Enhancement Enchantment adds a chance for quality drops when blocks are mined, mobs are killed and fish are fished, depending on the player's experience level - This is not found in the Enchanting Table or loot chests by default - Crafting, Brewing, Smelting, Smithing etc enough quality items together produces a Quality product - Example command to add Quality to held item: `/petrolpark flag @s pquality:bronze_quality` ### Compatibility - [Create](https://modrinth.com/mod/create): - Quality machines have a lower stress impact - Quality is preserved through most Create recipe types - [Petrol's Parts](https://modrinth.com/mod/petrols-parts) - Some quality machines have lower stress impact - Quality Movements can store more rotations - Quality Friction Heaters require a smaller speed difference All of these features can be configured (through datapacks or NeoForge configs), so you can disable any you want individually. You can also set a config to only show the Quality icons if you are holding shift. If you think this does not seem like a large set of features, that is because **pquality** is more aimed at modpack creators who can hook into the Quality system. The default Quality levels are Bronze (+10% to most stats), Silver (+25%), Gold (+50%), Diamond (+75%) and Netherite (+100%), but you can define any Quality levels you want with a datapack.