Getters interfaces to Providers rename
This commit is contained in:
parent
c6afa74529
commit
db8dc41c8f
52 changed files with 120 additions and 122 deletions
|
@ -1,14 +0,0 @@
|
|||
package ru.bclib.interfaces;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.minecraft.client.renderer.block.model.BlockModel;
|
||||
import net.minecraft.resources.ResourceLocation;
|
||||
import ru.bclib.client.models.ModelsHelper;
|
||||
|
||||
public interface ItemModelGetter {
|
||||
@Environment(EnvType.CLIENT)
|
||||
default BlockModel getItemModel(ResourceLocation resourceLocation) {
|
||||
return ModelsHelper.createItemModel(resourceLocation);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue