Class MinecraftServerMixin

java.lang.Object
net.minecraft.util.thread.BlockableEventLoop<net.minecraft.server.TickTask>
net.minecraft.util.thread.ReentrantBlockableEventLoop<net.minecraft.server.TickTask>
com.stereowalker.unionlib.mixin.MinecraftServerMixin
All Implemented Interfaces:
AutoCloseable, Executor, net.minecraft.commands.CommandSource, net.minecraft.util.profiling.metrics.ProfilerMeasured, net.minecraft.util.thread.TaskScheduler<net.minecraft.server.TickTask>

public abstract class MinecraftServerMixin extends net.minecraft.util.thread.ReentrantBlockableEventLoop<net.minecraft.server.TickTask> implements net.minecraft.commands.CommandSource, AutoCloseable
  • Field Summary

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

    BLOCK_TIME_NANOS

    Fields inherited from interface net.minecraft.commands.CommandSource

    NULL
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    void
    createLevels_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
     
    void
    setScreen_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.commands.CommandSource

    acceptsFailure, acceptsSuccess, alwaysAccepts, sendSystemMessage, shouldInformAdmins

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

    close, scheduleWithResult, wrapRunnable
  • Constructor Details

    • MinecraftServerMixin

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

    • createLevels_inject

      public void createLevels_inject(org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci)
    • setScreen_inject

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