Skip to content
Success

Changes

Summary

  1. Add CrackShot support. (#323) (commit: 988272b) (details)
Commit 988272b200c65f26805750cd46dec8b39a861f65 by noreply
Add CrackShot support. (#323)

* Add CrackShot support.
Add <crackshot.get_weapon[<weapon_name>]> to retrieve an ItemTag for the weapon specified.
Add ItemTag.crackshot_name to retrieve the CrackShot weapon title.
Add EntityTag.shot_from to retrieve the CrackShot weapon title that the projectile was shot from.
Add Events for:
- Projectile Fired
- Starting to Fire
- While Firing
- Toggling Weapon Attachments
- Entity Damaged by CrackShot weapon
- Landmine Placed
- Landmine Triggered
- Reload Start
- Reload Finish
- Crackshot Weapon Explosions

* Slight reformat to match mcmonkey's comments.

* Changed URL formatting

* Change 'weapon_name' to just 'weapon'

* Remove redundant PlayerTag objects

* More Fix

* More fix

* `, getTagContext(string, path);`

Fixes #317
(commit: 988272b)
The file was modifiedDocs/BukkitPlugins.md (diff)
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerTogglesWeaponAttachmentEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/properties/crackshot/CrackShotEntityProperties.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerPlacesLandmineEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerStartsReloadingWeaponEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerZoomsWeaponScopeEvent.java
The file was addedlib/CrackShot.jar
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/bridges/CrackShotBridge.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotWeaponDamageEntityEvent.java
The file was modifiedsrc/main/java/com/denizenscript/depenizen/bukkit/Depenizen.java (diff)
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotWeaponCausesExplosionEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/properties/crackshot/CrackShotItemProperties.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerFinishesReloadingWeaponEvent.java
The file was modifiedpom.xml (diff)
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerStartsFiringWeaponEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotLandmineTriggerEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerFiresProjectileEvent.java
The file was addedsrc/main/java/com/denizenscript/depenizen/bukkit/events/crackshot/CrackShotPlayerFiresAutomaticWeaponEvent.java