Commit Graph

2240 Commits

Author SHA1 Message Date
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 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 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 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 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 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
Bukkit/Spigot 5e9fc1140e SPIGOT-3538: Add getHitBlockFace for ProjectileHitEvent
By: md_5 <git@md-5.net>
2018-12-27 12:17:32 +11:00
Bukkit/Spigot 6a8b528359 SPIGOT-794: Call EntityPlaceEvent for Minecart placement
By: md_5 <git@md-5.net>
2018-12-27 10:45:59 +11:00
Bukkit/Spigot da2bb47f1b Add InventoryView#getSlotType
By: md_5 <git@md-5.net>
2018-12-26 10:37:47 +11:00
Bukkit/Spigot a5d9aeb9b3 Remove EntityTransformEvent and CustomItemTagContainer from draft API
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot 8be6b43c7d Make ProjectileLaunchEvent extend EntitySpawnEvent
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot 21b8238e91 Define EntitySpawnEvent
By: Andy Shulman <andy.shulman@hotmail.com>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot c4d30af0eb Add PlayerItemDamageEvent
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot 2f1a805931 Ease ClassLoader Deadlocks Where Possible
With Java 7 we can register the classloader as parallel capable to prevent deadlocks caused by certain scenarios. Due to the nature of PluginClassLoader this isn't completely safe, but we can make it safer by switching to concurrency focused collections. Either way this is far better than crashing the server.

By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00