Class VolumeTexture

java.lang.Object
net.minecraft.client.renderer.texture.AbstractTexture
team.lodestar.lodestone.systems.texture.VolumeTexture
All Implemented Interfaces:
AutoCloseable

public class VolumeTexture extends net.minecraft.client.renderer.texture.AbstractTexture
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.resources.ResourceLocation
     

    Fields inherited from class net.minecraft.client.renderer.texture.AbstractTexture

    blur, id, mipmap, NOT_ASSIGNED
  • Constructor Summary

    Constructors
    Constructor
    Description
    VolumeTexture(net.minecraft.resources.ResourceLocation location, int xSlices, int ySlices)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
     
    int
     
    int
     
    int
     
    int
     
    void
    load(net.minecraft.server.packs.resources.ResourceManager resourceManager)
     

    Methods inherited from class net.minecraft.client.renderer.texture.AbstractTexture

    close, getId, releaseId, reset, restoreLastBlurMipmap, setBlurMipmap, setFilter

    Methods inherited from class java.lang.Object

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

    • location

      protected final net.minecraft.resources.ResourceLocation location
  • Constructor Details

    • VolumeTexture

      public VolumeTexture(net.minecraft.resources.ResourceLocation location, int xSlices, int ySlices)
  • Method Details

    • load

      public void load(net.minecraft.server.packs.resources.ResourceManager resourceManager) throws IOException
      Specified by:
      load in class net.minecraft.client.renderer.texture.AbstractTexture
      Throws:
      IOException
    • bind

      public void bind()
      Overrides:
      bind in class net.minecraft.client.renderer.texture.AbstractTexture
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • getDepth

      public int getDepth()
    • getXSlices

      public int getXSlices()
    • getYSlices

      public int getYSlices()