Repository navigation
Releases
Releases · Ontey6/OnteyAPI
2.3
Changes:
- Fixes some files having the wrong line seperators
- Various additions and fixes to
ConfigSection - Added missing nullability annotations.
- Made defaults not able to be the same object as config to prevent infinite recursion when getting default values.
- Removed many deprecated methods
- Renamed
ontey.api.serialization.ConfigSerializabletoCombinedConfigSerializableto avoid confusion. - Fixed description not being nullable in
CommandConfig - Moved away from
NamedLogger. the replacement is the SLF4J logger. - Deleted
ToolComponentBuilder,FoodComponentBuilderandJukeboxPlayableComponentBuilder. - Made
ItemBuildercompletely switch fromItemMetato data components to improve performance and modernize. - Added various
FinderOptionsfactory methods for more code clarity. - Removed deprecation from some special color codes in
JavaColorand just added a warning that they often don't work.
2.2.5
2.2.3
2.2.2
2.2.1
2.2
2.2
- Added an
InputandPlayerInputinterface and an implementation for dialogs (DialogPlayerInput)
It makes getting text and other kinds of input easy and has support for custom types. ItemBuilderAPI:- Removed
convertsTo(),effect()andeffects()fromFoodComponentBuilderas these methods don't exist
anymore in 26.1.2. - Deprecated
customModelData()andfireResistant()for removal as they don't exist anymore in minecraft and are
deprecated in paper. - Added
itemModel()methods. Item models replaced custom model data (some time ago already...). - Added
customModelDataComponent()anduseCooldownComponent()methods (see docs for more information) - Made
name()usemeta.customName()asmeta.displayName()is obsolete. - Added more documentation
- Deprecated methods that use Strings where Components could be used instead for removal.
- Removed
- Removed previously deprecated color classes
LegacyColor,LegacyHexColor,MinecraftColorandRgbTagColor
as they all use an old API which uses section signs (§) that only allow a few preset colors and are less readable - Added a currently unused enum
SynchronizationTypefor sync and async operations - Added a new formatter API that uses mini-message's
TagResolversystem. - Updated paper dependency to version 26.1.2
- Now uses paperweight-userdev for possible NMS access
- Deprecated the
CommandRegistrationEvent. Read its documentation for the reason. - Removed the recommendation to use
paper-plugin.ymlinREADME.mdas it's irrelevant for this project;
doesn't specifically need it or have any (optional) features that require it - Reformatted entire project using IntelliJ's Reformat Code tool.
- Added
TagAPIinformattingpackage
2.1
2.1
- Added cooldowns to
Commands - Added a class
DurationFormatterin base API - Removed
@NotLoadedas loaded classes require@AutoRegisteredsince 2.0, making it obsolete OnteyPluginnow only registers serializables that extendontey.api.serialization.ConfigSerializablewhich connect OnteyAPI and Bukkit serializables by extending both.
Also made serializables require@AutoLoadedto be ... autoloaded.- Added more registerSerializable and made them understandable:
registerSerializableforontey.api.serialization.ConfigSerializable,registerBukkitSerializableandregisterOnteySerializable. - Deprecated
OnteyPlugin#registerSerializable(ConfigurationSerializable) - Added a check for
@AutoLoadedinLoaders#createSubclassLoader.
2.0.4
2.0.4
CommandConfig#deserialize(ConfigSection):- Added a null-check (and
throws IllegalStateException) for thename - Made
enableddefault totrueinstead offalse(which didn't make sense) - Added documentation
- Added a null-check (and
- Added
getEnumandisEnummethods toConfigSection - Added a getter for
contextinJavascript - Minor code cleanup