
Trinkets Updated
A data driven accessory mod. Updated fork of trinkets for 1.21.11 and beyond.
- Added new equipped and allEquipped methods, as alternative to deprecated methods below. (Will be backported to 26.1)
- They require the requireActive argument to be provided (checks if trinket is allowed to apply effects) and return List
over a Tuple<TSA, ItemStack>.
- They require the requireActive argument to be provided (checks if trinket is allowed to apply effects) and return List
- Deprecated
getEquippedandgetAllEquippedmethods, as Tuple class they depended on got removed. - (26.2) Provided temporary implementation of Tuple to allow some deprecation period before removal of effected methods.
- NeoForge compatibility is untested and might not work correctly.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-beta.2+26.1...4.1.0-beta.1+26.2
- Added new equipped and allEquipped methods, as alternative to deprecated methods below. (Will be backported to 26.1)
- Fixed game crashing with
-Dmixin.debug=true
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-beta.1+26.1...4.0.0-beta.2+26.1
- Fixed game crashing with
- Added Config Screen to allow dynamic in game modification of Trinkets settings. It's accessible via Mod Menu/List.
- Added Sidebar-only UI Style:
- Rather than having slots inside of other equipment slots, they will shown on the sidebar instead.
- It is optional and disabled by default. It can be enabled in Trinkets config.
- Sidebar size can now be configured.
- Improved compatibility with Entity Model Features mod:
- Applies both api/code and data driven trinket rendering (so won't change for mods not using Trinket's provided utility methods).
- Do note the compatibility isn't perfect and more heavily modified (or vanilla non-conforming) models might show trinkets wrong or not render them at all.
- Most popular packs, such as Fresh Animations (including player addon) will look correctly now through!
- Added support for rendering trinkets in first person:
- It is optional and disabled by default. It can be enabled in Trinkets config.
- Added events for checking if item is compatible with trinket slot and for checking if trinket is equipable.
- Added datagen utilities:
- Allows easily create / configure slot types and entities with data generation.
- See local loader's api for reference.
- You can now set the asset_id field in Trinkets Equipment component.
- Added an option to toggle showing slot names as a tooltip on hover (it's disabled by by default).
- Added an option to toggle Trinket item tooltip (it's enabled by default).
- Max default stack size of trinkets slots is now set to 1 (like equipment slots):
- This can be changed by setting the
max_stack_sizeproperty in slot type definition.
- This can be changed by setting the
- Trinkets are counted within player Inventory contains checks and in case of /clear command.
- Data driven trinket rendering is now exclusive with code driven one.
- Totems of Undying (and other items with death protection component) will now work in Trinkets slots (requires a datapack to enable it).
- Improved the look of Trinket slot indicator option.
- Added support for creation of passive trinkets and slot types that won't apply any effects by default.
- Trinkets can now make players hidden for entities using LivingEntity#PLAYER_NOT_WEARING_DISGUISE_ITEM check for trinkets being in the
minecraft:gaze_disguise_equipmenttag. - Attributes provided via trinkets:attributes component are now unique by default. This behaviour can be toggled by changing the unique field.
- Attributes provided via trinkets:attributes component can now customise the display just like vanilla ones do.
- Fixed new slot predicate format not being read correctly.
- Added support for hidden slots (slots that aren't accessible directly out of default trinkets slots).
- Added injected-interface for ItemStack, adding trinkets-compatible hurtAndBreak method.
- Data driven trinket models definitions can now define the priority, at which they are applied:
- Definition will override the ones with lower or equal priority rather than just based on load order.
- Default models (provided with Trinkets itself) all have priority set to -1000
- API for getting only "renderable" and droppable item stacks from trinket attachment. These apis are primarily intended for improving mod compatibility.
- Fixed compatibility with Controlify mod.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.8+26.1...4.0.0-alpha.9+26.1
- Added support for data driven trinket rendering.
- You can read about the format here: https://github.com/Patbox/trinkets/wiki/Data-Driven-Trinket-rendering-asset-definition.
- Fixed bugs related to entity trinket sync not being handled for when entity loads on client for the first time.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.7+26.1...4.0.0-alpha.8+26.1
- Added support for data driven trinket rendering.
What's Changed
- prevent Invalid player data on dedicated servers by @macuguita in https://github.com/Patbox/trinkets/pull/12
- Slot name now displays even if callback prevents equipment.
- It will however change the color from blue to dark gray.
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.5+26.1...4.0.0-alpha.6+26.1
- 26.1 Slot Modification and GUI fixes by @Aquaeyes in https://github.com/Patbox/trinkets/pull/10
- Fix tag support for entity slot definition
- Optionally toggable extended slot indicator icons (configured via config/tinkers.json file)
- A new icon
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.4+26.1...4.0.0-alpha.5+26.1
Few more fixes and new apis, most notably:
- TrinkersApi#getDropRule
- TrinketsAttachment#getInventory(slotId)
- Restored TrinketsInventory#getAttachment
- (Breaking, but not used) TrinketSlotReference no longer holds SlotType
- TrinketsAttachment#getSlotAccess and TrinketsInventory#getSlotAccess to get valid slot access (or null)
- Rename TrinketRenderer#extractStates to TrinketRenderer#submit (ABI compatible via mixin)
- CrustyFroge (CurseForge) release as soon as they approve
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.3+26.1.1...4.0.0-alpha.4+26.1
Fix trinket callback tick function not being called (oops). Glider component now works correctly in Trinkets slots (no equipment visuals yet)
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.2+26.1...4.0.0-alpha.3+26.1
Now officially compatible with neoforge!
Full Changelog: https://github.com/Patbox/trinkets/compare/4.0.0-alpha.1+26.1...4.0.0-alpha.2+26.1
Now with a lot of refactors! As my plan to make trinkets bit more modern, I decided to make the api/impl separation cleaner, but also prepare it for addition of new features and improvements.
Main changes include:
- Updated to 26.1.1 and remapped to Mojmap
- Changed package from dev.emi.trinkets to eu.pb4.trinkets, as well as many renames
- Texture files moved and cleaned up to match current vanilla standard
- SlotAttributes was reworked and no longer depends on unregistered attribute instances
- Events now use the Yumi Framework over Fabric one (as pre-requisite of NeoForge support)
- Slot predicates can now work as an AND and OR logic in json, by using objects with "and" key or "or" key. These can be nested as much as one needs.
- Dropped dependency on Cardinal Components API. You can see the more complete list here: https://github.com/Patbox/trinkets/blob/main/patbox-changes
You also read this right, I plan to make my fork of Trinkets compatible with NeoForge as a single universal jar (same as some of LambdaAurora's mods and libraries). However my focus still be first and foremost on the Fabric side of things, since I do think it's where the fun is at™
Нет описания изменений
