Class PrefabEditUpdateBoxCommand


public class PrefabEditUpdateBoxCommand extends AbstractPlayerCommand
Command to update the bounding box of a selected prefab to match the player's current selection.
  • Constructor Details

  • 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:
      true if the location is within the selection, false otherwise.