Class MinecraftMixin

java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<R>
net.minecraft.util.thread.ReentrantBlockableEventLoop<Runnable>
com.stereowalker.unionlib.mixin.client.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
    Modifier and Type
    Field
    Description
    net.minecraft.client.player.LocalPlayer
     
    net.minecraft.client.gui.screens.Screen
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleKeybinds_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    init_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    resizeDisplay_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    setScreen_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, scheduleExecutables

    Methods 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, wrapRunnable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.util.thread.ProcessorHandle

    ask, askEither, close

    Methods 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

      public MinecraftMixin(String p_18765_)
  • 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)