Class GeometryBakingContextWrapper

java.lang.Object
org.cyclops.evilcraft.core.client.model.GeometryBakingContextWrapper
All Implemented Interfaces:
net.minecraftforge.client.model.geometry.IGeometryBakingContext
Direct Known Subclasses:
GeometryBakingContextRetextured

public class GeometryBakingContextWrapper extends Object implements net.minecraftforge.client.model.geometry.IGeometryBakingContext
Model configuration that wraps over another configuration.
  • Constructor Details

    • GeometryBakingContextWrapper

      public GeometryBakingContextWrapper(net.minecraftforge.client.model.geometry.IGeometryBakingContext wrapped)
  • Method Details

    • getModelName

      public String getModelName()
      Specified by:
      getModelName in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • hasMaterial

      public boolean hasMaterial(String name)
      Specified by:
      hasMaterial in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • getMaterial

      public net.minecraft.client.resources.model.Material getMaterial(String name)
      Specified by:
      getMaterial in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • isGui3d

      public boolean isGui3d()
      Specified by:
      isGui3d in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • useBlockLight

      public boolean useBlockLight()
      Specified by:
      useBlockLight in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • useAmbientOcclusion

      public boolean useAmbientOcclusion()
      Specified by:
      useAmbientOcclusion in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • getTransforms

      public net.minecraft.client.renderer.block.model.ItemTransforms getTransforms()
      Specified by:
      getTransforms in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • getRootTransform

      public com.mojang.math.Transformation getRootTransform()
      Specified by:
      getRootTransform in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • getRenderTypeHint

      @Nullable public @Nullable net.minecraft.resources.ResourceLocation getRenderTypeHint()
      Specified by:
      getRenderTypeHint in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext
    • isComponentVisible

      public boolean isComponentVisible(String component, boolean fallback)
      Specified by:
      isComponentVisible in interface net.minecraftforge.client.model.geometry.IGeometryBakingContext