Commit Graph

2970 Commits

Author SHA1 Message Date
Bukkit/Spigot
b76cbe36c5 Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00
Bukkit/Spigot
86d3c9caa7 #811: Add API to allow entities to be invisible by default
Designed to make creating per-player entities easier

By: md_5 <git@md-5.net>
2023-03-04 09:15:46 +11:00
Bukkit/Spigot
7ba363e6b2 #796: Add HopperInventorySearchEvent to select the Inventory that the Hopper pulls/pushes into
By: James Peters <email@jamesdpeters.com>
2023-03-04 09:03:55 +11:00
Bukkit/Spigot
3bcb2ea2fb #815: Add methods to edit custom chat completions
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-03-04 08:40:18 +11:00
Bukkit/Spigot
340655c920 SPIGOT-7261: Add AsyncStructureSpawnEvent
By: Lauriichan <laura.endress@syntaxphoenix.com>
2023-03-04 08:35:53 +11:00
Bukkit/Spigot
0fea70d4c9 #814: Add a method to send multiple equipment changes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-27 20:27:43 +11:00
Bukkit/Spigot
3b7d1ed26c Update Maven shade version to align with CraftBukkit
By: md_5 <git@md-5.net>
2023-02-23 07:46:54 +11:00
Bukkit/Spigot
3eb7bf9ba9 Revert "Update Maven shade version to align with CraftBukkit"
This reverts commit bedf247d1b.

By: md_5 <git@md-5.net>
2023-02-23 07:34:54 +11:00
Bukkit/Spigot
bedf247d1b Update Maven shade version to align with CraftBukkit
By: md_5 <git@md-5.net>
2023-02-23 07:30:44 +11:00
Bukkit/Spigot
17deecda82 Add support for Java 20
By: md_5 <git@md-5.net>
2023-02-23 07:19:49 +11:00
Bukkit/Spigot
ab2503b967 #812: Add Registry#match(String)
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-13 21:31:07 +11:00
Bukkit/Spigot
f72dbc96cd SPIGOT-4569: Add more BlockData API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-11 18:59:06 +11:00
Bukkit/Spigot
d6d7c1a64f #809: Throw a more clear error for BlockIterators with zero direction, add Vector#isZero()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-02-11 09:44:56 +11:00
Bukkit/Spigot
e17edb7785 #804: Added methods to get translation keys for materials, itemstacks and more
By: mfnalex <mfnalex@gmail.com>
2023-02-10 20:51:15 +11:00
Bukkit/Spigot
cd28159b45 #795: Add new BiomeParameterPoint passed to BiomeProvider#getBiome
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-02-07 21:23:20 +11:00
Bukkit/Spigot
eb1da343c8 SPIGOT-7224: Add events for brewing stands and campfires starting their actions
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-02-05 11:01:36 +11:00
Bukkit/Spigot
a74a60046d SPIGOT-7246: Optimize NamespacedKey construction
By: md_5 <git@md-5.net>
2023-01-31 21:02:28 +11:00
Bukkit/Spigot
73bd1a1c85 SPIGOT-7239: Getter/setter for player's enchantment seed
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2023-01-28 11:55:38 +11:00
Bukkit/Spigot
c68938c935 SPIGOT-7214: Add CraftChunk and CraftChunkSnapshot contains biome method
By: md_5 <git@md-5.net>
2023-01-28 11:49:44 +11:00
Bukkit/Spigot
0bb0794be6 #808: Add custom sound parameter option for playSound with entity as source
By: Gero <gecam59@gmail.com>
2023-01-28 11:38:58 +11:00
Bukkit/Spigot
3242c70da4 SPIGOT-7242: Fix bugged AdvancementDisplayType enum
By: md_5 <git@md-5.net>
2023-01-26 12:48:27 +11:00
Bukkit/Spigot
0171060ae2 SPIGOT-7034: Add methods for set/get instrument in Goat Horn
By: byquanton <32410361+byquanton@users.noreply.github.com>
2023-01-08 20:36:06 +11:00
Bukkit/Spigot
5c925130eb SPIGOT-7221: Add Enemy (Entity) interface
By: ShaneBee <shanebolenback@me.com>
2022-12-31 10:23:59 +11:00
Bukkit/Spigot
9048c2fc06 #800: Add support for NoteBlock sounds in Skulls
By: Doc <nachito94@msn.com>
2022-12-23 12:26:04 +11:00
Bukkit/Spigot
05e63c40e1 #798: Add PrepareGrindstoneEvent and refactor related events to use PrepareInventoryResultEvent
By: FreeSoccerHDX <freesoccerhdx@gmail.com>
2022-12-13 19:29:48 +11:00
Bukkit/Spigot
12020621c8 SPIGOT-7204: Add TeleportCause#DISMOUNT
By: md_5 <git@md-5.net>
2022-12-13 19:22:42 +11:00
Bukkit/Spigot
d670f11766 SPIGOT-7202: Deprecate removed door effects
By: md_5 <git@md-5.net>
2022-12-11 10:04:14 +11:00
Bukkit/Spigot
db7ac0823b SPIGOT-7198: Add Sittable interface to Camel
By: md_5 <git@md-5.net>
2022-12-08 17:53:55 +11:00
Bukkit/Spigot
7a87d86241 Update to Minecraft 1.19.3
By: md_5 <git@md-5.net>
2022-12-08 03:13:00 +11:00
Bukkit/Spigot
6ea8b24628 SPIGOT-6765: Pass WorldInfo, Random and coordinates to ChunkGenerator should methods
By: DerFrZocker <derrieple@gmail.com>
2022-11-15 17:56:35 +11:00
Bukkit/Spigot
b5059609a9 SPIGOT-7171: Ability to get the IP/hostname players are requesting status of
By: md_5 <git@md-5.net>
2022-10-28 20:19:07 +11:00
Bukkit/Spigot
cbb1dd46c0 Remove obsolete workaround for SnakeYAML 100 comment limit
By: md_5 <git@md-5.net>
2022-10-09 11:45:05 +11:00
Bukkit/Spigot
cc4b84e4fb SPIGOT-7161: SnakeYaml 1.32 changed the default file size limit
By: md_5 <git@md-5.net>
2022-10-09 11:40:29 +11:00
Bukkit/Spigot
f7fac3540b Update SnakeYAML version
By: md_5 <git@md-5.net>
2022-10-02 09:18:56 +11:00
Bukkit/Spigot
90bc66e868 SPIGOT-7162: Incorrect description for Entity#getVehicle javadoc
By: md_5 <git@md-5.net>
2022-10-02 09:14:33 +11:00
Bukkit/Spigot
385b26cb81 #788: Add getHand() to all relevant events
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-10-02 09:07:09 +11:00
Bukkit/Spigot
273e3081de SPIGOT-2620: Add Player#sendBlockChanges()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 11:05:09 +10:00
Bukkit/Spigot
3455cde270 Improve annotation test on parameters
By: md_5 <git@md-5.net>
2022-09-24 09:31:44 +10:00
Bukkit/Spigot
869f647744 SPIGOT-1244, SPIGOT-6860, SPIGOT-6874: Various Javadoc and formatting fixes
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 09:31:42 +10:00
Bukkit/Spigot
fc3825afec #793: Ignore .checkstyle file generated by Eclipse IDE
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-24 09:20:42 +10:00
Bukkit/Spigot
ed674a6a4a Update SnakeYAML version
By: md_5 <git@md-5.net>
2022-09-22 10:15:39 +10:00
Bukkit/Spigot
8891e2079c SPIGOT-3842: Add Player#fireworkBoost() and expand Firework API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-12 19:04:19 +10:00
Bukkit/Spigot
38ba2e3273 #786: Add methods to get sounds from entities
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-11 22:24:08 +10:00
Bukkit/Spigot
04574c48bb #787: Add LivingEntity#canBreatheUnderwater()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-09-04 21:34:17 +10:00
Bukkit/Spigot
6ac3e7166b SPIGOT-7128: ChunkGenerator#shouldGenerateBedrock doesn't work
By: DerFrZocker <derrieple@gmail.com>
2022-08-25 22:44:59 +02:00
Bukkit/Spigot
bcc7b10e0c #755: Add more Warden methods
By: Doc <nachito94@msn.com>
2022-08-20 16:28:19 +10:00
Bukkit/Spigot
f59a848387 #782: ThrownPotion now extends ThrowableProjectile
By: Martoph <sager1018@gmail.com>
2022-08-17 19:51:55 +10:00
Bukkit/Spigot
3a4c583278 SPIGOT-7138: Can't retrieve pixel color from map
By: DerFrZocker <derrieple@gmail.com>
2022-08-16 19:52:48 +10:00
Bukkit/Spigot
9802bd131d SPIGOT-2450: Improve scoreboard criteria API, add missing DisplaySlots
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-08-08 21:48:35 +10:00
Bukkit/Spigot
ee7f1a0800 SPIGOT-7122: New Allay Methods from 1.19.1
By: Doc <nachito94@msn.com>
2022-08-08 21:39:14 +10:00
Bukkit/Spigot
eec7e6905c Update to Minecraft 1.19.2
By: md_5 <git@md-5.net>
2022-08-06 07:40:00 +10:00
Bukkit/Spigot
3ff3d973e8 SPIGOT-7109: Add WorldBorder#setSize using TimeUnit
By: Doc <nachito94@msn.com>
2022-08-04 20:30:57 +10:00
Bukkit/Spigot
60497ed077 #776: Fixed javadocs for ItemFlag#HIDE_POTION_EFFECTS
By: mfnalex <mail@jeff-media.de>
2022-08-03 20:53:05 +10:00
Bukkit/Spigot
4c2dd40231 SPIGOT-7124: MapPalette.getColor(0) returns the wrong color
By: DerFrZocker <derrieple@gmail.com>
2022-08-01 22:08:48 +10:00
Bukkit/Spigot
8d30515576 Update to Minecraft 1.19.1
By: md_5 <git@md-5.net>
2022-07-28 04:00:00 +10:00
Bukkit/Spigot
ecc4ce98ab SPIGOT-5380, SPIGOT-6958, #772: Add some missing entity API
By: Ollie <69084614+olijeffers0n@users.noreply.github.com>
2022-07-21 21:01:23 +10:00
Bukkit/Spigot
8c38fbb68a #771: Throw IllegalAccessException with non-static getHandlerList
Also add specifier for which event causes the issue

