Class PrefabSpawnerSetCommand
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.modules.prefabspawner.commands.TargetPrefabSpawnerCommand
com.hypixel.hytale.server.core.modules.prefabspawner.commands.PrefabSpawnerSetCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final OptionalArg<Double> protected final OptionalArg<Boolean> protected final OptionalArg<Boolean> protected final OptionalArg<Boolean> private static final Messageprotected final RequiredArg<String> Fields inherited from class com.hypixel.hytale.server.core.modules.prefabspawner.commands.TargetPrefabSpawnerCommand
positionArgFields 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, WorldChunk chunk, com.hypixel.hytale.server.core.modules.prefabspawner.PrefabSpawnerState prefabSpawner) protected static booleangetOrDefault(OptionalArg<Boolean> arg, CommandContext context, boolean defaultValue) Methods inherited from class com.hypixel.hytale.server.core.modules.prefabspawner.commands.TargetPrefabSpawnerCommand
executeMethods 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
-
MESSAGE_COMMANDS_PREFAB_SPAWNER_SET
-
prefabPathArg
-
fitHeightmapArg
-
inheritSeedArg
-
inheritHeightCheckArg
-
defaultWeightArg
-
-
Constructor Details
-
PrefabSpawnerSetCommand
public PrefabSpawnerSetCommand()
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull WorldChunk chunk, @Nonnull com.hypixel.hytale.server.core.modules.prefabspawner.PrefabSpawnerState prefabSpawner) - Specified by:
executein classTargetPrefabSpawnerCommand
-
getOrDefault
protected static boolean getOrDefault(@Nonnull OptionalArg<Boolean> arg, @Nonnull CommandContext context, boolean defaultValue)
-