Commit Graph

2121 Commits

Author SHA1 Message Date
Bukkit/Spigot
cee3fdd2e6 Remove draft API from selectEntities
By: md_5 <git@md-5.net>
2019-04-14 18:07:38 +10:00
Bukkit/Spigot
423392f6f7 Added Entity#setRotation.
Unlike Entity#teleport this can also be used while the entity is inside a vehicle.

By: blablubbabc <lukas@wirsindwir.de>
2019-03-25 22:59:27 +01:00
Bukkit/Spigot
e86efb4b0b Use gson for decoding version command
By: md_5 <git@md-5.net>
2019-03-23 20:22:06 +11:00
Bukkit/Spigot
4526a9f21e Add getObject methods to ConfigurationSection
By: stonar96 <minecraft.stonar96@gmail.com>
2019-03-19 23:19:09 +01:00
Bukkit/Spigot
5f8c960c7c Fix command description not being set
By: md_5 <git@md-5.net>
2019-03-18 10:34:39 +11:00
Bukkit/Spigot
b294ce797b Remove debug print from SyntheticEventTest
By: md_5 <git@md-5.net>
2019-03-16 20:48:55 +11:00
Bukkit/Spigot
9bd8e66c7d Remove nullability annotations from enum constructors
By: Darkyenus <darkyenus@gmail.com>
2019-03-14 11:28:51 +01:00
Bukkit/Spigot
416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot
e069a80fd8 Use TestPlugin for ConversationTest
By: md_5 <git@md-5.net>
2019-03-09 15:10:40 +11:00
Bukkit/Spigot
57acb14157 SPIGOT-4651: MerchantRecipe.setIngredients() allows more than 2 ingredients
By: md_5 <git@md-5.net>
2019-03-06 19:45:39 +11:00
Bukkit/Spigot
a9891b05f1 SPIGOT-4650: Charging API for Vex
By: md_5 <git@md-5.net>
2019-03-05 16:47:25 +11:00
Bukkit/Spigot
71b6e8e6c6 Add love mode API to Animals
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-02-27 14:15:48 -05:00
Bukkit/Spigot
eba047f8db SPIGOT-4637: Add source block to BlockPhysicsEvent.
Allows a plugin to lookup the source block of event. For example, a protection plugin may want to determine what caused the physics event to be triggered.

By: bloodshot <jdroque@gmail.com>
2019-02-24 20:19:09 -05:00
Bukkit/Spigot
4607199e45 SPIGOT-4634: Make Inventory iteration behaviour explicit
By: md_5 <git@md-5.net>
2019-02-25 19:13:50 +11:00
Bukkit/Spigot
3ce97266e5 Clarify MerchantInventory#getSelectedRecipe.
By: blablubbabc <lukas@wirsindwir.de>
2019-02-21 03:21:47 +01:00
Bukkit/Spigot
90b6068b6b Apply default permissions by registration order.
When permissibles recalculate their permissions they set the default permission values in the order as the default permissions are provided by the plugin manager.

This order is currently arbitrary and can even change depending on the number of buckets of the underlying hashset which stores those default permissions.

When a plugin defines default permissions inside its plugin.yml (eg. permission 'A' with default value 'true') and a server admin defines different default values for these permissions inside the permissions.yml (eg. permission 'myDefaultPerms' with default value 'true' and with child 'A' set to 'false'), then the outcome will depend on the order in which those default permissions (and their childs) get evaluated inside PermissableBase#recalculatePermissions().
The permission which gets processed last will overwrite the permission value of 'A' according to its definition. Since this order is arbitrary and inconsistent, the server admin will experience weird behavior with his defined default permissions sometimes working and sometimes not.

By: blablubbabc <lukas@wirsindwir.de>
2019-02-17 17:06:31 +01:00
Bukkit/Spigot
83ae50715d Make tags Keyed
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 13:12:04 +10:00
Bukkit/Spigot
15757b3892 Added a method to get a list of tags
By: Matthew Miller <mnmiller1@me.com>
2019-02-17 12:59:39 +10:00
Bukkit/Spigot
1c79fa6a3f Introduce rotation methods to the Vector class
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-02-14 21:28:20 +01:00
Bukkit/Spigot
8e0b9e7df4 Remove draft API from FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-02-16 18:02:41 +11:00
Bukkit/Spigot
922e10ff3e Make AreaEffectCloudApplyEvent cancellable
By: bermudalocket <bermudalckt@gmail.com>
2019-02-06 23:19:04 -05:00
Bukkit/Spigot
68fb5a7b3f SPIGOT-4608: Improve quality of MapMeta APIs
By: md_5 <git@md-5.net>
2019-02-05 21:23:50 +11:00
Bukkit/Spigot
3cde10ce1b SPIGOT-4605: Warn against hacking physics
By: md_5 <git@md-5.net>
2019-02-02 11:09:03 +11:00
Bukkit/Spigot
33fd2ea254 SPIGOT-4193: API for selecting entities by strings
By: md_5 <git@md-5.net>
2019-01-31 15:08:12 +11:00
Bukkit/Spigot
ae3cc2807b SPIGOT-4597: Make BlockDropItemEvent use a list
By: md_5 <git@md-5.net>
2019-01-30 11:19:51 +11:00
Bukkit/Spigot
da21b3838f Add note about Maven repository usage to pom.xml
By: md_5 <git@md-5.net>
2019-01-29 10:01:15 +11:00
Bukkit/Spigot
07da86f23f Recipe choice lists should be copied once handed over to Bukkit
By: md_5 <git@md-5.net>
2019-01-25 14:04:38 +11:00
Bukkit/Spigot
98d49a9175 Consistent multiple choice APIs for RecipeChoice.
By: md_5 <git@md-5.net>
2019-01-25 13:58:30 +11:00
Bukkit/Spigot
5c113e7369 SPIGOT-4586: Change PotionEffectType#value to not include null
As the PotionEffectType class is containing a bunch of constant values
the values method now fits the general idea of the Enum#values method as
it no longer returns a null object at index 0

