Skip to content

DataSpell location elements - #1097

Merged
JasperLorelai merged 6 commits into
TheComputerGeek2:mainfrom
DragonsAscent:main
Aug 26, 2026
Merged

DataSpell location elements#1097
JasperLorelai merged 6 commits into
TheComputerGeek2:mainfrom
DragonsAscent:main

Conversation

@DragonsAscent

Copy link
Copy Markdown
Collaborator

Support for targeting both entities and locations:

  • DataSpell now implements TargetedLocationSpell and can cast spells at both entities and locations.
  • Added logic to cast to check for an entity target first, then fall back to a block location target if no entity is found.

Copilot AI lite review requested due to automatic review settings August 23, 2026 16:49

This comment was marked as resolved.

Comment thread core/src/main/java/com/nisovin/magicspells/spells/targeted/DataSpell.java Outdated
Comment thread core/src/main/java/com/nisovin/magicspells/util/data/DataLocation.java Outdated
Comment thread core/src/main/java/com/nisovin/magicspells/util/data/DataLocation.java Outdated
@JasperLorelai

Copy link
Copy Markdown
Collaborator

Since this is an atomic PR (self-contained), you don't need to clear up history because we can merge with squash.

DragonsAscent and others added 4 commits August 24, 2026 01:59
…aSpell.java

Co-authored-by: JasperLorelai <contact@jasperlorelai.eu>
…aSpell.java

Co-authored-by: JasperLorelai <contact@jasperlorelai.eu>
…ion.java

Co-authored-by: JasperLorelai <contact@jasperlorelai.eu>
…ion.java

Co-authored-by: JasperLorelai <contact@jasperlorelai.eu>
Comment thread core/src/main/java/com/nisovin/magicspells/util/data/DataLocation.java Outdated

@JasperLorelai JasperLorelai left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now imo, but since we're just about to release, we could delay this for B20?

@JasperLorelai JasperLorelai changed the title feat: Enhance DataSpell DataSpell location elements Aug 26, 2026
@JasperLorelai
JasperLorelai merged commit 110b359 into TheComputerGeek2:main Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants