public class PrefabEditUpdateBoxCommand extends AbstractPlayerCommand
Command for prefabeditupdatebo operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > PrefabEditUpdateBoxCommand
Field Summary
playerComponent
final
Player
playerComponent
Field playerComponent.
playerUUID
final
UUID
playerUUID
Field playerUUID.
prefabEditSessionManager
final
PrefabEditSessionManager
prefabEditSessionManager
Field prefabEditSessionManager.
prefabEditSession
final
PrefabEditSession
prefabEditSession
Field prefabEditSession.
selectedPrefab
final
PrefabEditingMetadata
selectedPrefab
Field selectedPrefab.
currSelection
final
BlockSelection
currSelection
Field currSelection.
finalDidMoveAnchor
final
boolean
finalDidMoveAnchor
Field finalDidMoveAnchor.
selection
final
BlockSelection
selection
Field selection.
selectionMin
final
Vector3i
selectionMin
Field selectionMin.
selectionMax
final
Vector3i
selectionMax
Field selectionMax.
Method Detail
PrefabEditUpdateBoxCommand
public
public
PrefabEditUpdateBoxCommand
()
Method PrefabEditUpdateBoxCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
isLocationWithinSelection
public
boolean
isLocationWithinSelection
(@Nonnull final Vector3i location, @Nonnull final BlockSelection selection)
Method isLocationWithinSelection.
- Parameters:
@Nonnull final Vector3ilocation@Nonnull final BlockSelectionselection