Skip to content

BuilderToolsPlugin.QueuedTask

Package: com.hypixel.hytale.builtin.buildertools

private static final class QueuedTask

Private 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.

private QueuedTask(
@Nonnull ThrowableTriConsumer<Ref<EntityStore>, BuilderToolsPlugin.BuilderState, ComponentAccessor<EntityStore>, ? extends Throwable> biTask
)
void execute(
@Nonnull Ref<EntityStore> ref,
@Nonnull BuilderToolsPlugin.BuilderState state,
@Nonnull ComponentAccessor<EntityStore> defaultComponentAccessor
) throws Throwable

Executes the wrapped task by calling task.acceptNow() with the given arguments.

This class has private visibility and is only accessible within BuilderToolsPlugin.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.