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

    geyser

    Fields inherited from interface com.mojang.brigadier.Command

    SINGLE_SUCCESS
  • Constructor Summary

    Constructors
    Constructor
    Description
    GeyserFabricCommandExecutor(org.geysermc.geyser.GeyserImpl connector, org.geysermc.geyser.command.GeyserCommand command)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    run(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context)
     
    int
    runWithArgs(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String args)
     
    boolean
    testPermission(net.minecraft.commands.CommandSourceStack source)
     

    Methods inherited from class org.geysermc.geyser.command.GeyserCommandExecutor

    getCommand, getGeyserSession, tabComplete

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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<net.minecraft.commands.CommandSourceStack> context)
      Specified by:
      run in interface com.mojang.brigadier.Command<net.minecraft.commands.CommandSourceStack>
    • runWithArgs

      public int runWithArgs(com.mojang.brigadier.context.CommandContext<net.minecraft.commands.CommandSourceStack> context, String args)