Class FabricCommandSender
java.lang.Object
org.geysermc.geyser.platform.fabric.command.FabricCommandSender
- All Implemented Interfaces:
org.geysermc.geyser.api.command.CommandSource,org.geysermc.geyser.command.GeyserCommandSource
public class FabricCommandSender
extends Object
implements org.geysermc.geyser.command.GeyserCommandSource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasPermission(String permission)booleanname()voidsendMessage(String message)voidsendMessage(net.kyori.adventure.text.Component message)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.api.command.CommandSource
sendMessageMethods inherited from interface org.geysermc.geyser.command.GeyserCommandSource
locale
-
Constructor Details
-
FabricCommandSender
public FabricCommandSender(net.minecraft.commands.CommandSourceStack source)
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.geysermc.geyser.api.command.CommandSource
-
sendMessage
- Specified by:
sendMessagein interfaceorg.geysermc.geyser.api.command.CommandSource
-
sendMessage
public void sendMessage(net.kyori.adventure.text.Component message)- Specified by:
sendMessagein interfaceorg.geysermc.geyser.command.GeyserCommandSource
-
isConsole
public boolean isConsole()- Specified by:
isConsolein interfaceorg.geysermc.geyser.api.command.CommandSource
-
hasPermission
- Specified by:
hasPermissionin interfaceorg.geysermc.geyser.api.command.CommandSource
-