java.lang.Object
team.lodestar.lodestone.systems.rendering.rendeertype.RenderTypeToken
All Implemented Interfaces:
Supplier<net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard>

public class RenderTypeToken extends Object implements Supplier<net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard>
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RenderTypeToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
     
    protected
    RenderTypeToken(net.minecraft.resources.ResourceLocation texture)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createCachedToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
    Deprecated, for removal: This API element is subject to removal in a future version.
    createCachedToken(net.minecraft.resources.ResourceLocation texture)
    Deprecated, for removal: This API element is subject to removal in a future version.
    createToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
     
    createToken(net.minecraft.resources.ResourceLocation texture)
     
    net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard
    get()
     
    int
     

    Methods inherited from class java.lang.Object

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

    • RenderTypeToken

      protected RenderTypeToken(net.minecraft.resources.ResourceLocation texture)
    • RenderTypeToken

      protected RenderTypeToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
  • Method Details

    • createToken

      public static RenderTypeToken createToken(net.minecraft.resources.ResourceLocation texture)
    • createToken

      public static RenderTypeToken createToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
    • createCachedToken

      @Deprecated(forRemoval=true) public static RenderTypeToken createCachedToken(net.minecraft.resources.ResourceLocation texture)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createCachedToken

      @Deprecated(forRemoval=true) public static RenderTypeToken createCachedToken(net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard texture)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • get

      public net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard get()
      Specified by:
      get in interface Supplier<net.minecraft.client.renderer.RenderStateShard.EmptyTextureStateShard>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object