Class GeyserFabricCommandExecutor
java.lang.Object
org.geysermc.geyser.command.GeyserCommandExecutor
org.geysermc.geyser.platform.fabric.command.GeyserFabricCommandExecutor
- All Implemented Interfaces:
com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
public class GeyserFabricCommandExecutor
extends org.geysermc.geyser.command.GeyserCommandExecutor
implements com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
-
Field Summary
Fields inherited from class org.geysermc.geyser.command.GeyserCommandExecutor
geyserFields inherited from interface com.mojang.brigadier.Command
SINGLE_SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionGeyserFabricCommandExecutor(org.geysermc.geyser.GeyserImpl connector, org.geysermc.geyser.command.GeyserCommand command) -
Method Summary
Modifier and TypeMethodDescriptionintrun(com.mojang.brigadier.context.CommandContext context)booleantestPermission(net.minecraft.commands.CommandSourceStack source)Methods inherited from class org.geysermc.geyser.command.GeyserCommandExecutor
getCommand, getGeyserSession, tabComplete
-
Constructor Details
-
GeyserFabricCommandExecutor
public GeyserFabricCommandExecutor(org.geysermc.geyser.GeyserImpl connector, org.geysermc.geyser.command.GeyserCommand command)
-
-
Method Details
-
testPermission
public boolean testPermission(net.minecraft.commands.CommandSourceStack source) -
run
public int run(com.mojang.brigadier.context.CommandContext context)- Specified by:
runin interfacecom.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
-