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, CallbackI.V, NativeResource, Pointer
Enclosing class:
NativeImage

@Environment(CLIENT) private static class NativeImage.WriteCallback extends STBIWriteCallback
Mappings:
Namespace Name
official dpl$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 Ldpl$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 Ldpl$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

  • Method Details

    • invoke

      public void invoke(long context, long data, int size)
      Mappings:
      Namespace Name Mixin selector
      official invoke Ldpl$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 Ldpl$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