Commit Graph

2247 Commits

Author SHA1 Message Date
Bukkit/Spigot
7bfc0554c2 Add Plugin Chunk Ticket API
Allows plugins to force certain chunks to be kept loaded for as long as they are enabled.

By: Spottedleaf <Spottedleaf@users.noreply.github.com>
2019-07-08 12:14:29 +10:00
Bukkit/Spigot
6df381566e Fix incorrect nullability annotations for PlayerJoinEvent's join message
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-07-07 15:42:56 -04:00
Bukkit/Spigot
e6915a8c4e SPIGOT-3102: Add EXPLOSION SpawnReason
By: md_5 <git@md-5.net>
2019-07-03 11:10:24 +10:00
Bukkit/Spigot
29b0bdf48b SPIGOT-5121: Method to set PierceLevel of arrows
By: md_5 <git@md-5.net>
2019-06-30 09:52:12 +10:00
Bukkit/Spigot
6a48681da7 Correct pom.xml version
By: md_5 <git@md-5.net>
2019-06-25 20:57:17 +10:00
Bukkit/Spigot
42f077bb89 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-25 06:44:01 +10:00
Bukkit/Spigot
bbfbe07719 SPIGOT-5098: Add a method to allow colored sign changes
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-06-22 15:42:22 +02:00
Bukkit/Spigot
073d435536 Update to Minecraft 1.14.3-pre4
By: md_5 <git@md-5.net>
2019-06-21 20:00:00 +10:00
Bukkit/Spigot
8cd55c2837 Fix javadoc mistakes in previous commit
By: md_5 <git@md-5.net>
2019-06-17 21:27:41 +10:00
Bukkit/Spigot
b24d72b84a SPIGOT-5061: Add explode and ignite methods to Creeper
By: i509VCB <null>
2019-06-14 17:21:25 -05:00
Bukkit/Spigot
ca368c2f9f SPIGOT-5034: FoodLevelChangeEvent add getItem method
By: md_5 <git@md-5.net>
2019-06-14 19:41:02 +10:00
Bukkit/Spigot
157abe40d4 SPIGOT-4984: EnchantmentOffer.getCost() documentation is misleading
By: md_5 <git@md-5.net>
2019-06-14 19:33:55 +10:00
Bukkit/Spigot
1399237b6b SPIGOT-5047: Correct slot types for 1.14 inventories
By: md_5 <git@md-5.net>
2019-06-13 21:25:58 +10:00
Bukkit/Spigot
aa6ffe2455 Add Player#openBook(ItemStack) method
This PR adds the openBook(ItemStack) method to Player that allows opening a
Material.WRITTEN_BOOK for a player on demand.

By: simpleauthority <jacob@algorithmjunkie.com>
2019-06-06 00:46:53 -07:00
Bukkit/Spigot
0a66e91c06 Update to Minecraft 1.14.2
By: md_5 <git@md-5.net>
2019-05-28 06:30:00 +10:00
Bukkit/Spigot
e56df0a07e SPIGOT-4946: Add VillagerCareerChangeEvent
By: i509VCB <null>
2019-05-25 20:37:17 -05:00
Bukkit/Spigot
5c4a9d5f13 SPIGOT-4966: Provide access to Entity in PortalCreateEvent
By: md_5 <git@md-5.net>
2019-05-21 12:07:56 +10:00
Bukkit/Spigot
b2c53e8c68 Fix some javadoc warnings
Also remove a couple old/broken deprecated methods

