Class OverlayInfo

  • All Implemented Interfaces:

    
    public final class OverlayInfo
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class OverlayInfo.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      OverlayInfo(ResourceLocation texture, Integer duration)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ResourceLocation getTexture() The texture to display.
      final Integer getDuration() The length of time (in ticks) to display the overlay for.
      • Methods inherited from class java.lang.Object

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

      • OverlayInfo

        OverlayInfo(ResourceLocation texture, Integer duration)
    • Method Detail

      • getTexture

         final ResourceLocation getTexture()

        The texture to display.

      • getDuration

         final Integer getDuration()

        The length of time (in ticks) to display the overlay for.