Package net.minecraft.client.texture
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) static class NativeImage.WriteCallback extends STBIWriteCallback
- Mappings:
Namespace Name official dky$c
intermediary net/minecraft/class_1011$class_1014
named net/minecraft/client/texture/NativeImage$WriteCallback
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
Fields Modifier and Type Field Description private WritableByteChannel
channel
private IOException
exception
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
Fields inherited from interface org.lwjgl.stb.STBIWriteCallbackI
SIGNATURE
-
Constructor Summary
Constructors Modifier Constructor Description private
WriteCallback(WritableByteChannel channel)
-
Method Summary
Modifier and Type Method Description void
invoke(long context, long data, int size)
void
throwStoredException()
Methods inherited from class org.lwjgl.stb.STBIWriteCallback
create, create, createSafe, getData
Methods inherited from class org.lwjgl.system.Callback
__stdcall, address, equals, free, free, get, getSafe, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.lwjgl.system.NativeResource
close
Methods inherited from interface org.lwjgl.stb.STBIWriteCallbackI
callback, getSignature
-
Field Details
-
channel
- Mappings:
Namespace Name Mixin selector official a
Ldky$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
- Mappings:
Namespace Name Mixin selector official b
Ldky$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
- Mappings:
Namespace Name Mixin selector official <init>
Ldky$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
Ldky$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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldky$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
-