By: md_5 <git@md-5.net>
2019-05-20 20:29:33 +10:00
Bukkit/Spigot
7a2194f937 Explicitly deprecate all MaterialData subclasses
By: md_5 <git@md-5.net>
2019-05-20 20:09:17 +10:00
Bukkit/Spigot
3acdc1f1b9 Fix duplicate lowercasing in NamespacedKey
By: md_5 <git@md-5.net>
2019-05-20 19:47:08 +10:00
Bukkit/Spigot
1158b5a586 SPIGOT-4961: Cannot open various inventories
By: md_5 <git@md-5.net>
2019-05-20 19:46:13 +10:00
Bukkit/Spigot
d8417eaead SPIGOT-4958: API to set map trackingPosition
By: md_5 <git@md-5.net>
2019-05-20 19:29:45 +10:00
Bukkit/Spigot
86dee5827e SPIGOT-4833: Allow access to LivingEntity memories
By: Yannick Lamprecht <yannicklamprecht@live.de>
2019-05-19 19:57:33 +10:00
Bukkit/Spigot
1a0f762c38 SPIGOT-4943: Zombie villager conversion player API.
By: blablubbabc <lukas@wirsindwir.de>
2019-05-17 14:08:43 +02:00
Bukkit/Spigot
19f56f1e6c Update to Minecraft 1.14.1
By: md_5 <git@md-5.net>
2019-05-14 10:00:00 +10:00
Bukkit/Spigot
4e2df52748 Fix missed documentation change
By: md_5 <git@md-5.net>
2019-05-12 17:30:02 +10:00
Bukkit/Spigot
a5758fa771 SPIGOT-4911: Cannot add firework rocket as charged projectile in crossbow
By: md_5 <git@md-5.net>
2019-05-12 11:22:14 +10:00
Bukkit/Spigot
8678c2acfd Correct javadoc for createInventory(InventoryHolder, InventoryType)
By: md_5 <git@md-5.net>
2019-05-11 14:02:52 +10:00
Bukkit/Spigot
12798cd084 SPIGOT-4893: Don't reset angry state of wolves without target.
By: md_5 <git@md-5.net>
2019-05-11 13:12:28 +10:00
Bukkit/Spigot
4952796313 SPIGOT-4889: Add PlayerTakeLecternBookEvent
By: Brokkonaut <hannos17@gmx.de>
2019-05-10 01:50:06 +02:00
Bukkit/Spigot
a3e5b8bdf0 Add BlockShearEntityEvent for Dispensers shearing Sheep
By: nathat890 <nathat890@outlook.com>
2019-05-07 16:46:20 +01:00
Bukkit/Spigot
7285d5d822 SPIGOT-4892: Allow to set the currently viewed page of a book on a lectern inventory
By: Brokkonaut <hannos17@gmx.de>
2019-05-08 00:01:01 +02:00
Bukkit/Spigot
1ac05c8b80 SPIGOT-4887: Villager level minimum is 1
By: blablubbabc <lukas@wirsindwir.de>
2019-05-07 15:35:44 +02:00
Bukkit/Spigot
413964569b SPIGOT-4886: Villager type SNOWY should be named SNOW
By: blablubbabc <lukas@wirsindwir.de>
2019-05-07 15:24:57 +02:00
Bukkit/Spigot
4ed27a6eca SPIGOT-4872: LootTables missing a few loot tables
By: md_5 <git@md-5.net>
2019-05-06 08:40:10 +10:00
Bukkit/Spigot
e917cff666 Fix javadoc errors
By: md_5 <git@md-5.net>
2019-05-05 12:59:26 +10:00
Bukkit/Spigot
11c5260e6a SPIGOT-4834: API for Villager levels and experience
By: md_5 <git@md-5.net>
2019-05-05 12:03:15 +10:00
Bukkit/Spigot
692e60f3f0 Fix typo in previous commit
By: md_5 <git@md-5.net>
2019-05-05 10:59:48 +10:00
Bukkit/Spigot
c38c74e64d Rearchitect PortalCreateEvent to provide more information about the portal
By: md_5 <git@md-5.net>
2019-05-05 10:51:28 +10:00
Bukkit/Spigot
b43e5e0738 Better validate static ChatColor methods
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-05-03 15:51:10 -04:00
Bukkit/Spigot
04ff31073b SPIGOT-4842: Dummy recipes should not give AIR as result type
By: md_5 <git@md-5.net>
2019-05-03 17:40:15 +10:00
Bukkit/Spigot
191b0147cd SPIGOT-4802: Add CrossbowMeta
By: md_5 <git@md-5.net>
2019-05-01 20:17:56 +10:00
Bukkit/Spigot
d41f921727 SPIGOT-4714: Broadcasts can no longer be done from secondary threads
By: md_5 <git@md-5.net>
2019-05-01 18:46:12 +10:00
Bukkit/Spigot
713ac360bf SPIGOT-4820: Villager Type API
By: md_5 <git@md-5.net>
2019-05-01 18:39:34 +10:00
Bukkit/Spigot
7bcfc2f673 Regular arrow spawn method should not have changed type
By: md_5 <git@md-5.net>
2019-05-01 18:14:43 +10:00
Bukkit/Spigot
998a2ad5c0 SPIGOT-4823: Crash picking up arrows
By: md_5 <git@md-5.net>
2019-05-01 06:49:03 +10:00
Bukkit/Spigot
687e30abd0 World#spawnArrow should return an AbstractArrow now
By: md_5 <git@md-5.net>
2019-04-30 21:31:14 +10:00
Bukkit/Spigot
822d06fd4b SPIGOT-4819: Continue refactoring of Arrow-related APIs
By: md_5 <git@md-5.net>
2019-04-30 21:12:59 +10:00
Bukkit/Spigot
cfe800dd65 SPIGOT-4818: Missing GLOBE banner pattern
By: md_5 <git@md-5.net>
2019-04-30 15:19:43 +10:00
Bukkit/Spigot
4c0157d6de SPIGOT-4815: Location.equals() not working
By: md_5 <git@md-5.net>
2019-04-30 09:36:30 +10:00
Bukkit/Spigot
dc652253ed Use WeakReference to World in Location
By: TheMolkaPL <themolkapl@gmail.com>
2019-04-26 23:33:40 +02:00
Bukkit/Spigot
5f1aef7419 SPIGOT-4803: Fox related APIs
By: md_5 <git@md-5.net>
2019-04-28 17:58:30 +10:00
Bukkit/Spigot
b91a465a3f Add TradeSelectEvent
By: Coleman Yantis <diamonddagger590@gmail.com>
2019-04-28 12:36:23 +10:00
Bukkit/Spigot
82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot
d66310a2f1 SPIGOT-4793: Clarify cancelled behaviour of PlayerInteractEvent
By: md_5 <git@md-5.net>
2019-04-28 11:24:18 +10:00
Bukkit/Spigot
db63ba0a7b Fix LingeringPotionSplashEvent getEntity method
By: md_5 <git@md-5.net>
2019-04-27 21:38:34 +10:00
Bukkit/Spigot
b554f3f183 SPIGOT-4784: Collar colour API for Cats
By: md_5 <git@md-5.net>
2019-04-27 12:52:37 +10:00
Bukkit/Spigot
c118b02278 SPIGOT-4753: Add Pose API
By: md_5 <git@md-5.net>
2019-04-27 10:26:35 +10:00
Bukkit/Spigot
bd15f6a4bc Deprecate CHUNK_GEN spawn reason
By: md_5 <git@md-5.net>
2019-04-27 10:08:39 +10:00
Bukkit/Spigot
fb39d0943e SPIGOT-4778: Bell Attachment is missing
By: md_5 <git@md-5.net>
2019-04-27 09:30:16 +10:00
Bukkit/Spigot
f897021458 Add important documentation to chunk load methods
By: md_5 <git@md-5.net>
2019-04-26 22:00:24 +10:00
Bukkit/Spigot
ed414d7d7c Add a MaterialChoice constructor to accept Tag constants
By: Parker Hawke <hawkeboyz2@hotmail.com>
2019-04-25 16:40:38 -04:00
Bukkit/Spigot
1f963a1ee2 ChunkUnloadEvent can no longer be cancelled.
Mechanisms such as setForceLoaded should be used instead

