Class GeometryBakingContextRetextured

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

public class GeometryBakingContextRetextured extends GeometryBakingContextWrapper
Model configuration that has a texture override.
  • Constructor Details

    • GeometryBakingContextRetextured

      public GeometryBakingContextRetextured(net.minecraftforge.client.model.geometry.IGeometryBakingContext wrapped, net.minecraft.resources.ResourceLocation texture)
  • Method Details

    • hasMaterial

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

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