By: Martoph <sager1018@gmail.com>
2022-07-12 21:32:00 +10:00
Bukkit/Spigot
b2eb98d8eb SPIGOT-7069: Material.BARREL has Directional data class, should also be Openable
By: md_5 <git@md-5.net>
2022-07-10 15:10:05 +10:00
Bukkit/Spigot
417f0ad4a4 SPIGOT-7070: Material.SCULK_VEIN has Waterlogged data class, should also be MultipleFacing
By: md_5 <git@md-5.net>
2022-07-10 15:04:41 +10:00
Bukkit/Spigot
a4a0b99e49 #767: Add support checking/survivability methods for BlockData
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-07-09 20:04:45 +10:00
Bukkit/Spigot
73d53d00e8 SPIGOT-7083: Add Boat.WoodenType, Boat.Status; deprecate TreeSpecies
By: Doc <nachito94@msn.com>
2022-07-05 20:40:27 +10:00
Bukkit/Spigot
16583c1d7c SPIGOT-7071: Add Player#stopSound(SoundCategory category)
By: SkytAsul <skytasul@gmail.com>
2022-07-01 20:44:34 +10:00
Bukkit/Spigot
24ea881685 SPIGOT-7011, SPIGOT-7065: Overhaul of structures
By: DerFrZocker <derrieple@gmail.com>
2022-07-01 20:41:02 +10:00
Bukkit/Spigot
515ae6f2cc SPIGOT-7078: Add EntityPotionEffectEvent.Cause#WARDEN
By: Doc <nachito94@msn.com>
2022-06-23 20:27:51 +10:00
Bukkit/Spigot
2ca50720e4 #746: Add option to use cached map color palette
This reduces the conversion time drastically with the cost of slightly more memory usage.

By: DerFrZocker <derrieple@gmail.com>
2022-06-18 21:13:40 +10:00
Bukkit/Spigot
1a5ff83244 #759: Add preview chat option in ServerListPingEvent
By: Doc <nachito94@msn.com>
2022-06-18 20:55:23 +10:00
Bukkit/Spigot
3cdd9f03ce #758: Add missing server properties methods from 1.19
By: Doc <nachito94@msn.com>
2022-06-18 20:48:59 +10:00
Bukkit/Spigot
f786e8cff4 #762: Add SpawnReason and TransformReason for Tadpole metamorphosis into Frog
By: Doc <nachito94@msn.com>
2022-06-13 15:24:49 +10:00
Bukkit/Spigot
b1a97476be #761: Add Hangable interface to MangrovePropagule
By: chickeneer <emcchickeneer@gmail.com>
2022-06-12 18:12:47 +10:00
Bukkit/Spigot
5148d2950b Add compat constructor to PlayerAnimationEvent
By: md_5 <git@md-5.net>
2022-06-11 13:22:25 +10:00
Bukkit/Spigot
8bbd39c170 SPIGOT-7043: EnderChest does not implement Lidded
By: md_5 <git@md-5.net>
2022-06-10 10:57:48 +10:00
Bukkit/Spigot
a0619b4d67 SPIGOT-7047: Add Player#getLastDeathLocation
By: Doc <nachito94@msn.com>
2022-06-10 09:56:47 +10:00
Bukkit/Spigot
4834aca6ed SPIGOT-7003: Add missing PlayerAnimationType
By: Doc <nachito94@msn.com>
2022-06-09 21:30:20 +10:00
Bukkit/Spigot
276f86cc29 SPIGOT-5984: Add non deprecated / magic value way to set pixel in MapCanvas
By: DerFrZocker <derrieple@gmail.com>
2022-06-09 21:27:21 +10:00
Bukkit/Spigot
2624d0d54f #754: Add DamageCause.SONIC_BOOM
By: Doc <nachito94@msn.com>
2022-06-09 21:03:33 +10:00
Bukkit/Spigot
b456a7cd08 #752: Make Leaves Waterlogged
By: Doc <nachito94@msn.com>
2022-06-08 17:30:29 +10:00
Bukkit/Spigot
6243f50313 Downgrade dependency version
By: md_5 <git@md-5.net>
2022-06-08 09:01:11 +10:00
Bukkit/Spigot
ec575f5252 Update to Minecraft 1.19
By: md_5 <git@md-5.net>
2022-06-08 02:00:00 +10:00
Bukkit/Spigot
9bfa9ca85b #745: Expose more information about advancements
By: MartenM <marten.struijk@gmail.com>
2022-06-05 16:23:46 +10:00
Bukkit/Spigot
5e9386f3e0 #749: Various javadoc improvements
By: DerFrZocker <derrieple@gmail.com>
2022-06-05 10:05:54 +10:00
Bukkit/Spigot
eafbc2ba3a #748: Remove permissible recalculation from Permission constructor
This fixes issues that simply creating a new Permission instance would lead
to permission defaults and permissibles to get recalcuated even if the
permission itself was never added to the server or was already present.

By: Phoenix616 <max@themoep.de>
2022-06-05 10:05:51 +10:00
Bukkit/Spigot
1c96f9a8e8 SPIGOT-7027: Documentation for ItemMeta#getCustomModelData is incorrect
By: Doc <nachito94@msn.com>
2022-06-01 19:02:49 +10:00
Bukkit/Spigot
7eccce6d6f #743: Support setting individual Wither head targets
By: Yannick Lamprecht <yannicklamprecht@live.de>
2022-05-17 19:26:59 +10:00
Bukkit/Spigot
4dea0ab04a #742: Make World implement Keyed
By: pop4959 <pop4959@gmail.com>
2022-05-09 18:07:47 +10:00
Bukkit/Spigot
0854352e80 SPIGOT-6949: Configuration sections that are nested within Maps or Lists are not properly serialized.
This broke with the configuration changes in
ed8a152b3a.

This commit reverts one of the changes of this other commit so that
nested configuration sections are serialized as Maps again.

Although the types of these nested configuration sections are not
preserved when reloading a configuration (they turn into Maps), their
contents should at least be preserved, as it has been the case in
earlier Bukkit versions.

By: blablubbabc <lukas@wirsindwir.de>
2022-04-22 19:38:45 +10:00
Bukkit/Spigot
212f79b449 SPIGOT-6992: Add LimitedLife/LifeTicks/Bound APIs to Vex
By: Doc <nachito94@msn.com>
2022-04-21 06:47:24 +10:00
Bukkit/Spigot
46877fe5a4 #735: Add Villager#zombify
By: Doc <nachito94@msn.com>
2022-04-15 13:48:49 +10:00
Bukkit/Spigot
dfc7a87b61 #690: Add method to read ItemStack input
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-04-15 12:54:03 +10:00
Bukkit/Spigot
2d304809b5 SPIGOT-6829: Add per-player world border API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-04-09 09:39:19 +10:00
Bukkit/Spigot
e795b5d12f #737: Update WorldCreator#generatorSettings docs
By: Martoph <sager1018@gmail.com>
2022-03-27 16:25:51 +11:00
Bukkit/Spigot
d72a32d114 #736: Update README
By: Doc <nachito94@msn.com>
2022-03-24 13:39:30 +11:00
Bukkit/Spigot
3c7b2251cf #734: Make PlayerInventory#getItem Nullable
By: Doc <nachito94@msn.com>
2022-03-15 07:32:19 +11:00
Bukkit/Spigot
1019bd7464 #725: Add Item Unlimited Lifetime APIs
By: Gero <gecam59@gmail.com>
2022-03-12 09:26:12 +11:00
Bukkit/Spigot
7c60ceee2c #638: Add CreativeCategory API for Materials
By: Parker Hawke <hawkeboyz2@hotmail.com>
2022-03-03 18:55:54 +11:00
Bukkit/Spigot
6b7d2d9a91 Update to Minecraft 1.18.2
By: md_5 <git@md-5.net>
2022-03-01 02:00:00 +11:00
Bukkit/Spigot
f37d1372b3 SPIGOT-6944: Correct TabCompleter docs
By: md_5 <git@md-5.net>
2022-02-21 12:02:28 +11:00
Bukkit/Spigot
c70f8f252c SPIGOT-6935: Make Arrow color nullable
By: Doc <nachito94@msn.com>
2022-02-19 09:36:06 +11:00
Bukkit/Spigot
0f857065bd #730: Added a checkstyle rule to check for missing package declarations.
Added a suppression to ignore the test sources.

