Skip to content

Commit e5eae21

Browse files
committed
fix issues #256 and #287
1 parent 8bc648e commit e5eae21

File tree

5 files changed

+79
-29
lines changed

5 files changed

+79
-29
lines changed

build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
scriptcraft-version=3.1.12
1+
scriptcraft-version=3.2.0

build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<!-- compiles against these libraries -->
1414
<property name="lib.canary" location="lib/canarymod-1.8.0.jar"/>
15-
<property name="lib.bukkit" location="lib/spigot-1.8.8.jar"/>
15+
<property name="lib.bukkit" location="lib/spigot-1.9.jar"/>
1616

1717
<property name="build" location="target/classes"/>
1818
<property name="dist" location="target/" />

docs/API-Reference.md

Lines changed: 70 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,6 @@ Walter Higgins
185185
* [events.vehicleDamage()](#eventsvehicledamage-1)
186186
* [events.vehicleUpdate()](#eventsvehicleupdate)
187187
* [events.vehicleCreate()](#eventsvehiclecreate)
188-
* [events.paintingBreak()](#eventspaintingbreak)
189-
* [events.paintingBreakByEntity()](#eventspaintingbreakbyentity)
190-
* [events.paintingPlace()](#eventspaintingplace)
191188
* [events.enchantItem()](#eventsenchantitem)
192189
* [events.prepareItemEnchant()](#eventsprepareitemenchant)
193190
* [events.playerInteractEntity()](#eventsplayerinteractentity)
@@ -234,11 +231,13 @@ Walter Higgins
234231
* [events.playerVelocity()](#eventsplayervelocity)
235232
* [events.playerQuit()](#eventsplayerquit)
236233
* [events.playerLogin()](#eventsplayerlogin)
234+
* [events.playerSwapHandItems()](#eventsplayerswaphanditems)
237235
* [events.playerKick()](#eventsplayerkick)
238236
* [events.playerToggleSprint()](#eventsplayertogglesprint)
239237
* [events.playerCommandPreprocess()](#eventsplayercommandpreprocess)
240238
* [events.playerGameModeChange()](#eventsplayergamemodechange)
241239
* [events.furnaceSmelt()](#eventsfurnacesmelt)
240+
* [events.prepareAnvil()](#eventsprepareanvil)
242241
* [events.inventoryDrag()](#eventsinventorydrag)
243242
* [events.craftItem()](#eventscraftitem)
244243
* [events.furnaceBurn()](#eventsfurnaceburn)
@@ -260,6 +259,7 @@ Walter Higgins
260259
* [events.mapInitialize()](#eventsmapinitialize)
261260
* [events.serviceUnregister()](#eventsserviceunregister)
262261
* [events.pluginEnable()](#eventspluginenable-1)
262+
* [events.villagerAcquireTrade()](#eventsvillageracquiretrade)
263263
* [events.playerDeath()](#eventsplayerdeath-1)
264264
* [events.entityCreatePortal()](#eventsentitycreateportal)
265265
* [events.entityCombust()](#eventsentitycombust)
@@ -272,6 +272,7 @@ Walter Higgins
272272
* [events.projectileHit()](#eventsprojectilehit-1)
273273
* [events.foodLevelChange()](#eventsfoodlevelchange)
274274
* [events.itemDespawn()](#eventsitemdespawn)
275+
* [events.villagerReplenishTrade()](#eventsvillagerreplenishtrade)
275276
* [events.entityPortalEnter()](#eventsentityportalenter)
276277
* [events.entityPortal()](#eventsentityportal)
277278
* [events.entityTarget()](#eventsentitytarget)
@@ -286,6 +287,7 @@ Walter Higgins
286287
* [events.entityUnleash()](#eventsentityunleash)
287288
* [events.entityExplode()](#eventsentityexplode)
288289
* [events.entityInteract()](#eventsentityinteract)
290+
* [events.entityToggleGlide()](#eventsentitytoggleglide)
289291
* [events.explosionPrime()](#eventsexplosionprime)
290292
* [events.horseJump()](#eventshorsejump)
291293
* [events.creatureSpawn()](#eventscreaturespawn)
@@ -298,6 +300,7 @@ Walter Higgins
298300
* [events.itemMerge()](#eventsitemmerge)
299301
* [events.slimeSplit()](#eventsslimesplit-1)
300302
* [events.pigZap()](#eventspigzap)
303+
* [events.fireworkExplode()](#eventsfireworkexplode-1)
301304
* [events.potionSplash()](#eventspotionsplash)
302305
* [events.entityChangeBlock()](#eventsentitychangeblock)
303306
* [events.entityPortalExit()](#eventsentityportalexit)
@@ -307,6 +310,7 @@ Walter Higgins
307310
* [events.blockMultiPlace()](#eventsblockmultiplace)
308311
* [events.blockExplode()](#eventsblockexplode)
309312
* [events.notePlay()](#eventsnoteplay)
313+
* [events.cauldronLevelChange()](#eventscauldronlevelchange)
310314
* [events.blockFade()](#eventsblockfade)
311315
* [events.blockPlace()](#eventsblockplace-1)
312316
* [events.blockPhysics()](#eventsblockphysics-1)
@@ -2140,30 +2144,6 @@ The crucial difference is that the events module now has functions for each of t
21402144

21412145
* priority - optional - see events.on() for more information.
21422146

2143-
### events.paintingBreak()
2144-
2145-
#### Parameters
2146-
2147-
* callback - A function which is called whenever the [painting.PaintingBreakEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/painting/PaintingBreakEvent.html) is fired
2148-
2149-
* priority - optional - see events.on() for more information.
2150-
2151-
### events.paintingBreakByEntity()
2152-
2153-
#### Parameters
2154-
2155-
* callback - A function which is called whenever the [painting.PaintingBreakByEntityEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/painting/PaintingBreakByEntityEvent.html) is fired
2156-
2157-
* priority - optional - see events.on() for more information.
2158-
2159-
### events.paintingPlace()
2160-
2161-
#### Parameters
2162-
2163-
* callback - A function which is called whenever the [painting.PaintingPlaceEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/painting/PaintingPlaceEvent.html) is fired
2164-
2165-
* priority - optional - see events.on() for more information.
2166-
21672147
### events.enchantItem()
21682148

21692149
#### Parameters
@@ -2532,6 +2512,14 @@ The crucial difference is that the events module now has functions for each of t
25322512

25332513
* priority - optional - see events.on() for more information.
25342514

2515+
### events.playerSwapHandItems()
2516+
2517+
#### Parameters
2518+
2519+
* callback - A function which is called whenever the [player.PlayerSwapHandItemsEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/player/PlayerSwapHandItemsEvent.html) is fired
2520+
2521+
* priority - optional - see events.on() for more information.
2522+
25352523
### events.playerKick()
25362524

25372525
#### Parameters
@@ -2572,6 +2560,14 @@ The crucial difference is that the events module now has functions for each of t
25722560

25732561
* priority - optional - see events.on() for more information.
25742562

2563+
### events.prepareAnvil()
2564+
2565+
#### Parameters
2566+
2567+
* callback - A function which is called whenever the [inventory.PrepareAnvilEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/inventory/PrepareAnvilEvent.html) is fired
2568+
2569+
* priority - optional - see events.on() for more information.
2570+
25752571
### events.inventoryDrag()
25762572

25772573
#### Parameters
@@ -2740,6 +2736,14 @@ The crucial difference is that the events module now has functions for each of t
27402736

27412737
* priority - optional - see events.on() for more information.
27422738

2739+
### events.villagerAcquireTrade()
2740+
2741+
#### Parameters
2742+
2743+
* callback - A function which is called whenever the [entity.VillagerAcquireTradeEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/VillagerAcquireTradeEvent.html) is fired
2744+
2745+
* priority - optional - see events.on() for more information.
2746+
27432747
### events.playerDeath()
27442748

27452749
#### Parameters
@@ -2836,6 +2840,14 @@ The crucial difference is that the events module now has functions for each of t
28362840

28372841
* priority - optional - see events.on() for more information.
28382842

2843+
### events.villagerReplenishTrade()
2844+
2845+
#### Parameters
2846+
2847+
* callback - A function which is called whenever the [entity.VillagerReplenishTradeEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/VillagerReplenishTradeEvent.html) is fired
2848+
2849+
* priority - optional - see events.on() for more information.
2850+
28392851
### events.entityPortalEnter()
28402852

28412853
#### Parameters
@@ -2948,6 +2960,14 @@ The crucial difference is that the events module now has functions for each of t
29482960

29492961
* priority - optional - see events.on() for more information.
29502962

2963+
### events.entityToggleGlide()
2964+
2965+
#### Parameters
2966+
2967+
* callback - A function which is called whenever the [entity.EntityToggleGlideEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/EntityToggleGlideEvent.html) is fired
2968+
2969+
* priority - optional - see events.on() for more information.
2970+
29512971
### events.explosionPrime()
29522972

29532973
#### Parameters
@@ -3044,6 +3064,14 @@ The crucial difference is that the events module now has functions for each of t
30443064

30453065
* priority - optional - see events.on() for more information.
30463066

3067+
### events.fireworkExplode()
3068+
3069+
#### Parameters
3070+
3071+
* callback - A function which is called whenever the [entity.FireworkExplodeEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/entity/FireworkExplodeEvent.html) is fired
3072+
3073+
* priority - optional - see events.on() for more information.
3074+
30473075
### events.potionSplash()
30483076

30493077
#### Parameters
@@ -3116,6 +3144,14 @@ The crucial difference is that the events module now has functions for each of t
31163144

31173145
* priority - optional - see events.on() for more information.
31183146

3147+
### events.cauldronLevelChange()
3148+
3149+
#### Parameters
3150+
3151+
* callback - A function which is called whenever the [block.CauldronLevelChangeEvent event](https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/CauldronLevelChangeEvent.html) is fired
3152+
3153+
* priority - optional - see events.on() for more information.
3154+
31193155
### events.blockFade()
31203156

31213157
#### Parameters
@@ -6735,6 +6771,7 @@ The Entities module provides a suite of functions - one for each possible entity
67356771
67366772
The following functions are provided:
67376773
6774+
* area_effect_cloud()
67386775
* armor_stand()
67396776
* arrow()
67406777
* bat()
@@ -6745,6 +6782,7 @@ The following functions are provided:
67456782
* complex_part()
67466783
* cow()
67476784
* creeper()
6785+
* dragon_fireball()
67486786
* dropped_item()
67496787
* egg()
67506788
* ender_crystal()
@@ -6766,6 +6804,7 @@ The following functions are provided:
67666804
* item_frame()
67676805
* leash_hitch()
67686806
* lightning()
6807+
* lingering_potion()
67696808
* magma_cube()
67706809
* minecart()
67716810
* minecart_chest()
@@ -6783,16 +6822,20 @@ The following functions are provided:
67836822
* primed_tnt()
67846823
* rabbit()
67856824
* sheep()
6825+
* shulker()
6826+
* shulker_bullet()
67866827
* silverfish()
67876828
* skeleton()
67886829
* slime()
67896830
* small_fireball()
67906831
* snowball()
67916832
* snowman()
6833+
* spectral_arrow()
67926834
* spider()
67936835
* splash_potion()
67946836
* squid()
67956837
* thrown_exp_bottle()
6838+
* tipped_arrow()
67966839
* unknown()
67976840
* villager()
67986841
* weather()
Binary file not shown.

release-notes.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
RELEASE NOTES
22
=============
3+
3.2.0 Release (2016 03 20)
4+
--------------------------
5+
6+
Bug fixes and updated from Spigot 1.8.8 to Spigot 1.9
7+
8+
Fixed issues #256 and #287
9+
310
3.1.12 Release (2015 12 30)
411
---------------------------
512

0 commit comments

Comments
 (0)