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.UnbakedgetAspectModel(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.voidregisterAspectModel(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:IAspectRegistryClientRegister a facadeModel resource location for the given aspect.- Specified by:
registerAspectModelin interfaceIAspectRegistryClient- Parameters:
aspect- The aspect.modelLocation- The facadeModel resource location.
-
getAspectModel
Description copied from interface:IAspectRegistryClientGet the facadeModel resource location of the given aspect.- Specified by:
getAspectModelin interfaceIAspectRegistryClient- Parameters:
aspect- The aspect.- Returns:
- The unbaked facadeModel.
-
getAspectModels
Description copied from interface:IAspectRegistryClientGet all registered facadeModel resource locations for the aspects.- Specified by:
getAspectModelsin interfaceIAspectRegistryClient- Returns:
- All facadeModel resource locations.
-