By: blablubbabc <lukas@wirsindwir.de>
2022-02-19 09:33:06 +11:00
Bukkit/Spigot
9d127bc843 #730: Added missing declaration of the org.bukkit.profile package.
By: blablubbabc <lukas@wirsindwir.de>
2022-02-19 09:33:05 +11:00
Bukkit/Spigot
6173d64a2e #727: Fix typo in StriderTemperatureChangeEvent javadocs
By: Ollie <69084614+olijeffers0n@users.noreply.github.com>
2022-02-17 08:08:57 +11:00
Bukkit/Spigot
91ffd11c33 #723: Add Furnace#getRecipesUsed
By: Doc <nachito94@msn.com>
2022-02-15 18:48:12 +11:00
Bukkit/Spigot
2ee538ec02 #726: Add Particle dataTypes to javadocs
By: mfnalex <1122571+mfnalex@users.noreply.github.com>
2022-02-15 09:50:10 +11:00
Bukkit/Spigot
0458eb0bfc #724: Add PDC to World
By: DerFrZocker <derrieple@gmail.com>
2022-02-15 09:35:32 +11:00
Bukkit/Spigot
dd8840cd02 SPIGOT-6918: Add SpawnCategory API and configurations for Axolotls
By: Doc <nachito94@msn.com>
2022-02-07 18:47:24 +11:00
Bukkit/Spigot
7c667b37d9 #719: Add Player Profile API
Slight changes may occur as this API is stabilized.

This PR is based on work previously done by DerFrZocker in #663.

By: blablubbabc <lukas@wirsindwir.de>
2022-02-03 09:25:35 +11:00
Bukkit/Spigot
e6392d1992 SPIGOT-6910: Add BlockDamageAbortEvent
By: FreeSoccerHDX <unconfigured@null.spigotmc.org>
2022-02-02 08:56:20 +11:00
Bukkit/Spigot
7bcd1d10f2 #717: Add PlayerHideEntityEvent and PlayerShowEntityEvent
By: Gero <gecam59@gmail.com>
2022-02-01 18:01:00 +11:00
Bukkit/Spigot
8b26bf228f SPIGOT-6914: Remove confusing loadbefore message for dependency issues
By: md_5 <git@md-5.net>
2022-01-29 11:50:51 +11:00
Bukkit/Spigot
4504a6a32d #720: Fix bounds in documentation about power in FireworkMeta
By: Doc <nachito94@msn.com>
2022-01-28 08:29:00 +11:00
Bukkit/Spigot
945ba17577 SPIGOT-6890: Add repair cost amount in AnvilInventory
By: Doc <nachito94@msn.com>
2022-01-26 09:30:16 +11:00
Bukkit/Spigot
2ea9616224 #716: Fix scheduler javadocs (previously, the <b> tag broke the rendering)
By: mfnalex <1122571+mfnalex@users.noreply.github.com>
2022-01-25 08:41:00 +11:00
Bukkit/Spigot
c9a9a92427 Improve item cooldown JavaDocs
By: md_5 <git@md-5.net>
2022-01-25 08:28:49 +11:00
Bukkit/Spigot
a959ba09e0 Clarify documentation of Block#getBreakSpeed
By: md_5 <git@md-5.net>
2022-01-22 08:56:42 +11:00
Bukkit/Spigot
b8a1538537 SPIGOT-6899: Add Player#getPreviousGameMode
By: Doc <nachito94@msn.com>
2022-01-17 10:11:47 +11:00
Bukkit/Spigot
ab18a979b8 SPIGOT-6901: Make Random Nullable in LootTable
By: Doc <nachito94@msn.com>
2022-01-17 10:09:22 +11:00
Bukkit/Spigot
b1dcda93fd Fix typo in CreatureSpawnEvent documentation
By: md_5 <git@md-5.net>
2022-01-14 10:56:29 +11:00
Bukkit/Spigot
c502bcdc99 SPIGOT-6888: Add SpawnReason for Vex spawned by Evokers
By: Doc <nachito94@msn.com>
2022-01-14 10:56:03 +11:00
Bukkit/Spigot
1973ad7228 #713: Repairable should extend ItemMeta
By: Doc <nachito94@msn.com>
2022-01-14 10:18:25 +11:00
Bukkit/Spigot
64aa0d9c60 #704: Add generateTree method with a predicate
By: DerFrZocker <derrieple@gmail.com>
2022-01-12 10:52:28 +11:00
Bukkit/Spigot
5dd0f2a5b6 #706: Add playSound with Entity as source
By: Gero <gecam59@gmail.com>
2022-01-11 18:53:34 +11:00
Bukkit/Spigot
9003a55038 SPIGOT-6886: Restore previous behaviour of loading unusual config keys
By: blablubbabc <lukas@wirsindwir.de>
2022-01-09 10:04:49 +11:00
Bukkit/Spigot
215952d23f Fix saving configs which are only a header
By: md_5 <git@md-5.net>
2022-01-08 09:39:38 +11:00
Bukkit/Spigot
78dab8fe52 #705: Add PDC to Structures
By: Martoph <sager1018@gmail.com>
2022-01-07 09:40:30 +11:00
Bukkit/Spigot
7aec97546b Add workaround for SnakeYAML 100 comment limit
By: md_5 <git@md-5.net>
2022-01-04 09:25:20 +11:00
Bukkit/Spigot
4fd0026eb5 #703: Fix/test yaml anchors and merge
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2022-01-02 21:08:01 +01:00
Bukkit/Spigot
014fc854ad SPIGOT-6875: Update references to old world height limits
By: md_5 <git@md-5.net>
2022-01-02 11:58:32 +11:00
Bukkit/Spigot
7454ac76ed #278: Add API to check and set if horses are grazing hay
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:01 +11:00
Bukkit/Spigot
f976377367 #275: Add isJohnny / setJohnny for Vindicator
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:00 +11:00
Bukkit/Spigot
245124a723 #274: Add trap related methods to SkeletonHorse
By: Matthew <stteg@hotmail.com>
2022-01-01 09:58:00 +11:00
Bukkit/Spigot
6c398630e8 Make EnderDragon extend/implement Mob
By: md_5 <git@md-5.net>
2021-12-30 09:35:43 +11:00
Bukkit/Spigot
fc98731c16 #702: fromNodeTree is now private, this does not belong to the API
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-29 07:52:44 +11:00
Bukkit/Spigot
b911613abe #701: Option to configure the max width of a line in the config
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-27 09:47:14 +11:00
Bukkit/Spigot
a4c6cce830 #699: Add missing information to javadoc of ItemFlag#HIDE_POTION_EFFECTS
By: SkytAsul <skytasul@gmail.com>
2021-12-26 08:57:12 +11:00
Bukkit/Spigot
e9b09df87c SPIGOT-5766: Updates related to the villager trading changes introduced in MC 1.14.
* The VillagerReplenishTradeEvent is now called whenever a villager restocks one of its trades. Previously, it was called in some (but not all) cases in which a villager updates the special price values of its merchant recipes.
* VillagerReplenishTradeEvent#get/setBonus have been deprecated and #setBonus has no effect anymore. The way villagers restock their trades has changed in MC 1.14: Instead of adjusting the max uses of their trades, they reset their uses to 0. #getBonus returns the value of MerchantRecipe#getUses now.
* Updated various outdated and inaccurate javadoc in MerchantRecipe.

