Class NativeImage.WriteCallback

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.stb.STBIWriteCallback
net.minecraft.client.texture.NativeImage.WriteCallback
All Implemented Interfaces:
AutoCloseable, STBIWriteCallbackI, CallbackI, NativeResource, Pointer
Enclosing class:
NativeImage

@Environment(CLIENT) private static class NativeImage.WriteCallback extends STBIWriteCallback
Mappings:
Namespace Name
named net/minecraft/client/texture/NativeImage$WriteCallback
intermediary net/minecraft/class_1011$class_1014
official ffr$c
  • Field Details

    • channel

      private final WritableByteChannel channel
      Mappings:
      Namespace Name Mixin selector
      named channel Lnet/minecraft/client/texture/NativeImage$WriteCallback;channel:Ljava/nio/channels/WritableByteChannel;
      intermediary field_5018 Lnet/minecraft/class_1011$class_1014;field_5018:Ljava/nio/channels/WritableByteChannel;
      official a Lffr$c;a:Ljava/nio/channels/WritableByteChannel;
    • exception

      @Nullable private @Nullable IOException exception
      Mappings:
      Namespace Name Mixin selector
      named exception Lnet/minecraft/client/texture/NativeImage$WriteCallback;exception:Ljava/io/IOException;
      intermediary field_5019 Lnet/minecraft/class_1011$class_1014;field_5019:Ljava/io/IOException;
      official b Lffr$c;b:Ljava/io/IOException;
  • Constructor Details

    • WriteCallback

      WriteCallback(WritableByteChannel channel)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/texture/NativeImage$WriteCallback;<init>(Ljava/nio/channels/WritableByteChannel;)V
      intermediary <init> Lnet/minecraft/class_1011$class_1014;<init>(Ljava/nio/channels/WritableByteChannel;)V
      official <init> Lffr$c;<init>(Ljava/nio/channels/WritableByteChannel;)V
  • Method Details

    • invoke

      public void invoke(long context, long data, int size)
      Mappings:
      Namespace Name Mixin selector
      named invoke Lnet/minecraft/client/texture/NativeImage$WriteCallback;invoke(JJI)V
      intermediary invoke Lnet/minecraft/class_1011$class_1014;invoke(JJI)V
      official invoke Lffr$c;invoke(JJI)V
    • throwStoredException

      public void throwStoredException() throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named throwStoredException Lnet/minecraft/client/texture/NativeImage$WriteCallback;throwStoredException()V
      intermediary method_4342 Lnet/minecraft/class_1011$class_1014;method_4342()V
      official a Lffr$c;a()V