Class LightingSendToggleCommand
java.lang.Object
com.hypixel.hytale.server.core.command.system.AbstractCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
com.hypixel.hytale.server.core.command.system.basecommands.AbstractWorldCommand
com.hypixel.hytale.server.core.command.commands.utility.lighting.LightingSendToggleCommand
- Direct Known Subclasses:
LightingSendCommand.LightingSendGlobalCommand,LightingSendCommand.LightingSendLocalCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OptionalArg<Boolean> private final BooleanSupplierprivate final StringFields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLightingSendToggleCommand(String name, String description, String enabledDesc, String statusTranslationKey, BooleanSupplier getter, Consumer<Boolean> setter) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(CommandContext context, World world, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractWorldCommand
executeAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractAsyncCommand
execute, runAsyncMethods inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, canGeneratePermission, completeRegistration, countParents, generatePermissionNode, getAliases, getDescription, getFullyQualifiedName, getName, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommands, getUsageShort, getUsageString, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requirePermission, setAllowsExtraArguments, setOwner, setPermissionGroup, setPermissionGroups, setUnavailableInSingleplayer, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Field Details
-
statusTranslationKey
-
getter
-
setter
-
enabledArg
-
-
Constructor Details
-
LightingSendToggleCommand
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull World world, @Nonnull Store<EntityStore> store) - Specified by:
executein classAbstractWorldCommand
-