13
0
geforkt von Mirrors/Paper

385 Commits

Autor SHA1 Nachricht Datum
Bukkit/Spigot
4bfc4d66d9 SPIGOT-1904: AreaEffectCloud events and additional API
By: t00thpick1 <t00thpick1dirko@gmail.com>
2016-03-12 12:08:25 -05:00
Bukkit/Spigot
1051754e5e Add hand used to BlockPlaceEvent.
By: AgentLV <contact@agentlv.net>
2016-03-15 12:51:16 +01:00
Bukkit/Spigot
dd6eafac95 Added CreatureSpawnEvent.SpawnReason.TRAP
By: BlackHole <black-hole@live.com>
2016-03-13 15:46:49 +01:00
Bukkit/Spigot
8369b9113b SPIGOT-1532: Add PlayerSwapHandItemsEvent
By: MinusKube <MinusKube@bitbucket.org>
2016-03-02 05:16:35 +01:00
Bukkit/Spigot
b60d39b0c1 SPIGOT-1849: Call EntityBlockFormEvent when an entity forms frosted ice using frost walker
By: Matthew <stteg@hotmail.com>
2016-03-12 15:02:32 -05:00
Bukkit/Spigot
8c8383109a SPIGOT-1571: Add Entity Glide Events.
By: 0x277F <0x277F@gmail.com>
2016-03-09 20:14:05 -07:00
Bukkit/Spigot
382597b99e SPIGOT-1773: Chorus fruit teleport reason
By: md_5 <git@md-5.net>
2016-03-06 09:46:35 +11:00
Bukkit/Spigot
398a5d169c SPIGOT-1724: Update InventoryType.PLAYER size.
By: md_5 <git@md-5.net>
2016-03-04 17:18:31 +11:00
Bukkit/Spigot
b748e04c05 SPIGOT-1608: Add a way to get the hand used in PlayerInteract*Events
By: md_5 <git@md-5.net>
2016-03-03 19:20:28 +11:00
Bukkit/Spigot
7bf2df9b2d SPIGOT-1645: Update brewing inventory default size.
By: md_5 <git@md-5.net>
2016-03-03 17:11:21 +11:00
Bukkit/Spigot
f941b8b7ad SPIGOT-1644: Add END_GATEWAY as a teleport reason
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-02 16:42:20 +00:00
Bukkit/Spigot
f6425d9b9e Deprecate HorseJumpEvent's setPower and setCancelled methods
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2016-03-01 21:07:22 +00:00
Bukkit/Spigot
4915f4a3e1 SPIGOT-1523: Add FLY_INTO_WALL DamageCause
By: md_5 <git@md-5.net>
2016-03-01 17:35:27 +11:00
Bukkit/Spigot
ab952a946f Add Merchant API
By: Xor Boole <mcyoung@mit.edu>
2016-03-01 08:30:04 +11:00
Bukkit/Spigot
ccc64d57e8 Add PrepareAnvilEvent.
By: md_5 <git@md-5.net>
2016-03-01 08:30:04 +11:00
Bukkit/Spigot
ef7bd3a4ab Implement CauldronLevelChangeEvent.
Idea for implementation via matiki1231 on IRC.

By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
96968d5bb4 SPIGOT-1345: Add BITE state to PlayerFishEvent.
By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
de63cae2d7 Add definitions for Minecraft 1.9 gameplay elements
Includes an API for AreaEffectCloud and rework of Sound enum to include new sound values.

By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
6e5cf52206 Remove getFurnace from Furnace*Event
Replace by getBlock since April 2012.

By: md_5 <git@md-5.net>
2016-03-01 08:30:03 +11:00
Bukkit/Spigot
0ca001e61e Remove EntityType and some deprecated Entity methods
Replaced by EntityType / other methods since February 2012 and April 2012 respectively.

By: BlackHole <black-hole@live.com>
2016-03-01 08:30:02 +11:00
Bukkit/Spigot
b14702271e Remove deprecated Painting*Events
Replaced by Hanging*Events since October 2012.

