Spaces:
Build error
Build error
package net.minecraft.commands.execution; | |
import javax.annotation.Nullable; | |
import net.minecraft.commands.ExecutionCommandSource; | |
public interface ExecutionControl<T> { | |
void queueNext(EntryAction<T> p_309475_); | |
void tracer(; TraceCallbacks p_309557_) | |
TraceCallbacks tracer(); | |
Frame currentFrame(); | |
static <T extends ExecutionCommandSource<T>> ExecutionControl<T> create(final ExecutionContext<T> p_310088_, final Frame p_312154_) { | |
return new ExecutionControl<T>() { | |
public void queueNext(EntryAction<T> p_311389_) { | |
p_310088_.queueNext(new CommandQueueEntry<>(p_312154_, p_311389_)); | |
} | |
public void tracer( { TraceCallbacks p_313185_) | |
p_310088_.tracer(p_313185_); | |
} | |
public TraceCallbacks tracer() { | |
return p_310088_.tracer(); | |
} | |
public Frame currentFrame() { | |
return p_312154_; | |
} | |
}; | |
} | |
} |