By: md_5 <git@md-5.net>
2019-04-26 16:53:34 +10:00
Bukkit/Spigot
3eb336e441 Add variant API to MushroomCow
By: md_5 <git@md-5.net>
2019-04-26 14:48:04 +10:00
Bukkit/Spigot
f52951980e Don't concurrently execute ChunkGenerators by default
By: md_5 <git@md-5.net>
2019-04-26 12:08:49 +10:00
Bukkit/Spigot
5908b5a155 SPIGOT-4742: Make Sign Colorable
By: md_5 <git@md-5.net>
2019-04-25 14:49:17 +10:00
Bukkit/Spigot
ddfd4b10c4 Replace ItemTag API with new API that also expands to Tiles and Entities
By: Bjarne Koll <LynxPlay101@gmail.com>
2019-04-25 14:24:05 +10:00
Bukkit/Spigot
3209bcbf56 Update to Minecraft 1.14
By: md_5 <git@md-5.net>
2019-04-25 12:00:00 +10:00
Bukkit/Spigot
afb11dd5b6 Fix checkstyle on Windows
By: md_5 <git@md-5.net>
2019-04-23 21:22:32 +10:00
Bukkit/Spigot
72b7dd6e2b Move execution phase of checkstyle
By: md_5 <git@md-5.net>
2019-04-23 21:01:36 +10:00
Bukkit/Spigot
ac299a4180 Regenerate Material enum
By: md_5 <git@md-5.net>
2019-04-23 20:59:33 +10:00
Bukkit/Spigot
e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
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