Class NPCSpawnCommand
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.AbstractPlayerCommand
com.hypixel.hytale.server.npc.commands.NPCSpawnCommand
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OptionalArg<String> private final FlagArgprivate final OptionalArg<Integer> private final FlagArgprivate final OptionalArg<String> private final OptionalArg<String> private final FlagArgprivate final OptionalArg<String> private final FlagArgprivate static final doubleprivate final OptionalArg<String> private final OptionalArg<String> private final OptionalArg<Double> private final FlagArgprivate final FlagArgprivate final RequiredArg<BuilderInfo> private final OptionalArg<Float> private final FlagArgprivate final OptionalArg<Double> private final FlagArgFields 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, Store<EntityStore> store, Ref<EntityStore> ref, PlayerRef playerRef, World world) private IntegerparseFlockSize(CommandContext context, String str) private Vector3dparseVector3d(CommandContext context, String str) private Vector3fparseVector3f(CommandContext context, String str) Methods inherited from class com.hypixel.hytale.server.core.command.system.basecommands.AbstractPlayerCommand
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
-
PLAYER_FOOT_POINT_EPSILON
private static final double PLAYER_FOOT_POINT_EPSILON- See Also:
-
roleArg
-
countArg
-
radiusArg
-
flagsArg
-
speedArg
-
nonRandomArg
-
positionSetArg
-
posOffsetArg
-
headRotationArg
-
bodyRotationArg
-
randomRotationArg
-
facingRotationArg
-
flockArg
-
testArg
-
spawnOnGroundArg
-
frozenArg
-
randomModelArg
-
scaleArg
-
bypassScaleLimitsArg
-
-
Constructor Details
-
NPCSpawnCommand
public NPCSpawnCommand()
-
-
Method Details
-
execute
protected void execute(@Nonnull CommandContext context, @Nonnull Store<EntityStore> store, @Nonnull Ref<EntityStore> ref, @Nonnull PlayerRef playerRef, @Nonnull World world) - Specified by:
executein classAbstractPlayerCommand
-
parseVector3d
-
parseVector3f
-
parseFlockSize
-