Releases: KyoriPowered/adventure
Releases · KyoriPowered/adventure
🌏 Adventure 4.8.1
🌏 Adventure 4.8.0
Additions ✨
- #334 - api: Add support for new
separator
field in Minecraft 1.17 - #390 - Migrate from
checker-qual
to JetBrains annotations - #328 - api: add
Sound.Source.Provider
interface - #332 - api: Allow passing the replacement
MatchResult
to continuation predicates - #327 - api: Expose ComponentLike -> Component conversion method
- #371 - key: Improve key method javadocs
- #352 - api: Add the ability to query an Audience for a value based on a Pointer key
- #393 - api: Add Pointer query to Single
- #361 - api: Add Translatable interface
- #343 - api: Allow platforms to apply implementation hooks when creating
ComponentSerializer
s - #379 - api: Add ability to unset decorations during component construction
- #329 - api: Allow stopping a sound using the original
Sound
- #316 - api: Add support for playing sound following an "emitter"
- #215 - api: Add
TextColor.lerp
to blend between two colours
Fixes 🐛
🌏 Adventure 4.7.0
Deprecations 🧓
- #301 - api: Mark ScoreComponent's
value
as deprecated since it is no longer supported as of 1.16 - #307 - api: Deprecate Component#detectCycle (#285)
Additions ✨
- #259 - api: Add
contains
method to translation registries - #296 - serializer-gson: Add deserializer for JsonElement
- #305 - api: Add serializer methods that can process
null
values (#221) - #298 - serializer-gson: Add serializer to JsonElement
- #300 - api: Nag when somebody does something naughty
- #306 - build: Add extra metadata to jar manifests (#290)
- #302 - api: Introduce new concept of a component flattener
Fixes 🐛
🌏 Adventure 4.6.0
Additions ✨
- #273 - feature(nbt): allow merging compound tags via
this.put(that)
- #280 - api: Add
asHSV
toRGBLike
and use HSV for color comparisons inNamedTextColor.nearestTo
- #283 - extra-kotlin
- #284 - Added ZLIB compression support for NBT
- #288 - api: Add
Keyed
overloads to hover event types - #289 - api: Add a method to create a TextColor from an HSVLike
- #292 - api: Add methods to join components using a collector
- #294 - build: Update examination to 1.1.0
- #283 - extra-kotlin
- #231 - Customize debugger output
Fixes 🐛
- #291 - text-serializer-legacy: Don't insert redundant resets
🌏 Adventure 4.5.1
🌏 Adventure 4.5.0
Fixes 🐛
- #278 - nbt: return the empty list tag when trying to create a listtag with an empty list of tags
🌏 Adventure 4.4.0
Additions ✨
- #228 - Add JetBrains
@Contract
annotation to some methods - #240 - nbt: Add the ability to add multiple tags to a
CompoundBinaryTag
- #241 - nbt: Add
BinaryTagLike
interface - dccfc46 - nbt: Implement
toString
in binary tags - #247 - nbt: Add
getList
methods toListBinaryTag
- #248 - nbt: Add
from(Iterable)
andadd(Iterable)
methods toListBinaryTag
- #229 - api: Expand javadocs (thanks @KingOfSquares)
Fixes 🐛
- #233 - api: Correct handling of children in some text replacements
- #252 - Do not exclude Component#empty from the children of TranslatableComponent
- #257 - serializer-gson: Change output ordering to match the order of Vanilla components
nbt
: Resolve a security vulnerability that could lead to denial of service when loading specially crafted input
Changes 🔧
🌏 Adventure 4.3.0
🌏 Adventure 4.2.0
Additions ✨
- #183 - Introduce support for Configurate 4
- #190 - nbt: Add array access and stream methods for tags
- #200 - api: Add a builder for replacement config
- #211 - Add a BOM for version alignment across submodules
Fixes 🐛
- #193 - Ignore
null
values forHoverEvent
NBT tag when deserialising usingtext-serializer-gson
- #196 - Properly reset decorations when serialising to legacy format
- #199 - api: Fix handling of first replacements in child components
- #213 -
@NonNull
contract not being followed when usingGsonComponentSerializer
to deserilise "null"
Changes 🔧
- Deprecate usage of
percent
inBossBar
, introduceprogress
instead - Deprecate old
replaceText
methods in favour ofreplaceText
methods that useTextReplacementConfig