Add a model loader that lets mods specify different models for different perspectives.

Allow custom models to reference vanilla item models as child models.
This commit is contained in:
David Quintana committed 2020-06-28 00:32:50 +02:00
1 parent af9bb9641b
commit 5f1a7326c7
4 files changed
+217 -1

No files matched your search

@@ -123,6 +123,10 @@ public class NewModelLoaderTest
new Item(new Item.Properties().group(ItemGroup.MISC))
);
public static RegistryObject<Item> separate_perspective = ITEMS.register("separate_perspective", () ->
new Item(new Item.Properties().group(ItemGroup.MISC))
);
public NewModelLoaderTest()
{
IEventBus modEventBus = FMLJavaModLoadingContext.get().getModEventBus();