Package de.z0rdak.yawp.api.commands
Class Commands
java.lang.Object
de.z0rdak.yawp.api.commands.Commands
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringappendSubCommand(String cmd, String... subCommands) static StringbuildAddFlagCommand(IProtectedRegion region, String flag) Command for listing responsible flagsstatic StringbuildAddGroupMemberCommand(IProtectedRegion region, GroupType type, String groupName, String member) static StringbuildAddTeleportAnchorCommand(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos) static StringbuildAdvancedVisualizationShowCommand(IMarkableRegion region, DisplayType displayType, net.minecraft.resources.ResourceLocation block, boolean glow, int lightLevel) static StringbuildCommandStr(String... cmdTokens) static StringbuildDisplayCommand(IMarkableRegion region) static StringbuildDisplaySubCommand(IMarkableRegion region, String subCmd) static StringbuildFlagBaseCmd(IProtectedRegion region, IFlag flag) static StringbuildFlagBaseCmd(IProtectedRegion region, RegionFlag flag) static StringbuildFlagBaseCmd(IProtectedRegion region, String flag) static StringbuildFlagCmd(IProtectedRegion region, String flag, String subCmd) static StringbuildFlagInfoCmd(IProtectedRegion region, String flag) static StringbuildFlagMsgClearCmd(IProtectedRegion region, String flag) static StringbuildFlagMsgCmd(IProtectedRegion region, String flag, String msgSubCmd) static StringbuildFlagMsgMuteToggleCmd(IProtectedRegion region, String flag) static StringbuildFlagMsgSetCmd(IProtectedRegion region, String flag, String msg) static StringbuildFlagOverrideToggleCmd(IProtectedRegion region, String flag) static StringbuildFlagSetStateCmd(IProtectedRegion region, String flag, FlagState state) static StringbuildFlagSuggestStateCmd(IProtectedRegion region, String flag) static StringbuildHideCommand(IMarkableRegion region) static StringbuildHideSubCommand(IMarkableRegion region, String subCmd) static StringbuildHideTpAnchorCommand(IMarkableRegion region, String name) static Stringstatic StringCommand for listing responsible flagsstatic StringbuildListGroupCommand(IProtectedRegion region, String group) static StringbuildListGroupMemberCommand(IProtectedRegion region, String group, GroupType groupType) static StringbuildListLocalRegionCommand(net.minecraft.resources.ResourceLocation levelRl) static StringCommand for listing flags only from the provided regionstatic Stringstatic StringbuildRegionBaseCmd(IProtectedRegion region) static StringbuildRegionCmd(IProtectedRegion region, String subCmd) static StringbuildRegionInfoCmd(IProtectedRegion region) static Stringstatic StringbuildRegionStateCmd(IProtectedRegion region) static Stringstatic StringbuildRemoveGroupMemberCommand(IProtectedRegion region, GroupType type, String groupName, String member) static StringbuildRemoveOfflinePlayerCommand(IProtectedRegion region, String groupName, GroupType type, String player) static StringbuildRemoveTeleportAnchorCommand(IMarkableRegion region, String name) static StringbuildRenameTpAnchorCommand(IMarkableRegion region, String name, String newName) static Stringstatic StringbuildSetDisplayBlockCommand(IMarkableRegion region, net.minecraft.resources.ResourceLocation block) static StringbuildSetDisplayGlowCommand(IMarkableRegion region, boolean on) static Stringstatic StringbuildSetDisplayLightLevelCommand(IMarkableRegion region, int lightLevel) static StringbuildShowCommand(IMarkableRegion region) static StringbuildShowSubCommand(IMarkableRegion region, String subCmd) static StringbuildShowTpAnchorCommand(IMarkableRegion region, String name) static StringbuildSubCmdStr(String... cmdTokens) static Stringstatic StringbuildSuggestRenameTpAnchorCommand(IMarkableRegion region, String name) static StringbuildSuggestUpdateTpAnchorCommand(IMarkableRegion region, String name) static Stringstatic StringbuildTeleportAnchorSubCommand(IMarkableRegion region, String subCmd) static StringbuildTeleportTpAnchorCommand(IMarkableRegion region, String name) static StringbuildUpdateTpAnchorCommand(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos) static StringbuildVisualizationHideCommand(IMarkableRegion region, DisplayType displayType) static Stringstatic Stringstatic StringbuildVisualizationShowCommand(IMarkableRegion region, DisplayType displayType) static Stringstatic String
-
Method Details
-
buildCommandStr
-
buildRegionBaseCmd
-
buildFlagBaseCmd
-
buildFlagBaseCmd
-
buildFlagBaseCmd
-
buildRegionCmd
-
buildFlagCmd
-
buildFlagInfoCmd
-
buildFlagSuggestStateCmd
-
buildFlagSetStateCmd
-
buildFlagOverrideToggleCmd
-
buildFlagMsgCmd
-
buildFlagMsgSetCmd
-
buildFlagMsgClearCmd
-
buildFlagMsgMuteToggleCmd
-
buildRegionInfoCmd
-
buildDisplayCommand
-
buildShowCommand
-
buildShowSubCommand
-
buildHideCommand
-
buildHideSubCommand
-
buildDisplaySubCommand
-
buildSetDisplayBlockCommand
-
buildSetDisplayBlockCommand
public static String buildSetDisplayBlockCommand(IMarkableRegion region, net.minecraft.resources.ResourceLocation block) -
buildSetDisplayGlowCommand
-
buildSetDisplayLightLevelCommand
-
buildSetDisplayLightLevelCommand
-
buildVisualizationHideCommand
-
buildVisualizationShowCommand
-
buildAdvancedVisualizationShowCommand
public static String buildAdvancedVisualizationShowCommand(IMarkableRegion region, DisplayType displayType, net.minecraft.resources.ResourceLocation block, boolean glow, int lightLevel) -
buildVisualizationHideHierarchyCommand
-
buildVisualizationShowHierarchyCommand
-
buildVisualizationHideIntersectingCommand
-
buildVisualizationShowIntersectingCommand
-
buildRegionStateCmd
-
buildRegionStateEnableToggleCmd
-
buildRegionStateAlertToggleCmd
-
buildRemoveGroupMemberCommand
public static String buildRemoveGroupMemberCommand(IProtectedRegion region, GroupType type, String groupName, String member) -
buildRemoveOfflinePlayerCommand
public static String buildRemoveOfflinePlayerCommand(IProtectedRegion region, String groupName, GroupType type, String player) -
buildAddGroupMemberCommand
public static String buildAddGroupMemberCommand(IProtectedRegion region, GroupType type, String groupName, String member) -
buildSubCmdStr
-
appendSubCommand
-
buildListFlagsCommand
Command for listing responsible flags -
buildListRegionFlagsCommand
Command for listing flags only from the provided region -
buildAddFlagCommand
Command for listing responsible flags -
buildListTeleportAnchorCommand
-
buildTeleportAnchorCommand
-
buildTeleportAnchorSubCommand
-
buildTeleportTpAnchorCommand
-
buildShowTpAnchorCommand
-
buildHideTpAnchorCommand
-
buildSuggestRenameTpAnchorCommand
-
buildRenameTpAnchorCommand
public static String buildRenameTpAnchorCommand(IMarkableRegion region, String name, String newName) -
buildSuggestUpdateTpAnchorCommand
-
buildUpdateTpAnchorCommand
public static String buildUpdateTpAnchorCommand(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos) -
buildAddTeleportAnchorCommand
public static String buildAddTeleportAnchorCommand(IMarkableRegion region, String name, net.minecraft.core.BlockPos pos) -
buildSuggestAddTeleportAnchorCommand
-
buildRemoveTeleportAnchorCommand
-
buildListLocalRegionCommand
-
buildListGroupMemberCommand
public static String buildListGroupMemberCommand(IProtectedRegion region, String group, GroupType groupType) -
buildListGroupCommand
-
buildListChildRegionCommand
-