By: blablubbabc <lukas@wirsindwir.de>
2021-12-25 10:14:12 +11:00
Bukkit/Spigot
489aef2efc #691: Add Material#getDefaultAttributeModifiers
By: coll1234567 <joshl5324@gmail.com>
2021-12-24 12:06:21 +11:00
Bukkit/Spigot
0503e4faed SPIGOT-6866: Fixed spaces a between comment indicator and actual comment
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-23 23:07:00 +01:00
Bukkit/Spigot
46d8d2cd11 Restore protected members to YamlConfiguration
By: md_5 <git@md-5.net>
2021-12-23 11:33:21 +11:00
Bukkit/Spigot
7ccab27756 #693: Add proper javadocs for dolphins grace, bad omen, and hero of the village
By: coll1234567 <joshl5324@gmail.com>
2021-12-22 09:03:22 +11:00
Bukkit/Spigot
ed8a152b3a SPIGOT-3247: Comment support for YAML files
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-21 08:35:19 +11:00
Bukkit/Spigot
e61faa55b8 Dependency upgrades
By: md_5 <git@md-5.net>
2021-12-18 12:09:21 +11:00
Bukkit/Spigot
a44ad8b54a SPIGOT-6789: Improve resource pack related API
By: Patrick Choe <mailpatrickkr@gmail.com>
2021-12-18 11:46:20 +11:00
Bukkit/Spigot
7f87269fa8 SPIGOT-6836: Add more API methods in MerchantRecipe
By: Doc <nachito94@msn.com>
2021-12-18 11:44:31 +11:00
Bukkit/Spigot
d4062d0461 Upgrade to SnakeYAML 1.30 release
By: md_5 <git@md-5.net>
2021-12-18 11:36:31 +11:00
Bukkit/Spigot
203cfd5697 Update to Minecraft 1.18.1
By: md_5 <git@md-5.net>
2021-12-11 00:00:00 +11:00
Bukkit/Spigot
308cc50afa #687: Fix NPE from previous commits
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-06 07:22:16 +11:00
Bukkit/Spigot
ab0429fddc #686: Fix contains for default section generating real sections
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-04 22:05:54 +01:00
Bukkit/Spigot
3ddde21487 SPIGOT-6830: Fix addDefaults with Configuration overrides child Sections in the defaults
By: Wolf2323 <gabrielpatrikurban@gmail.com>
2021-12-04 21:38:45 +01:00
Bukkit/Spigot
36fb1f9c00 Add Player#openSign API to edit a placed sign
By: md_5 <git@md-5.net>
2021-12-05 08:34:33 +11:00
Bukkit/Spigot
440c99dc37 SPIGOT-6832: Further improve Player#getPing docs
By: md_5 <git@md-5.net>
2021-12-04 08:19:20 +11:00
Bukkit/Spigot
9a4caaec10 SPIGOT-6832: Improve Player#getPing docs
By: md_5 <git@md-5.net>
2021-12-04 08:10:14 +11:00
Bukkit/Spigot
926db7c30b SPIGOT-6825: MapFont#getWidth ignores §, but not the color-byte and semicolon following it
By: md_5 <git@md-5.net>
2021-12-01 14:58:04 +11:00
Bukkit/Spigot
62f79aa905 SPIGOT-6822: Ensure library loader has same parent as plugin loader
This behaviour may need to be revisted in future to achieve greater isolation of plugins/libraries

By: md_5 <git@md-5.net>
2021-12-01 10:29:25 +11:00
Bukkit/Spigot
c5a7423ca0 Update to Minecraft 1.18
By: md_5 <git@md-5.net>
2021-12-01 03:00:00 +11:00
Bukkit/Spigot
a8f0ba31f2 Correct copied javadoc from previous commit
By: md_5 <git@md-5.net>
2021-11-29 15:59:20 +11:00
Bukkit/Spigot
c4bdb24f2a Add hideEntity / showEntity API
By: md_5 <git@md-5.net>
2021-11-29 09:17:57 +11:00
Bukkit/Spigot
45f7e75b02 #684: Make PotionEffectType implement Keyed
By: coll1234567 <joshl5324@gmail.com>
2021-11-28 11:49:39 +11:00
Bukkit/Spigot
c7d5155340 Revert SnakeYAML upgrade
By: md_5 <git@md-5.net>
2021-11-27 09:11:04 +11:00
Bukkit/Spigot
59be6efc2a Update to Minecraft 1.18-rc3
By: md_5 <git@md-5.net>
2021-11-27 08:00:00 +11:00
Bukkit/Spigot
0618087d5f #683: Add Player#showDemoScreen
By: coll1234567 <joshl5324@gmail.com>
2021-11-26 10:13:40 +11:00
Bukkit/Spigot
61af905f78 Update to Minecraft 1.18-pre8
By: md_5 <git@md-5.net>
2021-11-25 08:00:00 +11:00
Bukkit/Spigot
b06bd45d47 Add docs in ServerListPingEvent based on changes from 1.18
By: Doc <nachito94@msn.com>
2021-11-24 07:30:57 +11:00
Bukkit/Spigot
d0acafa8d8 SPIGOT-6781: Add Block#canPlace
By: coll1234567 <joshl5324@gmail.com>
2021-11-23 18:49:11 +11:00
Bukkit/Spigot
f3fd09df80 #679: Add getHideOnlinePlayers
By: Doc <nachito94@msn.com>
2021-11-22 22:30:30 -03:00
Bukkit/Spigot
a05a566ae7 #677: Add "Allow Server Listings" API
By: Noah van der Aa <ndvdaa@gmail.com>
2021-11-23 08:56:03 +11:00
Bukkit/Spigot
1594310d44 SPIGOT-6801: Wrong BlockData classes in Material enum for SOUL_FIRE and SOUL_TORCH
By: BlackHole <black-hole@live.com>
2021-11-23 08:06:39 +11:00
Bukkit/Spigot
bf2c5f3df0 Downgrade to Checkstyle 8.x as 9.x series has much larger memory usage
By: md_5 <git@md-5.net>
2021-11-22 15:27:06 +11:00
Bukkit/Spigot
31805744d2 Remove Player#sendChunkChange
Method is specified according to an obsolete internal format and has not been implemented for nearly 10 years.

By: md_5 <git@md-5.net>
2021-11-22 15:08:47 +11:00
Bukkit/Spigot
ccf26486ac #592: Add Player#sendEquipmentChange
By: Perzan <PerzanDevelopment@gmail.com>
2021-11-22 15:03:24 +11:00
Bukkit/Spigot
98195bb7a9 Update to Minecraft 1.18-pre5
By: md_5 <git@md-5.net>
2021-11-22 09:00:00 +11:00
Bukkit/Spigot
aa5b69a0ea #675: Fix typo in ItemFrame#setFixed
By: Cerus <m.dorn.2003@web.de>
2021-11-18 08:14:50 +11:00
Bukkit/Spigot
e3ed32721a #674: Optimize and cleanup PermissibleBase
By: JDIALIA <jdialia@gmail.com>
2021-11-16 07:27:40 +11:00
Bukkit/Spigot
80ca94de60 SPIGOT-6436: Add Player#stopAllSounds
By: Doc <nachito94@msn.com>
2021-11-05 21:02:12 +11:00
Bukkit/Spigot
3afdb08183 #667: Allow setting BrewEvent results
By: Doc <nachito94@msn.com>
2021-10-30 18:16:49 +11:00
Bukkit/Spigot
e887c31580 SPIGOT-6762: ChatPaginator.wordWrap only transfers one modifier
By: md_5 <git@md-5.net>
2021-10-29 18:45:29 +11:00
Bukkit/Spigot
283a637a66 SPIGOT-4590, SPIGOT-6769: Clarify DamageCause documentation
By: Doc <nachito94@msn.com>
2021-10-27 18:36:29 +11:00
Bukkit/Spigot
567948a8d1 SPIGOT-6771: Help command tab completion does not respect permissions
By: md_5 <git@md-5.net>
2021-10-24 20:33:42 +11:00
Bukkit/Spigot
ef5b7235a1 SPIGOT-6756: Clarify drop items in BlockBreakEvent
By: md_5 <git@md-5.net>
2021-10-16 19:01:10 +11:00
Bukkit/Spigot
5814757cc7 SPIGOT-6749: Library Loader does not correctly isolate dependencies
By: md_5 <git@md-5.net>
2021-10-13 08:12:16 +11:00
Bukkit/Spigot
6882afca7b SPIGOT-2903: Add Structure API
By: Sander Knauff <sanderknauff@hotmail.com>
2021-10-05 11:55:20 +11:00
Bukkit/Spigot
8b6e67635a #662: Support for configuring Water Underground Creatures spawn settings
By: Doc <nachito94@msn.com>
2021-10-05 11:31:21 +11:00
Bukkit/Spigot
f4b28573d2 #661: Fix Typo in ScoreboardManager documentation
By: olijeffers0n <69084614+olijeffers0n@users.noreply.github.com>
2021-10-04 21:08:43 +11:00
Bukkit/Spigot
1f934c6832 SPIGOT-6746: Clarify PlayerPortalEvent documentation
By: md_5 <git@md-5.net>
2021-09-25 08:02:58 +10:00
Bukkit/Spigot
e4ae7c57b7 SPIGOT-6738: Add entity type tags
By: md_5 <git@md-5.net>
2021-09-19 14:50:54 +10:00
Bukkit/Spigot
49c66e97e2 SPIGOT-6249: Add Missing Effect Constants
By: DerFrZocker <derrieple@gmail.com>
2021-09-11 18:39:43 +10:00
Bukkit/Spigot
eb1aaf62d4 SPIGOT-6729: Add Chunk.isEntitiesLoaded()
By: Brokkonaut <hannos17@gmx.de>
2021-09-06 18:51:44 +10:00
Bukkit/Spigot
891608deca SPIGOT-6547: Chunk#getEntities() doesn't return all entities immediately after chunk load
By: DerFrZocker <derrieple@gmail.com>
2021-09-01 18:55:16 +10:00
Bukkit/Spigot
5f7735a971 SPIGOT-6719: Add getTileEntities() to LimitedRegion
By: DerFrZocker <derrieple@gmail.com>
2021-08-30 18:44:39 +10:00
Bukkit/Spigot
74e1b5b72a #654: Clarify conditions where a bed can explode
By: Doc <nachito94@msn.com>
2021-08-28 18:57:58 +10:00
Bukkit/Spigot
99ce197044 SPIGOT-6697: Deprecate generateTree with BlockChangeDelegate as it does not handle tiles
By: md_5 <git@md-5.net>
2021-08-22 18:12:37 +10:00
Bukkit/Spigot
f84947b942 #653: Add World#spawn with randomizeData parameter
The current implementation of World#spawn or World#spawnEntity
respectively, always prepares/finalizes the spawn of every entity
spawned through the API. While this is great to simulate natural
spawning of entities in the world through the API, it fails at
reliably creating default entities for purposes other than vanilla
gameplay.

