v4.26.1 - The pretty huge update
Examples for the most major changes are below. Changes:
- [+] New item / block selector! You can specify multiple materials now.
- [+] New super powerful objective: NumberVariable objective.
- [+] Added ItemInInventoryEnchantments variable
- [^] More control over objective conditions: Unlock, progress & complete conditions
- [^] Added more customization options for the GUI
- [@] Added complete Chinese translations
- [!] Many smaller bug fixes
New Item / Block selector
One HIGHLY requested feature is finally there: a complete revamp of the item/block/material selector.
This allows you to do specify multiple materials, like this:
/qa edit questname objectives add BreakBlocks diamond_ore,deepslate_diamond_ore 20
Yes! Finally, you can make it so both kinds of diamond ore count towards the progress.
Or:
/qa edit questname objectives add PlaceBlocks hand,acacia_log,spruce_log,birch_log,dark_oak_log 15
You can see why that's super useful, right?
This even works in GiveItem actions, so you can give players multiple items at once!
It works pretty much everywhere you can enter materials - so in all objective types!
New NumberVariable Objective
This allows you to use variables in objectives relatively!
Example:
/qa edit questname objectives add NumberVariable PlaytimeMinutes moreOrEqualThan PlaytimeMinutes+2
This objective makes it, so the player needs to play 2 MORE minutes.
Unlock, progress & complete conditions
Previously, you were only able to add a condition to a quest objective which determines if it's unlocked or not (= HIDDEN).
Now, you can ALSO add objective conditions which check if you can progress, or complete the objective. Should be super useful!
Examples:
/qa edit questname objectives edit 1 conditions unlock add Flying equals false
"Default" condition. That's what you are used to. If you are flying, the objective remains locked / "Hidden".
/qa edit questname objectives edit 1 conditions progress add Flying equals false
Objective is always shown, but if you are flying, you won't get any positive progress towards it
/qa edit questname objectives edit 1 conditions progress add Flying equals false
Objective is always shown, and you always get progress, but it won't complete if you don't fulfil the condition
Practical example of NumberVariable & new progress condition combined
Say objective 1 is a BreakBlocks objective.
/qa edit questname objectives edit 1 conditions progress add ItemInInventoryEnchantments HAND containsIgnoreCase minecraft:silk_touch --allowProgressDecreaseIfNotFulfilled --negate
/qa edit questname objectives edit 1 conditions progress add ItemInInventoryEnchantments OFF_HAND containsIgnoreCase minecraft:silk_touch --allowProgressDecreaseIfNotFulfilled --negate
It stops progress from being added to the breakblocks objective if the item in the player's main or offhand is enchanted with silk touch