Class BukkitSource
java.lang.Object
one.tranic.t.bukkit.command.source.BukkitSource
- All Implemented Interfaces:
one.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
public class BukkitSource
extends Object
implements one.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintargSize()@Nullable BukkitPlayerasPlayer()voidvoidString[]getArgs()@Nullable Localeone.tranic.t.base.command.Operatororg.bukkit.command.CommandSenderbooleanhasPermission(String permission) voidhideBossBar(@NotNull net.kyori.adventure.bossbar.BossBar bossBar) booleanisPlayer()voidsendMessage(@NotNull net.kyori.adventure.text.Component message) voidsendMessage(String message) voidshowBossBar(@NotNull net.kyori.adventure.bossbar.BossBar bossBar) voidshowTitle(@NotNull net.kyori.adventure.title.Title title) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface one.tranic.t.base.command.source.CommandSource
isBedrockPlayer
-
Constructor Details
-
BukkitSource
-
-
Method Details
-
getOperator
public one.tranic.t.base.command.Operator getOperator()- Specified by:
getOperatorin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
getSource
public org.bukkit.command.CommandSender getSource()- Specified by:
getSourcein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
isPlayer
public boolean isPlayer()- Specified by:
isPlayerin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
getArgs
- Specified by:
getArgsin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
argSize
public int argSize()- Specified by:
argSizein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
getLocale
- Specified by:
getLocalein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
hasPermission
- Specified by:
hasPermissionin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
sendMessage
- Specified by:
sendMessagein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
sendMessage
public void sendMessage(@NotNull @NotNull net.kyori.adventure.text.Component message) - Specified by:
sendMessagein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
showBossBar
public void showBossBar(@NotNull @NotNull net.kyori.adventure.bossbar.BossBar bossBar) - Specified by:
showBossBarin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
hideBossBar
public void hideBossBar(@NotNull @NotNull net.kyori.adventure.bossbar.BossBar bossBar) - Specified by:
hideBossBarin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
clearBossBars
public void clearBossBars()- Specified by:
clearBossBarsin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
showTitle
public void showTitle(@NotNull @NotNull net.kyori.adventure.title.Title title) - Specified by:
showTitlein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
clearTitle
public void clearTitle()- Specified by:
clearTitlein interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-
asPlayer
- Specified by:
asPlayerin interfaceone.tranic.t.base.command.source.CommandSource<org.bukkit.command.CommandSender,org.bukkit.entity.Player>
-