While the caller of the API could attempt to undo all of the
customization that is applied in the prepare/finalization step, they are
numerous (reaching from sheep colour to equipment) and in some cases,
such as the chicken jockey, even spawn in other entities.

Hence this commit introduces a new overload to the World#spawn and
World#spawnEntity methods that accepts the 'randomizeData' parameter
that, when set to false, skips the prior mentioned
preparation/finalization step.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-08-18 18:04:51 +10:00
Bukkit/Spigot
923e0e64b5 Damageable should extend ItemMeta
By: md_5 <git@md-5.net>
2021-08-16 15:36:45 +10:00
Bukkit/Spigot
c255eb3333 SPIGOT-5880, SPIGOT-5567: New ChunkGenerator API
## **Current API**
The current world generation API is very old and limited when you want to make more complex world generation. Resulting in some hard to fix bugs such as that you cannot modify blocks outside the chunk in the BlockPopulator (which should and was per the docs possible), or strange behavior such as SPIGOT-5880.

## **New API**
With the new API, the generation is more separate in multiple methods and is more in line with Vanilla chunk generation. The new API is designed to as future proof as possible. If for example a new generation step is added it can easily also be added as a step in API by simply creating the method for it. On the other side if a generation step gets removed, the method can easily be called after another, which is the case with surface and bedrock. The new API and changes are also fully backwards compatible with old chunk generators.

### **Changes in the new api**
**Extra generation steps:**
Noise, surface, bedrock and caves are added as steps. With those generation steps three extra methods for Vanilla generation are also added. Those new methods provide the ChunkData instead of returning one. The reason for this is, that the ChunkData is now backed by a ChunkAccess. With this, each step has the information of the step before and the Vanilla information (if chosen by setting a 'should' method to true). The old method is deprecated.

**New class BiomeProvider**
The BiomeProvider acts as Biome source and wrapper for the NMS class WorldChunkManager. With this the underlying Vanilla ChunkGeneration knows which Biome to use for the structure and decoration generation. (Fixes: SPIGOT-5880). Although the List of Biomes which is required in BiomeProvider, is currently not much in use in Vanilla, I decided to add it to future proof the API when it may be required in later versions of Minecraft.
The BiomeProvider is also separated from the ChunkGenerator for plugins which only want to change the biome map, such as single Biome worlds or if some biomes should be more present than others.

**Deprecated isParallelCapable**
Mojang has and is pushing to a more multi threaded chunk generation. This should also be the case for custom chunk generators. This is why the new API only supports multi threaded generation. This does not affect the old API, which is still checking this.

**Base height method added**
This method was added to also bring the Minecraft generator and Bukkit generator more in line. With this it is possible to return the max height of a location (before decorations). This is useful to let most structures know were to place them. This fixes SPIGOT-5567. (This fixes not all structures placement, desert pyramids for example are still way up at y-level 64, This however is more a vanilla bug and should be fixed at Mojangs end).

**WorldInfo Class**
The World object was swapped for a WorldInfo object. This is because many methods of the World object won't work during world generation and would mostly likely result in a deadlock. It contains any information a plugin should need to identify the world.

**BlockPopulator Changes**
Instead of directly manipulating a chunk, changes are now made to a new class LimitedRegion, this class provides methods to populated the chunk and its surrounding area. The wrapping is done so that the population can be moved into the place where Minecraft generates decorations. Where there is no chunk to access yet. By moving it into this place the generation is now async and the surrounding area of the chunk can also be used.

For common methods between the World and LimitedRegion a RegionAccessor was added.

By: DerFrZocker <derrieple@gmail.com>
2021-08-15 08:08:11 +10:00
Bukkit/Spigot
511a9aba49 Update ASM
By: md_5 <git@md-5.net>
2021-08-13 08:45:11 +10:00
Bukkit/Spigot
7f258ff344 Add dimension setting getters to World
By: Doc <nachito94@msn.com>
2021-08-11 18:57:21 +10:00
Bukkit/Spigot
5fef84d43d SPIGOT-6692: Add sendSignChange overload with a hasGlowingText parameter
By: Brokkonaut <hannos17@gmx.de>
2021-08-05 08:43:00 +10:00
Bukkit/Spigot
f33444292a SPIGOT-6691: Material.LAVA_CAULDRON is not Levelled
By: Doc <nachito94@msn.com>
2021-08-04 17:10:14 +10:00
Bukkit/Spigot
338df40644 #642: Add Crafting methods to API
By: James Peters <jameslfc19@gmail.com>
2021-07-22 11:35:43 +10:00
Bukkit/Spigot
146a88e577 SPIGOT-6641: Use varargs in sendMessage
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:38:11 +10:00
Bukkit/Spigot
95cc961f13 SPIGOT-6545: Unable to set Guardian target via API while awareness is disabled
By: DerFrZocker <derrieple@gmail.com>
2021-07-22 09:36:51 +10:00
Bukkit/Spigot
be93ac366d SPIGOT-6661: Fix missing radius from GenericGameEvent
By: md_5 <git@md-5.net>
2021-07-21 09:34:12 +10:00
Bukkit/Spigot
a2f69a4ad8 SPIGOT-6369: Add ItemStack to HangingPlaceEvent
By: DerFrZocker <derrieple@gmail.com>
2021-07-21 09:32:48 +10:00
Bukkit/Spigot
2e77f4180e SPIGOT-6657: Add getPlayer to SheepDyeWoolEvent
By: md_5 <git@md-5.net>
2021-07-18 11:07:59 +10:00
Bukkit/Spigot
ba6c523bf3 SPIGOT-6656: CauldronLevelChangeEvent is not fired correctly when dripstone fills the cauldron
By: md_5 <git@md-5.net>
2021-07-18 10:14:43 +10:00
Bukkit/Spigot
581806d851 SPIGOT-6642: Throw better message if plugin.yml is empty
By: md_5 <git@md-5.net>
2021-07-17 11:25:17 +10:00
Bukkit/Spigot
c30e6c45cd #636: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+Rabbitual@users.noreply.github.com>
2021-07-17 11:19:48 +10:00
Bukkit/Spigot
16922e92de SPIGOT-6646: Issue with map palette ranges
By: md_5 <git@md-5.net>
2021-07-15 20:32:47 +10:00
Bukkit/Spigot
64a83e2da9 #640: Add new Causes for LightningStrikeEvent
By: Doc <nachito94@msn.com>
2021-07-13 19:16:08 +10:00
Bukkit/Spigot
d4eef77474 SPIGOT-6637: Revert "#636: Add FurnaceStartSmeltEvent"
This reverts commit 09f5cdf4f8.

