Commit Graph

2175 Commits

Author SHA1 Message Date
Bukkit/Spigot
c240b58f66 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:20 +10:00
Bukkit/Spigot
30a442aef7 Update to Minecraft 1.14-pre5
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
3c840f61b8 Update /version to reflect final build status.
By: md_5 <git@md-5.net>
2019-04-23 12:00:00 +10:00
Bukkit/Spigot
1757ce61c0 SPIGOT-4700: Add PlayerFishEvent.State.REEL_IN
By: md_5 <git@md-5.net>
2019-04-15 20:43:00 +10:00
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
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
Bukkit/Spigot
b48983bff8 Expand Boolean Prompt Values in Conversation API
By: md_5 <md_5@live.com.au>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot
e58ce0019f Added getAllSessionData() to the Conversation API.
By: Alex Bennett <alex.eugene.bennett@gmail.com>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot
a487f8ec2b Add InventoryView#getInventory API
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot
e8f711959a Add API to get / set base arrow damage
By: md_5 <git@md-5.net>
2018-12-26 08:00:00 +11:00
Bukkit/Spigot
00b0722888 Clarify furnace burn time behaviour as per SPIGOT-844
By: md_5 <git@md-5.net>
2018-12-22 11:03:48 +11:00
Bukkit/Spigot
c078950291 SPIGOT-4503: Add API to insert complete ItemStack into Jukebox
By: md_5 <git@md-5.net>
2018-12-22 10:50:51 +11:00
Bukkit/Spigot
cf8cbb0713 Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
2018-12-19 10:53:02 +11:00
Bukkit/Spigot
8e65ec71cb SPIGOT-2151: Add support for getting simple bounding box of a block
By: Evoluseis <contact@evoluseis.me>
2018-12-17 19:16:46 -05:00
Bukkit/Spigot
77296e8fba Add BlockData#getAsString(boolean) to hide unspecified states
By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-12-17 18:28:17 -05:00
Bukkit/Spigot
89f6a499ed SPIGOT-4526: Add conversion time API for Zombie & subclasses
By: md_5 <git@md-5.net>
2018-12-13 14:10:26 +11:00
Bukkit/Spigot
3f4b83c996 Add PlayerSpawned API for Endermites
By: md_5 <git@md-5.net>
2018-12-10 10:39:39 +11:00
Bukkit/Spigot
83e42118d5 Add list of entities to EntityTransformEvent
By: nathat890 <nathat890@outlook.com>
2018-12-05 09:36:23 +11:00
Bukkit/Spigot
fe1baedce4 SPIGOT-4347: Add API to allow storing arbitrary values on ItemStacks
By: Bjarne Koll <LynxPlay101@gmail.com>
2018-12-01 20:25:24 +11:00
Bukkit/Spigot
4d2079401c Make PigZapEvent extend EntityTransformEvent
By: nathat890 <nathat890@outlook.com>
2018-11-23 16:15:26 +00:00
Bukkit/Spigot
0face3d06a Remove no longer applicable caveats to setPlayerListName
By: md_5 <git@md-5.net>
2018-11-23 14:32:28 +11:00
Bukkit/Spigot
b5f51a06d1 SPIGOT-4496: Undeprecate MapView.getId and make int
By: md_5 <git@md-5.net>
2018-11-23 11:50:32 +11:00
Bukkit/Spigot
511827f499 Remove some draft API designations
By: md_5 <git@md-5.net>
2018-11-23 11:41:32 +11:00
Bukkit/Spigot
50b925fdb0 SPIGOT-4472: Add Consumer scheduler methods
By: md_5 <git@md-5.net>
2018-11-23 11:40:21 +11:00
Bukkit/Spigot
a159e27b87 SPIGOT-4487: Clarify PlayerInteractEvent docs
By: md_5 <git@md-5.net>
2018-11-18 09:32:49 +11:00
Bukkit/Spigot
bba83d2264 Add Player to BlockCanBuildEvent
By: md_5 <git@md-5.net>
2018-11-18 09:28:03 +11:00
Bukkit/Spigot
c6cddd3663 Clarify what "return false" in onCommand does.
By: md_5 <git@md-5.net>
2018-11-15 11:07:00 +11:00
Bukkit/Spigot
3e7386bf29 Add SpawnReason.SHEARING
By: klugemonkey <klugemonkey@spawnchunk.com>
2018-11-14 14:16:42 +11:00
Bukkit/Spigot
8ef1f8e8d0 SPIGOT-4339: Add EntityTransformEvent
Thanks klugemonkey for some contributions in https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/351/overview

By: nathat890 <nathat890@outlook.com>
2018-11-14 13:57:13 +11:00
Bukkit/Spigot
40ff81d1ae Add Material BlockData to JavaDocs
By: md_5 <git@md-5.net>
2018-11-12 18:42:07 +11:00
Bukkit/Spigot
3a419169d2 Fix some incorrectly handled JavaDoc
By: md_5 <git@md-5.net>
2018-11-10 20:45:23 +11:00
Bukkit/Spigot
43b01394e5 SPIGOT-4478: Update PlayerLoginEvent docs
By: md_5 <git@md-5.net>
2018-11-10 20:30:27 +11:00
Bukkit/Spigot
4782571b82 Add API to manipulate boss bar of entities and those created by commands
By: Yannick Lamprecht <yannicklamprecht@live.de>
2018-11-10 20:22:05 +11:00
Bukkit/Spigot
905e0f7cac SPIGOT-4469: Age API for EndGateway
By: md_5 <git@md-5.net>
2018-11-06 18:12:25 +11:00
Bukkit/Spigot
60d1f54a7f SPIGOT-4438: Add choice API to furnace recipes
By: md_5 <git@md-5.net>
2018-11-03 21:04:25 +11:00
Bukkit/Spigot
d73efd2f89 SPIGOT-4460: Update documentation of Wolf#setAngry
By: md_5 <git@md-5.net>
2018-11-03 20:38:10 +11:00
Bukkit/Spigot
60183211fe API to get client side view distance.
By: md_5 <git@md-5.net>
2018-11-02 21:24:09 +11:00
Bukkit/Spigot
667e7ba35e SPIGOT-4395: Additions to PlayerBedEnterEvent.
Contributions by blablubbabc as well - https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/383/overview

By: Ugleh <troti@ymail.com>
2018-11-02 18:31:15 +11:00
Bukkit/Spigot
66cea125d6 Minor cosmetic cleanups to imports etc
Please see https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/389/overview

By: Parker Hawke <hawkeboyz2@hotmail.com>
2018-10-27 14:55:52 -04:00
Bukkit/Spigot
c53cad6baa SPIGOT-4376: Add draft BlockDropItemEvent
By: AndaBlock <anda.block12345@outlook.de>
2018-10-31 17:57:02 +11:00
Bukkit/Spigot
6f25985272 Use String.split for simple splits
By: md_5 <git@md-5.net>
2018-10-27 18:22:29 +11:00
Bukkit/Spigot
c3487bf220 SPIGOT-4446: Legacy rotation methods don't work for wall mounted skulls
By: md_5 <git@md-5.net>
2018-10-27 08:15:24 +11:00
Bukkit/Spigot
55523cfcfc Add ray tracing and bounding box API
By: blablubbabc <lukas@wirsindwir.de>
2018-10-26 19:59:36 +11:00
Bukkit/Spigot
0283ef18f5 SPIGOT-4443: Scoreboard RenderType API
By: md_5 <git@md-5.net>
2018-10-26 19:38:20 +11:00