By: Matt <mattbdev@outlook.com>
2016-03-01 08:30:02 +11:00
Bukkit/Spigot
107ff2ff80 SPIGOT-759: Add FireworkExplodeEvent.
By: DemonWav <demonwav@gmail.com>
2015-05-22 23:59:22 -05:00
Bukkit/Spigot
c570447bea Add PlayerResourcePackStatusEvent.
This event is called when the server received status updates about the progress of a resource pack which it attempted to send to the client.

By: Adam Thomas <aet2505@gmail.com>
2015-07-13 18:21:21 +01:00
Bukkit/Spigot
00bc2e04a5 Add ItemMergeEvent
By: Morphan1 <morphanone@gmail.com>
2015-06-26 05:54:41 -04:00
Bukkit/Spigot
96445e1e09 Server Commands and Remote Commands are now Cancellable.
By: Matt <mattbdev@outlook.com>
2015-04-29 12:14:29 -04:00
Bukkit/Spigot
dcabad7869 Fix move event validation.
By: md_5 <git@md-5.net>
2015-06-05 17:40:21 +10:00
Bukkit/Spigot
ac203b1dbf [SPIGOT-950] Make handlerList requirement really obvious.
By: md_5 <git@md-5.net>
2015-06-01 16:43:22 +10:00
Bukkit/Spigot
a0022c54d1 SPIGOT-859: Ensure plugins cannot set locations without worlds in move events.
By: md_5 <git@md-5.net>
2015-05-21 17:10:29 +10:00
Bukkit/Spigot
ee31e221ae Add BlockExplodeEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-22 19:41:58 +00:00
Bukkit/Spigot
264cd84a2d Revert "SPIGOT-264: Remove PlayerPortalEvent's handler list"
This reverts commit 9acbabc8bdb14da820dedeae2242deefaa759508.

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-21 20:28:02 +00:00
Bukkit/Spigot
9acbabc8bd SPIGOT-264: Remove PlayerPortalEvent's handler list
So it can chain PlayerTeleportEvent at the same time

By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-11 18:23:27 +00:00
Bukkit/Spigot
0693d6c758 SPIGOT-665: Sticky pistons are moving pistons during the event
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-09 22:28:36 +00:00
Bukkit/Spigot
ad77edbd4b SPIGOT-542: Clarify PlayerDeathEvent.setKeepLevel
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-03-08 00:49:07 +00:00
Bukkit/Spigot
e8eb528aba Implement armor stand event.
By: FearThe1337 <admin@fearthe1337.com>
2014-12-10 12:29:58 +01:00
Bukkit/Spigot
236a28293b Document PlayerInteractEvent's behavior for air
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-02-12 14:06:51 +00:00
Bukkit/Spigot
b3411fdcf4 Fix a missed assignment with the last commit
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-19 23:35:58 +00:00
Bukkit/Spigot
0b63ec0461 Give BlockPistonRetractEvent a list of pulled blocks for sticky pistons
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-19 23:28:15 +00:00
Bukkit/Spigot
6937ffacd4 SPIGOT-362: Add TeleportCause.SPECTATE
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2015-01-06 20:20:20 +00:00
Bukkit/Spigot
c466a567c7 Give PlayerInteractAtEntityEvent its own handler list, seperating it from PlayerInteractEntityEvent
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-12-02 22:41:22 +00:00
Bukkit/Spigot
b2d54f59bb Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:09:01 +00:00
Bukkit/Spigot
8344aacc6e Update to Minecraft 1.8
For more information please see http://www.spigotmc.org/

By: md_5 <git@md-5.net>
2014-11-26 08:15:59 +11:00
Bukkit/Spigot
e6c4525647 Add ability to keep items on death via plugins. Adds BUKKIT-5724
When a player dies their inventory is normally scattered over the the area
in which they died. Plugins should be able to modify this behaviour by
defining whether or not the player's inventory will be dropped on the ground or
waiting for the player when they eventually respawn.

