You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minecraft: 1.21.1 NeoForge: 21.1.54 Iron Chests: 16.0.7
Report Information
Iron Chests uses a DirectoryLister sprite source to add its chest textures to the chest atlas. The default DirectorySource is not namespaced, which means that any texture in the specified directory or subdirectory thereof gets added, regardless of the texture's namespace. Since the textures/models/ directory is often used for large texture maps used by "entity" models which are rendered by entity renderers or BERs and which are not intended to be stitched to an atlas, this causes the chest atlas to be bloated by these unnecessary textures. In 1.21.1 this can be fixed by using the NamespacedDirectoryLister provided by NeoForge since 21.1.29 instead. In earlier versions, this custom sprite source needs to either be implemented manually or the individual textures added by a SingleFile sprite source per texture.
Steps to Reproduce
Install Iron Chests together with a mod that adds its own textures in textures/models/ (i.e. Modular Force Field Systems)
Inspect the chest atlas with vanilla's atlas dump keybind (F3 + S) or AtlasViewer (the latter includes information about which resource pack contains the sprite source adding a given texture)
The text was updated successfully, but these errors were encountered:
Version Information
Minecraft: 1.21.1
NeoForge: 21.1.54
Iron Chests: 16.0.7
Report Information
Iron Chests uses a
DirectoryLister
sprite source to add its chest textures to the chest atlas. The defaultDirectorySource
is not namespaced, which means that any texture in the specified directory or subdirectory thereof gets added, regardless of the texture's namespace. Since thetextures/models/
directory is often used for large texture maps used by "entity" models which are rendered by entity renderers or BERs and which are not intended to be stitched to an atlas, this causes the chest atlas to be bloated by these unnecessary textures. In 1.21.1 this can be fixed by using theNamespacedDirectoryLister
provided by NeoForge since 21.1.29 instead. In earlier versions, this custom sprite source needs to either be implemented manually or the individual textures added by aSingleFile
sprite source per texture.Steps to Reproduce
textures/models/
(i.e. Modular Force Field Systems)The text was updated successfully, but these errors were encountered: