Contents
Class PrefabEditUpdateBoxCommand
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.builtin.buildertools.prefabeditor.commands.PrefabEditUpdateBoxCommand
Command to update the bounding box of a selected prefab to match the player's current selection.
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractCommand
AbstractCommand.SuggestionOverrideEntry -
Field Summary
Fields inherited from class AbstractCommand
EMPTY_STRING_ARRAY, LOGGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisLocationWithinSelection(org.joml.Vector3i location, BlockSelection selection) Determines whether the given location is within the given block selection.Methods inherited from class AbstractAsyncCommand
runAsyncMethods inherited from class AbstractCommand
acceptCall, addAliases, addSubCommand, addUsageVariant, completeRegistration, countParents, getAliases, getDescription, getFullyQualifiedName, getName, getOptionalArgument, getOptionalArguments, getOwner, getPermission, getPermissionGroups, getPermissionGroupsRecursive, getRequiredArguments, getSubCommand, getSubCommands, getSuggestionOverrides, getUsageShort, getUsageString, getVariantByArgCount, getVariantCommands, hasBeenRegistered, hasPermission, isVariant, matches, putRecursivePermissionGroups, requireNoPermission, requirePermission, requirePermission, setAllowsExtraArguments, setOwner, withDefaultArg, withDefaultArg, withFlagArg, withListDefaultArg, withListOptionalArg, withListRequiredArg, withOptionalArg, withOptionalArg, withRequiredArg, withRequiredArg
-
Constructor Details
-
PrefabEditUpdateBoxCommand
public PrefabEditUpdateBoxCommand()Default Constructor for aPrefabEditUpdateBoxCommandinstance.
-
-
Method Details
-
isLocationWithinSelection
public boolean isLocationWithinSelection(@Nonnull org.joml.Vector3i location, @Nonnull BlockSelection selection) Determines whether the given location is within the given block selection.- Parameters:
location- The location to check.selection- The block selection to check against.- Returns:
trueif the location is within the selection,falseotherwise.
-