Add more paths to texture search
This commit is contained in:
parent
fc9aff6217
commit
9d4d1cc9b4
|
|
@ -235,11 +235,14 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
|
|||
this::getModel);
|
||||
/* take every texture from these folders (1.19.3+ emulation) */
|
||||
String[] extraFolders = new String[] {
|
||||
"attachment",
|
||||
"bettergrass",
|
||||
"block",
|
||||
"blocks",
|
||||
"cape",
|
||||
"item",
|
||||
"items",
|
||||
"bettergrass"
|
||||
"pipe"
|
||||
};
|
||||
for(String folder : extraFolders) {
|
||||
Collection<ResourceLocation> textureLocations = this.resourceManager.listResources("textures/" + folder, p -> p.endsWith(".png"));
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user