Class MinecraftMixin

java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<Runnable>
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.TaskScheduler<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.gui.Gui
     
    net.minecraft.client.player.LocalPlayer
     

    Fields inherited from class net.minecraft.util.thread.BlockableEventLoop

    BLOCK_TIME_NANOS
  • Constructor Summary

    Constructors
    Constructor
    Description
    MinecraftMixin(String name, boolean propagatesCrashes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleKeybinds_inject(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

    delayCrash, dropAllTasks, execute, executeBlocking, executeIfPossible, getPendingTasksCount, getRunningThread, isNonRecoverable, isSameThread, managedBlock, name, pollTask, profiledMetrics, relayDelayCrash, runAllTasks, schedule, shouldRun, shouldRunAllTasks, submit, submit, submitAsync, waitForTasks

    Methods inherited from class Object

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

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

    close, scheduleWithResult, wrapRunnable

    Methods inherited from interface com.mojang.blaze3d.platform.WindowEventHandler

    cursorEntered, framebufferSizeChanged, resizeGui
  • Field Details

    • player

      @Nullable public net.minecraft.client.player.LocalPlayer player
    • gui

      public net.minecraft.client.gui.Gui gui
  • Constructor Details

    • MinecraftMixin

      public MinecraftMixin(String name, boolean propagatesCrashes)
  • Method Details

    • handleKeybinds_inject

      public void handleKeybinds_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)