16 lines
426 B
Java
16 lines
426 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package net.minecraft.commands.execution;
|
|
|
|
import net.minecraft.commands.execution.EntryAction;
|
|
import net.minecraft.commands.execution.ExecutionContext;
|
|
import net.minecraft.commands.execution.Frame;
|
|
|
|
public record CommandQueueEntry<T>(Frame frame, EntryAction<T> action) {
|
|
public void execute(ExecutionContext<T> context) {
|
|
this.action.execute(context, this.frame);
|
|
}
|
|
}
|
|
|