Reorganized Imports/Packages
This commit is contained in:
parent
a8beba9196
commit
770a5b4046
854 changed files with 42775 additions and 41811 deletions
|
@ -0,0 +1,19 @@
|
|||
package org.betterx.betterend.interfaces;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
|
||||
import org.betterx.betterend.registry.EndItems;
|
||||
|
||||
public interface MultiModelItem {
|
||||
@Environment(EnvType.CLIENT)
|
||||
void registerModelPredicate();
|
||||
|
||||
static void register() {
|
||||
EndItems.getModItems().forEach(item -> {
|
||||
if (item instanceof MultiModelItem) {
|
||||
((MultiModelItem) item).registerModelPredicate();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue