Class ElementCommand
java.lang.Object
io.github.xrickastley.sevenelements.command.ElementCommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intapplyDuration(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intapplyGaugeUnit(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intinfuseDuration(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intinfuseGaugeUnit(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intinfuseRemove(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intqueryElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intqueryElements(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) private static intreduceElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) private static intremoveElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context)
-
Constructor Details
-
ElementCommand
public ElementCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) -
applyGaugeUnit
private static int applyGaugeUnit(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
applyDuration
private static int applyDuration(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
removeElement
private static int removeElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
reduceElement
private static int reduceElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
queryElements
private static int queryElements(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
queryElement
private static int queryElement(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
infuseGaugeUnit
private static int infuseGaugeUnit(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
infuseDuration
private static int infuseDuration(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
infuseRemove
private static int infuseRemove(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-