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
official ehk$c
intermediary net/minecraft/class_1011$class_1014
named net/minecraft/client/texture/NativeImage$WriteCallback
  • Field Details

    • channel

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

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

    • WriteCallback

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

    • invoke

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

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