By: md_5 <git@md-5.net>
2021-07-11 12:26:48 +10:00
Bukkit/Spigot
730e0df7e4 SPIGOT-6623: Missing API reasons for entity freezing
By: Doc <nachito94@msn.com>
2021-07-11 09:32:32 +10:00
Bukkit/Spigot
09f5cdf4f8 #636: Add FurnaceStartSmeltEvent
By: Rabbitual <38820203+Rabbitual@users.noreply.github.com>
2021-07-11 09:25:55 +10:00
Bukkit/Spigot
0637c3f854 Update to Minecraft 1.17.1
By: md_5 <git@md-5.net>
2021-07-07 00:00:00 +10:00
Bukkit/Spigot
e0955fd24a SPIGOT-6527: Add AxolotlBucketMeta
By: Doc <nachito94@msn.com>
2021-07-04 09:31:17 +10:00
Bukkit/Spigot
6dd24e4af2 Update Maven plugins
By: md_5 <git@md-5.net>
2021-07-03 11:06:15 +10:00
Bukkit/Spigot
34e6b033ad SPIGOT-6616: Cancellable StriderTemperatureChangeEvent
By: md_5 <git@md-5.net>
2021-07-03 09:36:33 +10:00
Bukkit/Spigot
10f782354b SPIGOT-6605: Add method to access value of enforce-whitelist
By: md_5 <git@md-5.net>
2021-06-26 09:58:21 +10:00
Bukkit/Spigot
3835d0824b #633: Add isTrusting/setTrusting to Ocelot.
By: Ibrahim Ansari <ansari.ibrahim1@gmail.com>
2021-06-21 08:40:18 +10:00
Bukkit/Spigot
36f10a3e42 SPIGOT-6587: Update documentation/error of drop chance API
By: md_5 <git@md-5.net>
2021-06-20 12:15:14 +10:00
Bukkit/Spigot
b821059026 SPIGOT-6570: Missing InventoryType: COMPOSTER
By: md_5 <git@md-5.net>
2021-06-17 08:29:25 +10:00
Bukkit/Spigot
14e4e9a16c SPIGOT-6562: Add more specific sculk sensor event
By: md_5 <git@md-5.net>
2021-06-16 08:34:08 +10:00
Bukkit/Spigot
e0d1266d3e #631: Add Villager#shakeHead
By: VendoAU <reillyreaby@gmail.com>
2021-06-14 19:13:16 +10:00
Bukkit/Spigot
fd771b653b #629: Add LivingEntity#isClimbing
By: Martoph <sager1018@gmail.com>
2021-06-14 19:10:55 +10:00
Bukkit/Spigot
6a59a19dde SPIGOT-6507: Introduce abstract skeleton and stray conversion
The previous layout and class hierarchy of the skeleton API defined
variances of the skeleton, such as the wither skeleton or the stray, as
child types of the normal skeleton variance, which is technically
incorrect, yet did not produce any specific issue as the normal skeleton
variance did not have any unique logic.

With the introduction of powdered snow in the 1.17 update, the normal
skeleton variance now has unique logic, specifically the conversion to
a stay when stuck inside powdered snow, which cannot be represented in
the current API layout due to the prior mentioned hierarchy.

This commit introduces the AbstractSkeleton interface, which follows the
concept of other abstract interfaces like AbstractArrow and serves as a
common parent to the existing skeleton variances. Furthermore this
commit introduces the previously mentioned stray conversion to the
normal skeleton variance.

This commit does not break ABI yet breaks backwards compatibility due to
the mentioned hierarchy changes. Plugins that previously used the
Skelton interface to compute whether or not an entity is skeleton-like
through instanceOf checks will now only match the normal skeleton variance
instead of any skeleton-like entity.

By: Bjarne Koll <lynxplay101@gmail.com>
2021-06-14 10:00:57 +10:00
Bukkit/Spigot
106d3eef70 SPIGOT-6551: CaveVinesPlant missing extends BlockData
By: md_5 <git@md-5.net>
2021-06-14 08:43:45 +10:00
Bukkit/Spigot
6b0ff8582b #621: Add Block#getCollisionShape and associated API
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:32:51 +10:00
Bukkit/Spigot
34291f36d1 #623: Add Block#getBreakSpeed(Player)
By: konsolas <vincentyntang@gmail.com>
2021-06-14 08:27:32 +10:00
Bukkit/Spigot
b29d02153d #621: Add HumanEntity#getItemInUse and Material#getSlipperiness
By: konsolas <vincentyntang@gmail.com>
2021-06-12 21:07:25 +01:00
Bukkit/Spigot
e1c30137fb #622: Add methods to check if item is the breed item for an entity
By: Nathat23 <nathat890@outlook.com>
2021-06-13 08:37:51 +10:00
Bukkit/Spigot
f798154234 Clarify Player#breakBlock only works for blocks in the same world
By: md_5 <git@md-5.net>
2021-06-13 08:28:21 +10:00
Bukkit/Spigot
7efb9ecbfb SPIGOT-6514: Small Dripleaf block data is missing half property
By: DerFrZocker <derrieple@gmail.com>
2021-06-12 08:47:03 +10:00
Bukkit/Spigot
9777d23bd5 #619: Add Player#breakBlock()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-06-12 08:29:40 +10:00
Bukkit/Spigot
f034b5f0c2 Fix bad merge of SPIGOT-6502 fix
By: blablubbabc <lukas@wirsindwir.de>
2021-06-11 21:49:32 +10:00
Bukkit/Spigot
66524269f9 Downgrade SnakeYAML due to issues with comments parsing
By: md_5 <git@md-5.net>
2021-06-11 20:50:27 +10:00
Bukkit/Spigot
ba903c9c6d Fix inverted visual fire docs
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-06-11 16:25:57 +10:00
Bukkit/Spigot
153752dfac Update to Minecraft 1.17
By: md_5 <git@md-5.net>
2021-06-11 15:00:00 +10:00
Bukkit/Spigot
2e1a3720cf SPIGOT-6502: Loading a class from a library of another plugin resulted in a ClassCastException.
By: blablubbabc <lukas@wirsindwir.de>
2021-06-11 14:00:18 +10:00
Bukkit/Spigot
24bab712b3 #615: Calculate the reachable nodes only once per transitive dependency check.
By: blablubbabc <lukas@wirsindwir.de>
2021-06-05 08:09:50 +10:00
Bukkit/Spigot
c6409a81fd #522: Add piglin bartering API
By: Lars Dormans <lars.dormans@live.nl>
2021-05-28 08:59:13 +10:00
Bukkit/Spigot
3d74697e24 #613: Add PlayerBucketEntityEvent and make PlayerBucketFishEvent deprecated in favor of the newer, more generic event
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-05-28 08:39:24 +10:00
Bukkit/Spigot
b21ce6d13a SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers
By: md_5 <git@md-5.net>
2021-05-23 08:30:14 +10:00
Bukkit/Spigot
66af0a3e3c SPIGOT-5345: Add automatic library support
Example plugin.yml usage:
```
    libraries:
      - com.squareup.okhttp3:okhttp:4.9.0
```

Libraries will only be accessible to plugins and their transitive depends, allowing for multiple versions of the same library to be used by different plugins.

This feature is modeled on the parallel BungeeCord feature and intends to offer the same behaviour.
Although this is a preview feature, major changes to behaviour are not expected at this point.

With the exception of the issues described in SPIGOT-6419 it is not expected that this feature alters classloading behaviour, although some changes may be unavoidable.

By: md_5 <git@md-5.net>
2021-05-15 09:04:53 +10:00
Bukkit/Spigot
558f3a07cf Update entity loot tables in LootTables
By: md_5 <git@md-5.net>
2021-05-09 17:30:52 +10:00
Bukkit/Spigot
f8fcba26b3 #606: Add Player#getPing to access the player's ping
By: retrooper <retrooperdev@gmail.com>
2021-05-09 17:20:50 +10:00
Bukkit/Spigot
d8fbe1d4ee #567: Add ability to cancel ProjectileHitEvent
By: Martoph <sager1018@gmail.com>
2021-05-09 16:51:41 +10:00
Bukkit/Spigot
9c9c9763ae SPIGOT-6200: Add COMMAND to the CreateSpawnEvent.SpawnReason enum
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-05-09 16:32:25 +10:00
Bukkit/Spigot
0b3698eb62 Fix typo in BubbleColumn documentation
By: md_5 <git@md-5.net>
2021-05-02 11:47:28 +10:00
Bukkit/Spigot
2b0986b240 SPIGOT-6443: Fix PlayerBucketFishEvent#getWaterBucket returning the wrong item
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-05-01 08:34:11 +10:00
Bukkit/Spigot
0158dbb6fe SPIGOT-6373: Add getAttachedFace and setAttachedFace to the Shulker API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-28 11:52:04 +10:00
Bukkit/Spigot
0bb2894359 Remove old draft API tags
By: md_5 <git@md-5.net>
2021-04-27 11:34:32 +10:00
Bukkit/Spigot
2b580de08b #604: Add Contract annotation to ConfigurationSection
By: DerFrZocker <derrieple@gmail.com>
2021-04-27 11:34:32 +10:00
Bukkit/Spigot
8ffd9aaa65 #603: Specify what velocity changes in javadocs
By: Martoph <sager1018@gmail.com>
2021-04-27 11:34:31 +10:00
Bukkit/Spigot
c9fea04387 #508: Add PlayerBucketFishEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-04-25 08:34:28 +10:00
Bukkit/Spigot
b0c8a52b02 #601: Add Block#isPreferredTool
By: Flo0 <unconfigured@null.spigotmc.org>
2021-04-21 17:31:45 +10:00
Bukkit/Spigot
fbf66f5957 SPIGOT-6302: Javadoc fix for World#spawnEntity()
Method does not return null

