Class LodestoneRenderTypeRegistry.RenderTypeProvider

java.lang.Object
team.lodestar.lodestone.registry.client.LodestoneRenderTypeRegistry.RenderTypeProvider
Enclosing class:
LodestoneRenderTypeRegistry

public static class LodestoneRenderTypeRegistry.RenderTypeProvider extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    RenderTypeProvider(Function<net.minecraft.resources.ResourceLocation,net.minecraft.client.renderer.RenderType> function)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.RenderType
    apply(net.minecraft.resources.ResourceLocation texture)
     
    net.minecraft.client.renderer.RenderType
    applyAndCache(net.minecraft.resources.ResourceLocation texture)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RenderTypeProvider

      public RenderTypeProvider(Function<net.minecraft.resources.ResourceLocation,net.minecraft.client.renderer.RenderType> function)
  • Method Details

    • apply

      public net.minecraft.client.renderer.RenderType apply(net.minecraft.resources.ResourceLocation texture)
    • applyAndCache

      public net.minecraft.client.renderer.RenderType applyAndCache(net.minecraft.resources.ResourceLocation texture)