By: Bjarne Koll <LynxPlay101@gmail.com>
2019-01-22 16:29:09 +01:00
Bukkit/Spigot
d0a2aeaa99 Update compiler
By: md_5 <git@md-5.net>
2019-01-23 12:41:26 +11:00
Bukkit/Spigot
3fbd969ca7 Add CookTimeTotal API to Furnace
By: md_5 <git@md-5.net>
2019-01-23 10:26:35 +11:00
Bukkit/Spigot
6cfba952ab SPIGOT-4584: Call events for hatching turtle eggs
By: Brokkonaut <hannos17@gmx.de>
2019-01-18 02:57:27 +01:00
Bukkit/Spigot
92e73f0542 Add some missing vanilla tags
By: md_5 <git@md-5.net>
2019-01-17 13:44:27 +11:00
Bukkit/Spigot
1591d0c1c7 Fix stray asterisk in BukkitScheduler javadocs
By: md_5 <git@md-5.net>
2019-01-16 12:24:15 +11:00
Bukkit/Spigot
6a80664621 Fix variant of unloadChunkRequest that was incorrectly never deprecated
By: md_5 <git@md-5.net>
2019-01-14 21:01:38 +11:00
Bukkit/Spigot
51980b97ef Deprecate some methods
By: md_5 <git@md-5.net>
2019-01-14 20:43:09 +11:00
Bukkit/Spigot
1855bf0649 SPIGOT-4572: Make default no permission message clearer
By: md_5 <git@md-5.net>
2019-01-14 10:07:31 +11:00
Bukkit/Spigot
d46a28e6ea Fix some misplaced material enum entries
By: md_5 <git@md-5.net>
2019-01-13 10:59:44 +11:00
Bukkit/Spigot
0a50629ac1 Fix typo in TechnicalPiston documentation
By: md_5 <git@md-5.net>
2019-01-13 10:16:25 +11:00
Bukkit/Spigot
98f0d85f7a SPIGOT-4570: Add FluidLevelChangeEvent
By: md_5 <git@md-5.net>
2019-01-08 21:23:05 +11:00
Bukkit/Spigot
0102a2b399 BlockDropItemEvent should refer to getBlockState rather than getBlockData
By: md_5 <git@md-5.net>
2019-01-07 16:10:14 +11:00
Bukkit/Spigot
9fd4fbd67e Fix BlockDropItemEvent for Skulls and Shulker Boxes
By: md_5 <git@md-5.net>
2019-01-07 13:57:28 +11:00
Bukkit/Spigot
760dc15ba7 Note maximum objective score length in documentation
By: md_5 <git@md-5.net>
2019-01-05 16:21:07 +11:00
Bukkit/Spigot
b6c8163a58 Skip tests on default builds
By: md_5 <git@md-5.net>
2019-01-04 20:25:23 +11:00
Bukkit/Spigot
45c470ee2a Further discourage World.regenerateChunk
By: md_5 <git@md-5.net>
2019-01-03 15:45:16 +11:00
Bukkit/Spigot
e4de4d51ee Add RecipeChoice.ExactChoice API for NBT matches on ingredients
By: md_5 <git@md-5.net>
2019-01-02 15:56:17 +11:00
Bukkit/Spigot
e943059623 SPIGOT-4560: Add HumanEntity.sleep and related APIs
By: md_5 <git@md-5.net>
2019-01-02 14:37:43 +11:00
Bukkit/Spigot
6a8d62ff22 SPIGOT-4558: Preserve user order in the face of copied defaults in configurations
By: md_5 <git@md-5.net>
2018-12-31 17:10:56 +11:00
Bukkit/Spigot
1c116bb13c Ignore spurious slot IDs sent by client, e.g. in enchanting tables
By: md_5 <git@md-5.net>
2018-12-30 22:27:16 +11:00
Bukkit/Spigot
022955b377 SPIGOT-3747: Add API for force loaded chunks
By: md_5 <git@md-5.net>
2018-12-27 12:44:43 +11:00