Class MinecraftMixin
- All Implemented Interfaces:
com.mojang.blaze3d.platform.WindowEventHandler,AutoCloseable,Executor,net.minecraft.util.profiling.metrics.ProfilerMeasured,net.minecraft.util.thread.ProcessorHandle<Runnable>
public abstract class MinecraftMixin
extends net.minecraft.util.thread.ReentrantBlockableEventLoop<Runnable>
implements com.mojang.blaze3d.platform.WindowEventHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleKeybinds_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidinit_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidresizeDisplay_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) voidsetScreen_inject(net.minecraft.client.gui.screens.Screen pGuiScreen, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) Methods inherited from class net.minecraft.util.thread.ReentrantBlockableEventLoop
doRunTask, runningTask, scheduleExecutablesMethods inherited from class net.minecraft.util.thread.BlockableEventLoop
dropAllTasks, execute, executeBlocking, executeIfPossible, getPendingTasksCount, getRunningThread, isSameThread, managedBlock, name, pollTask, profiledMetrics, runAllTasks, shouldRun, submit, submit, submitAsync, tell, waitForTasks, wrapRunnableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.util.thread.ProcessorHandle
ask, askEither, closeMethods inherited from interface com.mojang.blaze3d.platform.WindowEventHandler
cursorEntered, resizeDisplay, setWindowActive
-
Field Details
-
player
@Nullable public net.minecraft.client.player.LocalPlayer player -
screen
@Nullable public net.minecraft.client.gui.screens.Screen screen
-
-
Constructor Details
-
MinecraftMixin
-
-
Method Details
-
handleKeybinds_inject
public void handleKeybinds_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
resizeDisplay_inject
public void resizeDisplay_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
setScreen_inject
public void setScreen_inject(@Nullable net.minecraft.client.gui.screens.Screen pGuiScreen, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci) -
init_inject
public void init_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
-