Class AspectRegistryClient
java.lang.Object
org.cyclops.integrateddynamics.core.part.aspect.AspectRegistryClient
- All Implemented Interfaces:
IAspectRegistryClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.item.ItemModel.Unbaked
getAspectModel
(IAspect aspect) Get the facadeModel resource location of the given aspect.Collection
<net.minecraft.client.renderer.item.ItemModel.Unbaked> Get all registered facadeModel resource locations for the aspects.void
registerAspectModel
(IAspect aspect, net.minecraft.resources.ResourceLocation modelLocation) Register a facadeModel resource location for the given aspect.
-
Constructor Details
-
AspectRegistryClient
public AspectRegistryClient()
-
-
Method Details
-
registerAspectModel
public void registerAspectModel(IAspect aspect, net.minecraft.resources.ResourceLocation modelLocation) Description copied from interface:IAspectRegistryClient
Register a facadeModel resource location for the given aspect.- Specified by:
registerAspectModel
in interfaceIAspectRegistryClient
- Parameters:
aspect
- The aspect.modelLocation
- The facadeModel resource location.
-
getAspectModel
Description copied from interface:IAspectRegistryClient
Get the facadeModel resource location of the given aspect.- Specified by:
getAspectModel
in interfaceIAspectRegistryClient
- Parameters:
aspect
- The aspect.- Returns:
- The unbaked facadeModel.
-
getAspectModels
Description copied from interface:IAspectRegistryClient
Get all registered facadeModel resource locations for the aspects.- Specified by:
getAspectModels
in interfaceIAspectRegistryClient
- Returns:
- All facadeModel resource locations.
-