By: Mmaarten <mmaartendisc@gmail.com>
2021-04-20 18:47:00 +10:00
Bukkit/Spigot
aa829fc936 SPIGOT-6388: Add API to get and set the state of the "Shulker" entity
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-19 18:47:42 +10:00
Bukkit/Spigot
31449091f3 SPIGOT-6078: Add SmithItemEvent and expand SmithingInventory API
By: Julian van den Berkmortel <julianvdberkmortel@outlook.com>
2021-04-18 18:03:18 +10:00
Bukkit/Spigot
9766143027 #597: Implemented Material#getEquipmentSlot() method
By: Jakub Zacek <dawon.cz@gmail.com>
2021-04-13 19:16:29 +10:00
Bukkit/Spigot
3b841edc7c SPIGOT-5877: Add scaffolding for custom dimensions and biomes
By: Martoph <sager1018@gmail.com>
2021-04-11 17:54:45 +10:00
Bukkit/Spigot
e829123b5e SPIGOT-6417: Add Creeper fuse ticks API
By: md_5 <git@md-5.net>
2021-04-11 17:32:21 +10:00
Bukkit/Spigot
4f17beef93 SPIGOT-6416: Add BlockFace#isCartesian()
By: md_5 <git@md-5.net>
2021-04-10 08:58:30 +10:00
Bukkit/Spigot
b2935a657a SPIGOT-6357: Add World#getMinHeight
By: md_5 <git@md-5.net>
2021-03-28 19:31:39 +11:00
Bukkit/Spigot
a796329436 Update ASM version
By: md_5 <git@md-5.net>
2021-03-17 07:52:48 +11:00
Bukkit/Spigot
4763ccb145 Use upstream plexus-compiler-eclipse
Relevant bugs have since been fixed

By: md_5 <git@md-5.net>
2021-03-14 12:16:27 +11:00
Bukkit/Spigot
d1017aa606 #591: Add option for a consumer before spawning an item
By: Martoph <sager1018@gmail.com>
2021-03-09 08:47:28 +11:00
Bukkit/Spigot
3df2b9e2ab #590: Add spawn and transform reasons for piglin zombification.
By: Nathat23 <nathat890@outlook.com>
2021-03-09 08:47:26 +11:00
Bukkit/Spigot
2ae343b93f Fix javadoc errors in previous commits
By: md_5 <git@md-5.net>
2021-03-04 09:20:27 +11:00
Bukkit/Spigot
5d55e7241c #578: Add methods to modify the rate of regeneration and starvation
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:02 +11:00
Bukkit/Spigot
c6f6cd05e4 #577: Add EntityExhaustionEvent
By: Martoph <sager1018@gmail.com>
2021-03-04 08:28:01 +11:00
Bukkit/Spigot
cfa2f67251 #588: Add Player#sendBlockDamage()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-02-24 20:21:37 +11:00
Bukkit/Spigot
19b6eb1dda #587: Fix various javadoc typos
By: Matthew Sanders <msanders5984@gmail.com>
2021-02-22 19:36:26 +11:00
Bukkit/Spigot
6924afb662 #510: Add NamespacedKey#fromString() to fetch from user input
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-02-16 18:52:16 +11:00
Bukkit/Spigot
d7224acea0 #581: Add methods to modify despawn delay for wandering villagers
By: DiamondDagger590 <diamonddagger590@gmail.com>
2021-02-15 19:30:12 +11:00
Bukkit/Spigot
652b7b8ea8 SPIGOT-5778: Added World.getGameTime method
By: Jakub Zacek <dawon.cz@gmail.com>
2021-02-13 10:25:32 +11:00
Bukkit/Spigot
d79c0d51af SPIGOT-6349: Material#MOSSY_COBBLESTONE incorrectly claims it is a MultipleFacing block
By: md_5 <git@md-5.net>
2021-02-08 21:06:47 +11:00
Bukkit/Spigot
f9af7f9ef6 SPIGOT-6316: PlayerBedLeaveEvent implements Cancellable
By: md_5 <git@md-5.net>
2021-01-29 11:22:52 +11:00
Bukkit/Spigot
7502690157 #571: Expand the FishHook API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2021-01-23 12:23:32 +11:00
Bukkit/Spigot
fe61d84f47 Improve /version command
By: md_5 <git@md-5.net>
2021-01-16 13:20:32 +11:00
Bukkit/Spigot
9e79e1d303 Update to Minecraft 1.16.5
By: md_5 <git@md-5.net>
2021-01-16 12:00:00 +11:00
Bukkit/Spigot
d34f1cd453 SPIGOT-6274: Reloading configuration does not clear previous values
By: blablubbabc <lukas@wirsindwir.de>
2021-01-13 08:35:37 +11:00
Bukkit/Spigot
c73564ed4b SPIGOT-6313: Revert "SPIGOT-6274: Reloading configuration does not clear previous values"
This reverts commit 885c2247d1.

