BuilderToolsPlugin.QueuedTask
Package: com.hypixel.hytale.builtin.buildertools
private static final class QueuedTaskPrivate wrapper class for asynchronous builder tool operations queued for execution on the world thread. Each task holds a ThrowableTriConsumer that receives a player entity ref, the builder state, and a component accessor.
Constructor
Section titled “Constructor”private QueuedTask( @Nonnull ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, ? extends Throwable> biTask)Methods
Section titled “Methods”execute
Section titled “execute”void execute( @Nonnull Ref<EntityStore> ref, @Nonnull BuilderToolsPlugin.BuilderState state, @Nonnull ComponentAccessor<EntityStore> defaultComponentAccessor) throws ThrowableExecutes the wrapped task by calling task.acceptNow() with the given arguments.
Visibility
Section titled “Visibility”This class has private visibility and is only accessible within BuilderToolsPlugin.
Related Types
Section titled “Related Types”- BuilderToolsPlugin.BuilderState — creates and dequeues these tasks
- BuilderToolsPlugin — enclosing class
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.