Class UnstitchAtlasSource.SpriteRegion

java.lang.Object
net.minecraft.client.texture.atlas.UnstitchAtlasSource.SpriteRegion
All Implemented Interfaces:
Function<SpriteOpener,SpriteContents>, AtlasSource.SpriteRegion
Enclosing class:
UnstitchAtlasSource

@Environment(CLIENT) private static class UnstitchAtlasSource.SpriteRegion extends Object implements AtlasSource.SpriteRegion
Mappings:
Namespace Name
official gfb$b
intermediary net/minecraft/class_7957$class_7960
named net/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion
  • Field Details

    • sprite

      private final Sprite sprite
      Mappings:
      Namespace Name Mixin selector
      official a Lgfb$b;a:Lgex;
      intermediary field_41421 Lnet/minecraft/class_7957$class_7960;field_41421:Lnet/minecraft/class_7958;
      named sprite Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;sprite:Lnet/minecraft/client/texture/atlas/Sprite;
    • region

      private final UnstitchAtlasSource.Region region
      Mappings:
      Namespace Name Mixin selector
      official b Lgfb$b;b:Lgfb$a;
      intermediary field_41422 Lnet/minecraft/class_7957$class_7960;field_41422:Lnet/minecraft/class_7957$class_7959;
      named region Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;region:Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$Region;
    • divisorX

      private final double divisorX
      Mappings:
      Namespace Name Mixin selector
      official c Lgfb$b;c:D
      intermediary field_41423 Lnet/minecraft/class_7957$class_7960;field_41423:D
      named divisorX Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;divisorX:D
    • divisorY

      private final double divisorY
      Mappings:
      Namespace Name Mixin selector
      official d Lgfb$b;d:D
      intermediary field_41424 Lnet/minecraft/class_7957$class_7960;field_41424:D
      named divisorY Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;divisorY:D
  • Constructor Details

    • SpriteRegion

      SpriteRegion(Sprite sprite, UnstitchAtlasSource.Region region, double divisorX, double divisorY)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgfb$b;<init>(Lgex;Lgfb$a;DD)V
      intermediary <init> Lnet/minecraft/class_7957$class_7960;<init>(Lnet/minecraft/class_7958;Lnet/minecraft/class_7957$class_7959;DD)V
      named <init> Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;<init>(Lnet/minecraft/client/texture/atlas/Sprite;Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$Region;DD)V
  • Method Details

    • apply

      public SpriteContents apply(SpriteOpener spriteOpener)
      Specified by:
      apply in interface Function<SpriteOpener,SpriteContents>
      Mappings:
      Namespace Name Mixin selector
      official a Lgfb$b;a(Lgeq;)Lgeh;
      intermediary method_47700 Lnet/minecraft/class_7957$class_7960;method_47700(Lnet/minecraft/class_8684;)Lnet/minecraft/class_7764;
      named apply Lnet/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion;apply(Lnet/minecraft/client/texture/SpriteOpener;)Lnet/minecraft/client/texture/SpriteContents;
    • close

      public void close()
      Specified by:
      close in interface AtlasSource.SpriteRegion
      Mappings:
      Namespace Name Mixin selector
      official a Lger$b;a()V
      intermediary method_47676 Lnet/minecraft/class_7948$class_7950;method_47676()V
      named close Lnet/minecraft/client/texture/atlas/AtlasSource$SpriteRegion;close()V