Apply BCLib (WIP)
This commit is contained in:
parent
746613cbf1
commit
006dc63583
65 changed files with 122 additions and 775 deletions
|
@ -2,6 +2,7 @@ package ru.betterend.interfaces;
|
|||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import ru.betterend.BetterEnd;
|
||||
import ru.betterend.registry.EndItems;
|
||||
|
||||
public interface MultiModelItem {
|
||||
|
@ -9,7 +10,7 @@ public interface MultiModelItem {
|
|||
void registerModelPredicate();
|
||||
|
||||
static void register() {
|
||||
EndItems.getModItems().forEach(item -> {
|
||||
EndItems.getModItems(BetterEnd.MOD_ID).forEach(item -> {
|
||||
if (item instanceof MultiModelItem) {
|
||||
((MultiModelItem) item).registerModelPredicate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue