Class CameraEffectCommand.DamageCommand
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.AbstractTargetPlayerCommand
com.hypixel.hytale.builtin.adventure.camera.command.CameraEffectCommand.DamageCommand
- Enclosing class:
CameraEffectCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final RequiredArg<DamageCause> protected static final ArgumentType<DamageCause> protected final RequiredArg<Float> protected final OptionalArg<CameraEffect> Fields inherited from class com.hypixel.hytale.server.core.command.system.AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(CommandContext context, Ref<EntityStore> sourceRef, Ref<EntityStore> ref, PlayerRef playerRef, World world, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractTargetPlayerCommand
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
-
DAMAGE_CAUSE_ARGUMENT_TYPE
-
effectArg
-
causeArg
-
damageArg
-
-
Constructor Details
-
DamageCommand
public DamageCommand()
-
-
Method Details
-
execute
protected void execute(@NonNullDecl CommandContext context, @NullableDecl Ref<EntityStore> sourceRef, @NonNullDecl Ref<EntityStore> ref, @NonNullDecl PlayerRef playerRef, @NonNullDecl World world, @NonNullDecl Store<EntityStore> store) - Specified by:
executein classAbstractTargetPlayerCommand
-