Procedural models API
This commit is contained in:
parent
cab98a75c2
commit
15d379996c
67 changed files with 1542 additions and 1 deletions
10
src/main/java/ru/bclib/client/models/ItemModelProvider.java
Normal file
10
src/main/java/ru/bclib/client/models/ItemModelProvider.java
Normal file
|
@ -0,0 +1,10 @@
|
|||
package ru.bclib.client.models;
|
||||
|
||||
import net.minecraft.client.renderer.block.model.BlockModel;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
|
||||
public interface ItemModelProvider {
|
||||
default BlockModel getItemModel(ResourceLocation resourceLocation) {
|
||||
return ModelsHelper.createItemModel(resourceLocation);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue