Class AspectRegistryClient

java.lang.Object
org.cyclops.integrateddynamics.core.part.aspect.AspectRegistryClient
All Implemented Interfaces:
IAspectRegistryClient

public class AspectRegistryClient extends Object implements IAspectRegistryClient
  • 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 interface IAspectRegistryClient
      Parameters:
      aspect - The aspect.
      modelLocation - The facadeModel resource location.
    • getAspectModel

      public net.minecraft.client.renderer.item.ItemModel.Unbaked getAspectModel(IAspect aspect)
      Description copied from interface: IAspectRegistryClient
      Get the facadeModel resource location of the given aspect.
      Specified by:
      getAspectModel in interface IAspectRegistryClient
      Parameters:
      aspect - The aspect.
      Returns:
      The unbaked facadeModel.
    • getAspectModels

      public Collection<net.minecraft.client.renderer.item.ItemModel.Unbaked> getAspectModels()
      Description copied from interface: IAspectRegistryClient
      Get all registered facadeModel resource locations for the aspects.
      Specified by:
      getAspectModels in interface IAspectRegistryClient
      Returns:
      All facadeModel resource locations.