public interface IPartModels
IPart.getStaticModels().| Modifier and Type | Method and Description |
|---|---|
void |
registerModels(java.util.Collection<net.minecraft.util.ResourceLocation> partModels)
Allows registration of part models that can then be used in
IPart.getStaticModels(). |
default void |
registerModels(net.minecraft.util.ResourceLocation... partModels)
Convenience overload of
registerModels(Collection) |
void registerModels(java.util.Collection<net.minecraft.util.ResourceLocation> partModels)
IPart.getStaticModels().
Models can be registered multiple times without causing issues.
This method must be called during the pre-init phase (as part of your plugin's constructor).default void registerModels(net.minecraft.util.ResourceLocation... partModels)
registerModels(Collection)