Skip to content
Success

Changes

Summary

  1. Clean up Switch command code that used to make grown men blush. (commit: 0e3374e) (details)
  2. Clean up Equip command. (commit: 0fd7d92) (details)
  3. Add Target argument to Spawn command to set a target for the entity to (commit: bbda273) (details)
  4. Make Spawn's Target argument also work on creatures with old AI. (commit: 127c663) (details)
  5. Make Health trait use Bukkit health values instead of own internal (commit: 0894f5f) (details)
  6. Add getClosestPlayer() utility. Add <npc.closest.player> tag. (commit: af7e644) (details)
  7. Add Player argument to Shoot command, thus allowing entities to be shot (commit: 204b393) (details)
  8. Add basic collision detection to Shoot command, thus belatedly almost (commit: 710aa41) (details)
  9. Make <npc.health> and <npc.health.max> not require the Health trait. (commit: 5b9f053) (details)
Commit 0e3374e9966c7b24140d325fcdaf889d00de3852 by davidcernat
Clean up Switch command code that used to make grown men blush.
(commit: 0e3374e)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SwitchCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/EquipCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SpawnCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SwitchCommand.java (diff)
Commit bbda2738edffccc7749f2682a3a6120ba74d61e4 by davidcernat
Add Target argument to Spawn command to set a target for the entity to attack. Example usage: - spawn entity:iron_golem target:n@2
(commit: bbda273)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/EquipCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SpawnCommand.java (diff)
Commit 127c6638ad4cbfe102012599218b4b6304d945dc by davidcernat
Make Spawn's Target argument also work on creatures with old AI.
(commit: 127c663)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SpawnCommand.java (diff)
Commit 0894f5ff19e91bd79edcff47502c948121c328ca by davidcernat
Make Health trait use Bukkit health values instead of own internal values now that Bukkit supports setting health higher than 20.
(commit: 0894f5f)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/npc/traits/HealthTrait.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/SpawnCommand.java (diff)
Commit af7e6445fb8646a6ca51ff6a29582c7755c40c75 by davidcernat
Add getClosestPlayer() utility. Add <npc.closest.player> tag.
(commit: af7e644)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/NPCTags.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/npc/traits/HealthTrait.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/utilities/Utilities.java (diff)
Commit 204b393ffe310cfb87f694024e7674d834f5562a by davidcernat
Add Player argument to Shoot command, thus allowing entities to be shot by players.
(commit: 204b393)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/ShootCommand.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/LookCommand.java (diff)
Commit 710aa412106deb8017fd0c1a0a0455dc3ff2ca8d by davidcernat
Add basic collision detection to Shoot command, thus belatedly almost turning it into a serious command that decent people might use.
(commit: 710aa41)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/scripts/commands/core/ShootCommand.java (diff)
Commit 5b9f053c4bbcbf009fb306dda20dacdc8777bb73 by davidcernat
Make <npc.health> and <npc.health.max> not require the Health trait.
(commit: 5b9f053)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/npc/traits/HealthTrait.java (diff)
The file was modifiedsrc/main/java/net/aufdemrand/denizen/tags/core/NPCTags.java (diff)