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
named net/minecraft/client/texture/atlas/UnstitchAtlasSource$SpriteRegion
intermediary net/minecraft/class_7957$class_7960
official gpo$b
  • Field Details

    • sprite

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

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

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

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

    • SpriteRegion

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

    • apply

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

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