This commit adds the methods required to the PlayerDeathEvent for plugins
to be able to incorporate the behaviour mentioned as a simple boolean
flag.

By: Jerom van der Sar <jerom.sar@hotmail.com>
2014-07-31 02:58:06 +02:00
Bukkit/Spigot
7396e8f7c4 Recalculate damage modifiers in event for old method. Fixes BUKKIT-5681
When we added the new API in EntityDamageEvent to give control over the
various things that modify the final damage done we caused a change in
behavior for users of the old #setDamage(double) method. Before changing
the damage would happen before the modifiers were calculated so they would
be based on the final damage value from the event. Now they are calculated
at the beginning so changing the damage does not change the modifiers.

To allow the old style and the new to coexist we now expose the vanilla
modifer calculations to the event in the form of Function objects. These
are used in #setDamage(double) to calculate the difference in the modifier
between the old damage and the new and apply this difference to the current
modifier. The difference is between the vanilla values for both damage
values and is applied on top of the event's modifier value as this should
make old and new API usage work together in a way that isn't surprising.

By: Travis Watkins <amaranth@ubuntu.com>
2014-07-09 16:19:27 -05:00
Bukkit/Spigot
bbc211faba Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-07-08 23:56:15 -05:00
Bukkit/Spigot
38aeb5fae5 Replace getOnlinePlayers to provide a view. Adds BUKKIT-5668
By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-06-24 09:35:27 -05:00
Bukkit/Spigot
8460bd531a Add damage modifier API in EntityDamageEvent. Adds BUKKIT-347, BUKKIT-4104
This commit adds API for the enchantment, armor, potion and other
modifications to damage done to an entity. These damage modifiers are each
editable editable via a getter and a setter. This addition allows for more
accurate modification and monitoring of damage done to/by an entity, as it
displays the final damage done as well.

By: Wesley Wolfe <wesley.d.wolfe+git@gmail.com>
2014-06-02 01:05:03 -05:00
Bukkit/Spigot
7731218b97 Add BlockMultiPlaceEvent. Adds BUKKIT-5558
Some blocks, such as beds, doors, or flowers, are actually composed of
multiple blocks when they are placed.  Currently, to detect how many
blocks are actually modified a plugin has to perform various calculations
to determine the directions of relative blocks, many of which are
difficult to perform and can easily return false positives.

This commit adds in a BlockMultiPlaceEvent, which adds in easy support for
accessing all blocks modified by the placement of a block.

By: Nate Mortensen <nate.richard.mortensen@gmail.com>
2014-04-21 17:23:36 -06:00
Bukkit/Spigot
181e1c1fb3 [Bleeding] Add new TargetReasons to EntityTargetEvent.
This commit adds three new TargetReasons to EntityTargetEvent to address
missing cases where the event is not currently fired.

The first, TargetReason.TARGET_ATTACKED_NEARBY_ENTITY, is used when a
neutral wolf is attacked, causing all nearby wolves to turn hostile and
attack the first wolf's target.

The second, TargetReason.REINFORCEMENT_TARGET, is used when a zombie summons
reinforcements and the new zombie targets the first zombie's target.

The third, TargetReason.COLLISION, is used when an iron golem collides with
a hostile entity, causing it to begin targeting the entity it collided with.

By: GJ <gjmcferrin@gmail.com>
2014-02-08 08:32:54 -05:00
Bukkit/Spigot
413ff265d8 [Bleeding] Add SpawnReasons to cover new Minecraft features.
Adds BUKKIT-5370, BUKKIT-5378, BUKKIT-5382, BUKKIT-5482. Covers zombie
villagers, ocelot babies, silverfish popping out of blocks, and mobs
spawning with a mount.

By: GJ <gjmcferrin@gmail.com>
2014-02-05 11:38:58 -05:00
Bukkit/Spigot
9476b86738 Add player unique ID to (Async)PlayerPreLoginEvent. Adds BUKKIT-5108
By: BlackHole <black-hole@live.com>
2013-12-09 02:41:17 +01:00