{"mod":{"modid":4517,"assetid":26831,"name":"Attribute Rendering Library","text":"
I live in Ukraine and there is a war going on right now.<\/p>\r\n
If you are enjoying my mods, you can support me on Patreon. Any help is appreciated!<\/p>\r\n
<\/p>\r\n Implements attribute-based variant system for rendering things, which is very optimized and efficient way to add thousands of variants for any item or block.<\/p>\r\n Usually vanilla and mods add new item or block variants by using VariantGroups, but this mod doesn't require VariantGroups at all.<\/p>\r\n <\/p>\r\n Documentation<\/a> is being worked on.<\/p>\r\n <\/p>\r\n Mods using this library:<\/p>\r\n <\/p>\r\n To reference the library in the code mod, add the following to your csproj file (use higher version if needed):<\/p>\r\n <\/p>\r\n Feature: Added NWOrientable behavior that supports attribute-based variants system<\/p>"},{"releaseid":25074,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_8569eec880768b53f2b53a22d00153a8.zip?dl=AttributeRenderingLibrary-v2.2.0.zip","filename":"AttributeRenderingLibrary-v2.2.0.zip","fileid":55156,"downloads":1705,"tags":["1.21.0","1.21.1"],"modidstr":"attributerenderinglibrary","modversion":"2.2.0","created":"2025-09-13 20:03:40","changelog":" Feature: Blocks can now use attribute-based variants system (technical: implemented block behavior and block entity behavior<\/span>)<\/p>\r\n Feature: Implemented own versions of HorizontalOrientable and HorizontalAttachable behaviors that support attribute-based variants system (technical: only for GetDrops and OnPickBlock<\/span>)<\/p>"},{"releaseid":24932,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_060b2ae479c2612479ec3e765791e86a.zip?dl=AttributeRenderingLibrary-v2.1.2.zip","filename":"AttributeRenderingLibrary-v2.1.2.zip","fileid":54775,"downloads":2758,"tags":["1.21.1"],"modidstr":"attributerenderinglibrary","modversion":"2.1.2","created":"2025-09-11 19:14:58","changelog":" Added Variants.ContainsKey<\/strong> and Variants.MergeVariants<\/strong><\/p>"},{"releaseid":23925,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_b473c05e68b62f40f9cb9b66cbfab591.zip?dl=AttributeRenderingLibrary-v2.1.1.zip","filename":"AttributeRenderingLibrary-v2.1.1.zip","fileid":52623,"downloads":16097,"tags":["1.21.0"],"modidstr":"attributerenderinglibrary","modversion":"2.1.1","created":"2025-08-30 14:14:03","changelog":" Fixed: Added null check to Variants.RemoveKeys to prevent possible crashes<\/p>"},{"releaseid":23551,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_b45674f95cff02c70a7ae79c7f58f2f8.zip?dl=AttributeRenderingLibrary-v1.0.4.zip","filename":"AttributeRenderingLibrary-v1.0.4.zip","fileid":51829,"downloads":2235,"tags":["1.20.12"],"modidstr":"attributerenderinglibrary","modversion":"1.0.4","created":"2025-08-26 19:44:02","changelog":" Backport of 1.21 version for 1.20<\/p>"},{"releaseid":23413,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_ce06b8188be0b0c4287b9b5d72a26df4.zip?dl=AttributeRenderingLibrary-v2.1.0.zip","filename":"AttributeRenderingLibrary-v2.1.0.zip","fileid":51607,"downloads":5669,"tags":["1.21.0"],"modidstr":"attributerenderinglibrary","modversion":"2.1.0","created":"2025-08-25 19:21:53","changelog":" Feature: Can now override contained description for items with attributes Fixed: Suppress missing texture errors in logs<\/p>"},{"releaseid":22645,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_842dc7b8b17e4eb3a8cf155d06599e4b.zip?dl=AttributeRenderingLibrary-v2.0.0.zip","filename":"AttributeRenderingLibrary-v2.0.0.zip","fileid":49751,"downloads":91,"tags":["1.21.0-rc.3"],"modidstr":"attributerenderinglibrary","modversion":"2.0.0","created":"2025-08-07 19:53:54","changelog":" Update to 1.21<\/p>"},{"releaseid":22523,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_603a2d486b3294054393c6a926c576f9.zip?dl=AttributeRenderingLibrary-v1.0.3.zip","filename":"AttributeRenderingLibrary-v1.0.3.zip","fileid":49438,"downloads":5838,"tags":["1.20.0","1.20.1","1.20.2","1.20.3","1.20.4","1.20.5","1.20.6","1.20.7","1.20.8","1.20.9","1.20.10","1.20.11","1.20.12"],"modidstr":"attributerenderinglibrary","modversion":"1.0.3","created":"2025-08-03 15:12:37","changelog":" API Tweak: Ignore empty and null dictionaries (slight performance improvement)<\/p>"},{"releaseid":22389,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_9e9c5c298a24adf5ae6535ee58ba661a.zip?dl=AttributeRenderingLibrary-v1.0.2.zip","filename":"AttributeRenderingLibrary-v1.0.2.zip","fileid":49058,"downloads":546,"tags":["1.20.0","1.20.1","1.20.2","1.20.3","1.20.4","1.20.5","1.20.6","1.20.7","1.20.8","1.20.9","1.20.10","1.20.11","1.20.12"],"modidstr":"attributerenderinglibrary","modversion":"1.0.2","created":"2025-07-29 22:43:50","changelog":" Fixed: Crash when shape overlays are null in AttachableToEntity behavior<\/p>"},{"releaseid":22373,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_bf910d8fe48a1883ddbc708461128f94.zip?dl=AttributeRenderingLibrary-v1.0.1.zip","filename":"AttributeRenderingLibrary-v1.0.1.zip","fileid":49025,"downloads":63,"tags":["1.20.0","1.20.1","1.20.2","1.20.3","1.20.4","1.20.5","1.20.6","1.20.7","1.20.8","1.20.9","1.20.10","1.20.11","1.20.12"],"modidstr":"attributerenderinglibrary","modversion":"1.0.1","created":"2025-07-29 10:42:38","changelog":" API Tweak: Attribute-based variant system:<\/p>\r\n <\/p>\r\n API Tweak: Suppress log warnings when overlays don't exist<\/p>"},{"releaseid":22260,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_33c327f66058b899580fb798d885f9ff.zip?dl=AttributeRenderingLibrary-v1.0.0.zip","filename":"AttributeRenderingLibrary-v1.0.0.zip","fileid":48735,"downloads":793,"tags":["1.20.0","1.20.1","1.20.2","1.20.3","1.20.4","1.20.5","1.20.6","1.20.7","1.20.8","1.20.9","1.20.10","1.20.11","1.20.12"],"modidstr":"attributerenderinglibrary","modversion":"1.0.0","created":"2025-07-26 14:37:15","changelog":""}],"screenshots":[]},"statuscode":"200"}
<\/a><\/span> Patreon<\/span><\/a><\/strong><\/span><\/p>\r\n
<\/a> Discord<\/span><\/a><\/strong><\/p>\r\n
\r\n\r\n
<ItemGroup>\r\n\t<PackageReference Include=\"CraluminumMods.VintageStory.AttributeRenderingLibrary\" Version=\"2.4.0\" PrivateAssets=\"all\" \/>\r\n<\/ItemGroup><\/code><\/pre>\r\n\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
Removed: AttachableToEntityTyped behavior (it is now built-in into ShapeTexturesFromAttributes behavior and ItemShapeTexturesFromAttributes class). It can now be configured only it through STFA_attachableToEntity attribute<\/p>"},{"releaseid":22674,"mainfile":"https:\/\/moddbcdn.vintagestory.at\/AttributeRenderingLi_229864744558d7ff2cc14e045e36cc47.zip?dl=AttributeRenderingLibrary-v2.0.1.zip","filename":"AttributeRenderingLibrary-v2.0.1.zip","fileid":49845,"downloads":636,"tags":["1.21.0"],"modidstr":"attributerenderinglibrary","modversion":"2.0.1","created":"2025-08-08 11:13:04","changelog":"\r\n