By: md_5 <git@md-5.net>
2021-01-12 11:34:31 +11:00
Bukkit/Spigot
885c2247d1 SPIGOT-6274: Reloading configuration does not clear previous values
By: md_5 <git@md-5.net>
2021-01-12 09:37:26 +11:00
Bukkit/Spigot
f338bff9e3 #568: Added get/set ItemStack methods to trident
By: Auxilor <will@willfp.com>
2021-01-02 08:49:20 +11:00
Bukkit/Spigot
48294447ad SPIGOT-6273: Expose ItemFrame ItemDropChance through API
By: md_5 <git@md-5.net>
2020-12-28 08:58:51 +11:00
Bukkit/Spigot
95c9d5945f #562: Add API to set equipment silently
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-12-21 18:30:52 +11:00
Bukkit/Spigot
ddabe8f3b9 SPIGOT-6256: Add method to check if the entity is in water
By: montlikadani <montlikada@gmail.com>
2020-12-21 18:20:58 +11:00
Bukkit/Spigot
dcb21e0c7d #564: Add method to get max world size
By: pop4959 <pop4959@gmail.com>
2020-12-13 11:30:52 +11:00
Bukkit/Spigot
c88819ddd0 Fix javadoc in previous commit
By: md_5 <git@md-5.net>
2020-11-26 10:20:11 +11:00
Bukkit/Spigot
031310657d #561: Add clear weather World API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-11-26 10:08:22 +11:00
Bukkit/Spigot
5e82375383 #552: Add the ability to retrieve hit, step, fall, and other sounds from blocks.
By: Martoph <sager1018@gmail.com>
2020-11-26 09:36:59 +11:00
Bukkit/Spigot
d0bec6507f SPIGOT-6242: Fix some file line endings
By: md_5 <git@md-5.net>
2020-11-18 08:12:50 +11:00
Bukkit/Spigot
139ca6a269 SPIGOT-6234: enum classes don't serialize properly when implementing ConfigurationSerializable
By: md_5 <git@md-5.net>
2020-11-17 12:56:36 +11:00
Bukkit/Spigot
39f6cd7ffa SPIGOT-6233: Clarify InventoryClickEvent documentation
By: md_5 <git@md-5.net>
2020-11-10 19:02:37 +11:00
Bukkit/Spigot
1b3be885c1 SPIGOT-6229: Clarify PlayerItemBreakEvent documentation
By: md_5 <git@md-5.net>
2020-11-09 18:19:49 +11:00
Bukkit/Spigot
17cdd54b67 SPIGOT-6222: Correct javadoc for Entity#setPassenger
By: md_5 <git@md-5.net>
2020-11-06 19:12:54 +11:00
Bukkit/Spigot
8079a5520c #559: Add wait time modification for FishHook
By: Airtheon <Airtheonthesalion@gmail.com>
2020-11-06 18:47:40 +11:00
Bukkit/Spigot
e13ed11b85 SPIGOT-6213: MinecraftFont.getWidth(" ") returns 2 when it should be 3
By: md_5 <git@md-5.net>
2020-11-03 19:22:52 +11:00
Bukkit/Spigot
491c98487c Update to Minecraft 1.16.4
By: md_5 <git@md-5.net>
2020-11-03 07:00:00 +11:00
Bukkit/Spigot
08e19a69af #557: Add TNTPrimed#setSource method
By: Jakub Zacek <dawon.cz@gmail.com>
2020-10-25 18:10:02 +11:00
Bukkit/Spigot
7a26733389 Misc maven build updates
By: md_5 <git@md-5.net>
2020-10-17 17:51:05 +11:00
Bukkit/Spigot
f341d8d29a #556: Allow sending messages from specific UUIDs
By: Mariell Hoversholm <proximyst@proximyst.com>
2020-10-17 17:42:40 +11:00
Bukkit/Spigot
73f42f8bd4 #501: Add PersistentDataHolder to Chunk
By: Nesaak <52047222+Nesaak@users.noreply.github.com>
2020-10-17 17:37:10 +11:00
Bukkit/Spigot
41c261923a SPIGOT-6188: Javadoc typo on SkullMeta getOwner()
By: md_5 <git@md-5.net>
2020-10-17 17:33:42 +11:00
Bukkit/Spigot
54b0a6d645 #555: Item - add getters/setters for owner/thrower
By: Shane Bee <shanebolenback@me.com>
2020-10-14 19:56:11 +11:00
Bukkit/Spigot
32e338b513 #554: PoweredMinecart - add getter/setter for fuel
By: Shane Bee <shanebolenback@me.com>
2020-10-13 18:59:25 +11:00
Bukkit/Spigot
fbccd65ba8 #548: LivingEntity - add methods for getting/setting invisibility
By: Shane Bee <shanebolenback@me.com>
2020-09-19 17:43:52 +10:00
Bukkit/Spigot
9ff0ebcc6a #549: Add Fluid types / tags
By: Martoph <sager1018@gmail.com>
2020-09-14 19:36:28 +10:00
Bukkit/Spigot
60074ffbfd #550: Add getHandlerList into ArrowBodyCountChangeEvent
By: Martoph <sager1018@gmail.com>
2020-09-12 08:33:17 +10:00
Bukkit/Spigot
33b17b0532 Update deprecation message for PotionMeta.setMainEffect
By: md_5 <git@md-5.net>
2020-09-12 08:32:51 +10:00
Bukkit/Spigot
c1180fb36d Update to Minecraft 1.16.3
By: md_5 <git@md-5.net>
2020-09-11 07:00:00 +10:00
Bukkit/Spigot
ea326e0e3f Remove draft API from entity persistence
By: md_5 <git@md-5.net>
2020-09-03 08:23:47 +10:00
Bukkit/Spigot
dcad73811e #519: Add ArrowBodyCountChangeEvent
By: Martoph <sager1018@gmail.com>
2020-09-02 18:52:37 +10:00
Bukkit/Spigot
394a95bb69 #533: Add consumed item, hand and consumeItem boolean to EntityShootBowEvent
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-31 18:39:04 +10:00
Bukkit/Spigot
aee1e203cd #545: Add EnderSignal ItemStack API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-28 12:35:11 +10:00
Bukkit/Spigot
c642284c9c #535: Add EntityCategory API to LivingEntity
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:42:36 +10:00
Bukkit/Spigot
301266fe1b #526: Add Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-27 11:27:10 +10:00
Bukkit/Spigot
6ecfb063de SPIGOT-974: Add ArmorStand locking API
By: Martoph <sager1018@gmail.com>
2020-08-23 09:53:22 +10:00
Bukkit/Spigot
87927f4484 #543: Let World#setSpawnLocation() support an angle
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-18 17:54:34 +10:00
Bukkit/Spigot
045fc42649 #540: Add Inventory#isEmpty()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-16 11:21:05 +10:00
Bukkit/Spigot
6a0096dd86 #539: HumanEntity - add a method to make the entity drop the item they're holding
By: Shane Bee <shanebolenback@me.com>
2020-08-16 09:32:49 +10:00
Bukkit/Spigot
8f6edc374c #537: Add EntitySpellCastEvent for spellcaster illager
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-15 09:12:18 +10:00
Bukkit/Spigot
441cad2754 #538: Un-deprecate now implemented player portal event api
By: Phoenix616 <max@themoep.de>
2020-08-14 08:26:34 +10:00
Bukkit/Spigot
43a2f06e98 SPIGOT-4705: Revamp Ageable interface and add Breedable interface
By: Shane Bee <shanebolenback@me.com>
2020-08-13 11:18:50 +10:00
Bukkit/Spigot
319278404d #536: Add missing ItemFlag.HIDE_DYE
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-08-13 11:07:31 +10:00
Bukkit/Spigot
e5609360b2 SPIGOT-6065: Allow empty AttributeModifier name
By: md_5 <git@md-5.net>
2020-08-12 16:59:56 +10:00
Bukkit/Spigot
42b72d7c63 Update to Minecraft 1.16.2
By: md_5 <git@md-5.net>
2020-08-12 07:00:00 +10:00
Bukkit/Spigot
7278ee0293 #491: Add support to change block's lid state
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-29 19:40:57 +10:00
Bukkit/Spigot
3d462cfcdf SPIGOT-6037: Smithing inventory incorrect name
By: md_5 <git@md-5.net>
2020-07-29 19:29:43 +10:00
Bukkit/Spigot
1bf30431ae SPIGOT-6017: BoundingBox#rayTrace returns incorrect null
By: blablubbabc <lukas@wirsindwir.de>
2020-07-25 09:37:24 +10:00
Bukkit/Spigot
0fac9ae437 SPIGOT-5950: Add PrepareSmithingEvent event
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:21:43 +10:00
Bukkit/Spigot
4e44fa11b3 #525: Add contributors plugin.yml field.
Unlike "authors", names listed under the "contributors" field will not be named when AuthorNagExceptions are thrown. This makes a clear distinction between authorship and contributors as most contributions do not warrant the status of "author".

By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-22 18:17:07 +10:00
Bukkit/Spigot
2b0e21f46d #529: Added getRecipe() method to retrieve a Recipe by it's NamespacedKey
By: jameslfc19 <jameslfc19@gmail.com>
2020-07-22 18:14:55 +10:00
Bukkit/Spigot
2d628bb34a SPIGOT-5982: Update documentation for EntityChangeBlockEvent
By: md_5 <git@md-5.net>
2020-07-12 09:30:19 +10:00
Bukkit/Spigot
f0d2a47b7b #523: Added explicit API to stop a Jukebox from playing
By: Matthew Miller <mnmiller1@me.com>
2020-07-10 09:02:25 +10:00
Bukkit/Spigot
705628fb57 SPIGOT-5969: Update maximum structure block size
By: md_5 <git@md-5.net>
2020-07-09 08:46:09 +10:00
Bukkit/Spigot
e7097d04a6 SPIGOT-5970: Update JavaDocs information regarding WorldCreator#generatorSettings
By: Martoph <sager1018@gmail.com>
2020-07-09 08:43:22 +10:00
Bukkit/Spigot
f549bc9e52 Switch to annotations-java5 to fix duplicate annotations in docs
By: md_5 <git@md-5.net>
2020-07-06 11:05:43 +10:00
Bukkit/Spigot
9d90450e3c Improve javadocs by adding links to dependency docs
By: md_5 <git@md-5.net>
2020-07-04 09:52:19 +10:00
Bukkit/Spigot
3f517f0191 #503: Add PlayerHarvestBlockEvent
By: DiamondDagger590 <diamonddagger590@gmail.com>
2020-07-03 15:07:18 +10:00
Bukkit/Spigot
f399ada24d SPIGOT-5930: Add PlayerRespawnEvent#isAnchorSpawn
By: md_5 <git@md-5.net>
2020-07-03 09:54:12 +10:00
Bukkit/Spigot
c66b18ca72 SPIGOT-5900: Re-order Material enum entries to match Minecraft's order
By: Ben Woodworth <ben@benwoodworth.net>
2020-07-02 09:34:10 +10:00
Bukkit/Spigot
db73a4b2cf #507: Add hasDiscoveredRecipe() and getDiscoveredRecipes()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-07-02 09:27:16 +10:00
Bukkit/Spigot
ec51983b41 SPIGOT-5908: CompassMeta for new lodestone compass data
By: md_5 <git@md-5.net>
2020-07-01 10:48:29 +10:00
Bukkit/Spigot
6d439be293 SPIGOT-5906: Huge Fungi tree generation
By: md_5 <git@md-5.net>
2020-07-01 09:50:35 +10:00
Bukkit/Spigot
8c8b0c69df SPIGOT-5899: Hoglins API similar to Piglins
By: md_5 <git@md-5.net>
2020-06-30 12:02:50 +10:00
Bukkit/Spigot
ee04822ac1 SPIGOT-5887: ClickType doesn't include off hand swaps
By: md_5 <git@md-5.net>
2020-06-30 11:42:16 +10:00
Bukkit/Spigot
b308f3d92e SPIGOT-5886: Missing BlockData
By: md_5 <git@md-5.net>
2020-06-30 09:58:47 +10:00
Bukkit/Spigot
c689413d27 #512: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2020-06-30 09:53:40 +10:00
Bukkit/Spigot
e34cd0f4b9 SPIGOT-5803: Implement the missing methods for the Piglin API.
By: ceezuns <49824660+ceezuns@users.noreply.github.com>
2020-06-29 09:58:07 +10:00
Bukkit/Spigot
42799043b2 SPIGOT-5881: SnakeYaml 1.26 limits non-scalar (null) nodes while 1.25 does not
By: md_5 <git@md-5.net>
2020-06-29 09:06:29 +10:00
Bukkit/Spigot
932666525b SPIGOT-5810, SPIGOT-5835: 'Better' handling of Player.isOnGround
By: md_5 <git@md-5.net>
2020-06-28 10:15:49 +10:00
Bukkit/Spigot
66640aa645 Update ECJ version
By: md_5 <git@md-5.net>
2020-06-28 09:39:09 +10:00