Mods / Attribute Rendering Library
Authors: DanaCraluminum, Moby_, nanotect, Maltiez, jayu, SaltyWater, BowlSoldier
Side: Both
Created: Jul 26th at 2:33 PM
Last modified: Nov 4th at 4:39 PM
Downloads: 104342
Follow Unfollow 959
Recommended download (for Vintage Story 1.21.0 - 1.21.5):
AttributeRenderingLibrary-v2.4.0.zip
1-click install
I live in Ukraine and there is a war going on right now.
If you are enjoying my mods, you can support me on Patreon. Any help is appreciated!
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.
Usually vanilla and mods add new item or block variants by using VariantGroups, but this mod doesn't require VariantGroups at all.
Documentation is being worked on.
Mods using this library:
- Tabletop Games
- Vanilla Variants - Riding Equipment
- Storage Options
- Dana Can Cook
- Draconis
- Fueled Wearable Lights
- Quivers And Sheaths
- Tabards
- Heraldry : Core
- Heraldry : Banners
- Heraldry : Capes
To reference the library in the code mod, add the following to your csproj file (use higher version if needed):
<ItemGroup>
<PackageReference Include="CraluminumMods.VintageStory.AttributeRenderingLibrary" Version="2.4.0" PrivateAssets="all" />
</ItemGroup>
- Implement attribute-based variant system for following things
- Entity
- EntityBehavior
- ItemWearable
- textures and shape only
| Mod Version | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|
| 2.4.0 | 15406 | Nov 4th at 4:39 PM | AttributeRenderingLibrary-v2.4.0.zip | 1-click install | ||
| ||||||
| 2.3.0 | 52721 | Sep 14th at 4:26 PM | AttributeRenderingLibrary-v2.3.0.zip | 1-click install | ||
|
Feature: Added NWOrientable behavior that supports attribute-based variants system | ||||||
| 2.2.0 | 1700 | Sep 13th at 8:03 PM | AttributeRenderingLibrary-v2.2.0.zip | 1-click install | ||
|
Feature: Blocks can now use attribute-based variants system (technical: implemented block behavior and block entity behavior) Feature: Implemented own versions of HorizontalOrientable and HorizontalAttachable behaviors that support attribute-based variants system (technical: only for GetDrops and OnPickBlock) | ||||||
| 2.1.2 | 2753 | Sep 11th at 7:14 PM | AttributeRenderingLibrary-v2.1.2.zip | 1-click install | ||
|
Added Variants.ContainsKey and Variants.MergeVariants | ||||||
| 2.1.1 | 15950 | Aug 30th at 2:14 PM | AttributeRenderingLibrary-v2.1.1.zip | 1-click install | ||
|
Fixed: Added null check to Variants.RemoveKeys to prevent possible crashes | ||||||
| 2.1.0 | 5652 | Aug 25th at 7:21 PM | AttributeRenderingLibrary-v2.1.0.zip | 1-click install | ||
|
Feature: Can now override contained description for items with attributes | ||||||
| 2.0.1 | 631 | Aug 8th at 11:13 AM | AttributeRenderingLibrary-v2.0.1.zip | 1-click install | ||
|
Fixed: Suppress missing texture errors in logs | ||||||
| 2.0.0 | 88 | Aug 7th at 7:53 PM | AttributeRenderingLibrary-v2.0.0.zip | 1-click install | ||
|
Update to 1.21 | ||||||
| 1.0.4 | 2213 | Aug 26th at 7:44 PM | AttributeRenderingLibrary-v1.0.4.zip | 1-click install | ||
|
Backport of 1.21 version for 1.20 | ||||||
| 1.0.3 | 5834 | Aug 3rd at 3:12 PM | AttributeRenderingLibrary-v1.0.3.zip | 1-click install | ||
|
API Tweak: Ignore empty and null dictionaries (slight performance improvement) | ||||||
| 1.0.2 | 545 | Jul 29th at 10:43 PM | AttributeRenderingLibrary-v1.0.2.zip | 1-click install | ||
|
Fixed: Crash when shape overlays are null in AttachableToEntity behavior | ||||||
| 1.0.1 | 61 | Jul 29th at 10:42 AM | AttributeRenderingLibrary-v1.0.1.zip | 1-click install | ||
|
API Tweak: Attribute-based variant system:
API Tweak: Suppress log warnings when overlays don't exist | ||||||
| 1.0.0 | 788 | Jul 26th at 2:37 PM | Empty | AttributeRenderingLibrary-v1.0.0.zip | 1-click install | |
Thanks very much for the quick response on which version! Always appreciated.
ahh good point. Forgot to do that after updating.
Works like a charm after clearing cache.
Great work you and your team do
Skaface443 Clear cache
CTD with newest version:
Just wanted to let you know. Dont have mods that need newest version so ill downgrade again.
CKitt You don't need to update to new version of the library unless some mod requires 2.1.2+ version
With 2.1.2's additions, is it safe to leave a modpack otherwise as-is? Nothing seems to specify needing this version of your library, and the server is currently running 2.1.1.
JokoJose Yes
does it works for 1.20.12?
AidasLit The library is very optimized
I'm not experienced in VS modding, but I am curious if this impact's RAM usage. When I add mods with lots of items, a large part of them are variants, and my game sometimes maxes out RAM usage. Would mods using this library help with that?