Class ModelConfigurationWrapper

java.lang.Object
org.cyclops.evilcraft.core.client.model.ModelConfigurationWrapper
All Implemented Interfaces:
net.minecraftforge.client.model.IModelConfiguration
Direct Known Subclasses:
ModelConfigurationRetextured

public class ModelConfigurationWrapper extends Object implements net.minecraftforge.client.model.IModelConfiguration
Model configuration that wraps over another configuration.
  • Constructor Details

    • ModelConfigurationWrapper

      public ModelConfigurationWrapper(net.minecraftforge.client.model.IModelConfiguration wrapped)
  • Method Details

    • getOwnerModel

      @Nullable public net.minecraft.client.resources.model.UnbakedModel getOwnerModel()
      Specified by:
      getOwnerModel in interface net.minecraftforge.client.model.IModelConfiguration
    • getModelName

      public String getModelName()
      Specified by:
      getModelName in interface net.minecraftforge.client.model.IModelConfiguration
    • isTexturePresent

      public boolean isTexturePresent(String name)
      Specified by:
      isTexturePresent in interface net.minecraftforge.client.model.IModelConfiguration
    • resolveTexture

      public net.minecraft.client.resources.model.Material resolveTexture(String name)
      Specified by:
      resolveTexture in interface net.minecraftforge.client.model.IModelConfiguration
    • isShadedInGui

      public boolean isShadedInGui()
      Specified by:
      isShadedInGui in interface net.minecraftforge.client.model.IModelConfiguration
    • isSideLit

      public boolean isSideLit()
      Specified by:
      isSideLit in interface net.minecraftforge.client.model.IModelConfiguration
    • useSmoothLighting

      public boolean useSmoothLighting()
      Specified by:
      useSmoothLighting in interface net.minecraftforge.client.model.IModelConfiguration
    • getCameraTransforms

      public net.minecraft.client.renderer.block.model.ItemTransforms getCameraTransforms()
      Specified by:
      getCameraTransforms in interface net.minecraftforge.client.model.IModelConfiguration
    • getCombinedTransform

      public net.minecraft.client.resources.model.ModelState getCombinedTransform()
      Specified by:
      getCombinedTransform in interface net.minecraftforge.client.model.IModelConfiguration
    • getPartVisibility

      public boolean getPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part)
      Specified by:
      getPartVisibility in interface net.minecraftforge.client.model.IModelConfiguration
    • getPartVisibility

      public boolean getPartVisibility(net.minecraftforge.client.model.geometry.IModelGeometryPart part, boolean fallback)
      Specified by:
      getPartVisibility in interface net.minecraftforge.client.model.IModelConfiguration