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);
|
this::getModel);
|
||||||
/* take every texture from these folders (1.19.3+ emulation) */
|
/* take every texture from these folders (1.19.3+ emulation) */
|
||||||
String[] extraFolders = new String[] {
|
String[] extraFolders = new String[] {
|
||||||
|
"attachment",
|
||||||
|
"bettergrass",
|
||||||
"block",
|
"block",
|
||||||
"blocks",
|
"blocks",
|
||||||
|
"cape",
|
||||||
"item",
|
"item",
|
||||||
"items",
|
"items",
|
||||||
"bettergrass"
|
"pipe"
|
||||||
};
|
};
|
||||||
for(String folder : extraFolders) {
|
for(String folder : extraFolders) {
|
||||||
Collection<ResourceLocation> textureLocations = this.resourceManager.listResources("textures/" + folder, p -> p.endsWith(".png"));
|
Collection<ResourceLocation> textureLocations = this.resourceManager.listResources("textures/" + folder, p -> p.endsWith(".png"));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user