Commit Graph

3021 Commits

Author SHA1 Message Date
Bukkit/Spigot
21795ec6f6 Add PlayerInputEvent
By: md_5 <git@md-5.net>
2024-10-24 20:42:26 +11:00
Bukkit/Spigot
817b117728 #1068: TreeType - add missing pale oak trees
By: shanebeee <shanebolenback@me.com>
2024-10-24 07:07:52 +11:00
Bukkit/Spigot
ed88e3dc32 Update to Minecraft 1.21.3
By: md_5 <git@md-5.net>
2024-10-24 06:15:00 +11:00
Bukkit/Spigot
ed038ac6c8 SPIGOT-7919: Add API to access current player input
By: md_5 <git@md-5.net>
2024-10-23 08:04:12 +11:00
Bukkit/Spigot
032ab01850 SPIGOT-7920: Expose enderpearls of Player
By: md_5 <git@md-5.net>
2024-10-23 07:20:04 +11:00
Bukkit/Spigot
015aeabb40 Feature flag end date should be exclusive
By: md_5 <git@md-5.net>
2024-10-23 07:20:02 +11:00
Bukkit/Spigot
cd27f1b0c7 Update to Minecraft 1.21.2
By: md_5 <git@md-5.net>
2024-10-23 02:15:00 +11:00
Bukkit/Spigot
68de2de253 Add support for Java 23
By: md_5 <git@md-5.net>
2024-10-14 19:57:01 +11:00
Bukkit/Spigot
bf211e633c Bump asm to 9.7.1
By: DerFrZocker <derrieple@gmail.com>
2024-10-06 14:40:55 +02:00
Bukkit/Spigot
196d06aa91 #1064: Add specific getTopInventory methods for InventoryView derivatives
By: Miles Holder <mwholder@proton.me>
2024-10-06 18:45:07 +11:00
Bukkit/Spigot
68492a4f7e SPIGOT-7911: Fix Location#isWorldLoaded() for re-loaded worlds
By: md_5 <git@md-5.net>
2024-10-06 18:13:21 +11:00
Bukkit/Spigot
5f8dbb00f6 Improve Registry#getOrThrow messages
By: md_5 <git@md-5.net>
2024-09-27 08:21:26 +10:00
Bukkit/Spigot
42cd6c82ff #1058: Add tests for Minecraft registry <-> Bukkit fields
By: DerFrZocker <derrieple@gmail.com>
2024-09-27 08:15:05 +10:00
Bukkit/Spigot
49d12d442a #1062: Clarify BeaconView documentation
By: Miles Holder <mwholder@proton.me>
2024-09-25 07:48:43 +10:00
Bukkit/Spigot
3ea55de712 #1060: Cache Material to BlockType and ItemType conversion
By: DerFrZocker <derrieple@gmail.com>
2024-09-24 21:07:47 +10:00
Bukkit/Spigot
f73b5cbdb3 SPIGOT-7906: Increase YAML nesting limit to 100
By: blablubbabc <lukas@wirsindwir.de>
2024-09-24 07:47:30 +10:00
Bukkit/Spigot
afaa0a1d88 SPIGOT-7899: Smithing recipes don't require inputs
By: md_5 <git@md-5.net>
2024-09-15 16:50:14 +10:00
Bukkit/Spigot
f585e110be #1049: Add MenuType API
By: Miles Holder <mwholder2005@gmail.com>
2024-09-07 18:51:55 +10:00
Bukkit/Spigot
aae72268cb #1055: Expand riptiding API
By: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
2024-09-07 18:06:52 +10:00
Bukkit/Spigot
cc919bf976 SPIGOT-7890: AttributeModifier#getUniqueId() doesn't match the UUID passed to its constructor
By: md_5 <git@md-5.net>
2024-08-31 08:57:51 +10:00
Bukkit/Spigot
b5a8d2cf35 SPIGOT-7886: Fix mistake in AttributeModifier UUID shim
By: md_5 <git@md-5.net>
2024-08-28 18:32:56 +10:00
Bukkit/Spigot
8d803e683c #1054: Add FireworkMeta#hasPower
By: Doc <nachito94@msn.com>
2024-08-24 07:44:42 +10:00
Bukkit/Spigot
baffaf0195 SPIGOT-7873: Add powered state for skulls
By: md_5 <git@md-5.net>
2024-08-24 07:41:52 +10:00
Bukkit/Spigot
7104b35192 #1053: Change docs for max power in FireworkMeta
By: Doc <nachito94@msn.com>
2024-08-17 08:37:41 +10:00
Bukkit/Spigot
adbd9c39ef SPIGOT-7783, SPIGOT-7784, #1051: Add Trial Vault & Spawner event API
By: ShreyasAyyengar <shreyas.ayyengar@gmail.com>
2024-08-13 20:49:59 +10:00
Bukkit/Spigot
70566085b8 #1052: Fix broken links and minor improvement for checkstyle.xml
By: Doc <nachito94@msn.com>
2024-08-12 21:26:44 +10:00
Bukkit/Spigot
bac0b178c0 Update to Minecraft 1.21.1
By: md_5 <git@md-5.net>
2024-08-09 07:00:00 +10:00
Bukkit/Spigot
4378d2ea30 #1050: Fix empty result check for Complex Recipes
By: Doc <nachito94@msn.com>
Also-by: Bjarne Koll <lynxplay101@gmail.com>
2024-08-01 07:53:56 +10:00
Bukkit/Spigot
bc71bebfb4 #1044: Add CrafterCraftEvent
By: ploppyperson <nathat890@outlook.com>
2024-07-30 07:07:06 +10:00
Bukkit/Spigot
6d5823ee01 Use correct method in JavaDoc
By: md_5 <git@md-5.net>
2024-07-27 11:29:45 +10:00
Bukkit/Spigot
0611d599bd SPIGOT-7850: Add API for Bogged shear state
By: md_5 <git@md-5.net>
2024-07-27 10:28:32 +10:00
Bukkit/Spigot
d767353e69 SPIGOT-7837: Support data pack banner patterns
By: Doc <nachito94@msn.com>
2024-07-27 10:14:38 +10:00
Bukkit/Spigot
d716606f61 Fix JavaDoc error
By: md_5 <git@md-5.net>
2024-07-27 10:08:56 +10:00
Bukkit/Spigot
2c04f1b473 #1036: Add API for InventoryView derivatives
By: Miles Holder <mwholder2005@gmail.com>
2024-07-27 10:01:25 +10:00
Bukkit/Spigot
fa9505e579 SPIGOT-7809: Add ShieldMeta
By: Doc <nachito94@msn.com>
2024-07-20 10:15:18 +10:00
Bukkit/Spigot
ecf335eebe SPIGOT-7829: Increase maximum outgoing plugin message size to match Vanilla intention
By: md_5 <git@md-5.net>
2024-07-16 19:59:14 +10:00
Bukkit/Spigot
acb31909b0 SPIGOT-7831: Add CreatureSpawnEvent.SpawnReason#POTION_EFFECT
By: Doc <nachito94@msn.com>
2024-07-16 19:53:03 +10:00
Bukkit/Spigot
da7c1149bc SPIGOT-7827: Sync EntityPortalEvent with PlayerPortalEvent since non-players can now create portals
By: md_5 <git@md-5.net>
2024-07-10 19:43:39 +10:00
Bukkit/Spigot
bf8d602a0a Remove spurious ApiStatus.Internal annotation
By: md_5 <git@md-5.net>
2024-07-07 17:25:31 +10:00
Bukkit/Spigot
58999b263e SPIGOT-7799, #1039: Expose explosion world interaction in EntityExplodeEvent and BlockExplodeEvent
By: antiPerson <nathat890@outlook.com>
2024-07-06 17:19:42 +10:00
Bukkit/Spigot
abc756fce8 #1029: Trial changing a small number of inner enums to classes/interfaces to better support custom values
This PR is a subset of the enum PR #660 and is designed as a low impact
trial run of the design and backwards compatibility to inform subsequent
development.

Additional plugin compatibility features may be available by setting
`settings.compatibility.enum-compatibility-mode` to `true` in
`bukkit.yml`.

By: DerFrZocker <derrieple@gmail.com>
2024-07-06 17:14:17 +10:00
Bukkit/Spigot
250d585147 #1041: Improve getPlayer(String) docs to clarify it matches the name
By: Phoenix616 <max@themoep.de>
2024-07-03 20:30:38 +10:00
Bukkit/Spigot
a414ad97f2 Fix spawner API documentation
By: md_5 <git@md-5.net>
2024-06-28 07:17:26 +10:00
Bukkit/Spigot
9683d23812 #1034: Add TrialSpawnerSpawnEvent
By: Doc <nachito94@msn.com>
2024-06-28 07:06:33 +10:00
Bukkit/Spigot
6db0f40e5b #973: Improve spawner API and add API for Trial Spawners
By: coll1234567 <joshl5324@gmail.com>
2024-06-28 07:06:14 +10:00
Bukkit/Spigot
68d6fa6800 #1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc
By: Miles Holder <mwholder2005@gmail.com>
2024-06-22 18:48:49 +10:00
Bukkit/Spigot
125fef9ab7 SPIGOT-7732, SPIGOT-7786: Add freezing damage modifier
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-06-22 18:46:39 +10:00
Bukkit/Spigot
d7e18281ec #1034: Add CreatureSpawnEvent.SpawnReason#TRIAL_SPAWNER
By: Doc <nachito94@msn.com>
2024-06-19 19:18:42 +10:00
Bukkit/Spigot
540caab840 SPIGOT-7777: All entity potion effects are removed on death
By: md_5 <git@md-5.net>
2024-06-19 07:09:58 +10:00
Bukkit/Spigot
48b3ffa858 #1031: Expose Creeper igniter
By: Doc <nachito94@msn.com>
2024-06-19 06:45:43 +10:00
Bukkit/Spigot
7df49b52f2 SPIGOT-7770: Reserve spaces in shaped recipes for blank ingredients
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-06-18 19:06:03 +10:00
Bukkit/Spigot
8952c0a90f Clarify ambiguity around what is API
By: md_5 <git@md-5.net>
2024-06-18 06:45:40 +10:00
Bukkit/Spigot
0584f1033a Remove note from InventoryView JavaDoc
By: Miles Holder <mwholder2005@gmail.com>
2024-06-17 15:35:59 -05:00
Bukkit/Spigot
edbeab47e3 #1030: Deprecate more unused methods in UnsafeValues
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-06-17 20:56:15 +10:00
Bukkit/Spigot
97799a3ec0 SPIGOT-7771: Material.getDefaultAttributes always returns an empty map
By: md_5 <git@md-5.net>
2024-06-17 19:44:09 +10:00
Bukkit/Spigot
dbc554a91b #1023: Convert InventoryView to interface
By: Miles Holder <mwholder2005@gmail.com>
2024-06-16 08:47:34 +10:00
Bukkit/Spigot
d7e28ba2f2 Make MapCursor#type not depends on deprecated values
By: Doc <nachito94@msn.com>
2024-06-14 15:34:04 -04:00
Bukkit/Spigot
4ec75943ed SPIGOT-7740: Fix using new map cursor types
By: md_5 <git@md-5.net>
2024-06-14 07:09:19 +10:00
Bukkit/Spigot
2b6b2a9f20 Add EntityDamageEvent.DamageCause#CAMPFIRE
By: Doc <nachito94@msn.com>
2024-06-13 12:21:46 -04:00
Bukkit/Spigot
5c69fd52f0 Update to Minecraft 1.21
By: md_5 <git@md-5.net>
2024-06-14 01:05:00 +10:00
Bukkit/Spigot
9c6bdb14e4 SPIGOT-7677: Update which entities are marked as spawnable
By: md_5 <git@md-5.net>
2024-06-12 07:16:40 +10:00
Bukkit/Spigot
bb018f51f6 SPIGOT-7737: Add separate TreeType.MEGA_PINE
By: md_5 <git@md-5.net>
2024-06-11 21:04:52 +10:00
Bukkit/Spigot
69683a66cc SPIGOT-7731: Spawn eggs cannot have damage
By: Doc <nachito94@msn.com>
2024-06-10 14:06:27 +10:00
Bukkit/Spigot
a19c7f8470 #1022: Add force option to Player#spawnParticle
By: Jishuna <joshl5324@gmail.com>
2024-06-08 09:11:25 +10:00
Bukkit/Spigot
b4ac71a201 #1018: Add methods to get players seeing specific chunks
By: MetallicGoat <the.great.metallic.goat@gmail.com>
2024-06-08 09:03:39 +10:00
Bukkit/Spigot
3dcb0dfc9a #978: Add Material#isCompostable and Material#getCompostChance
By: mfnalex <mfnalex@jeff-media.com>
2024-06-05 07:15:46 +10:00
Bukkit/Spigot
a3fb15bc23 SPIGOT-7676: Enforce locale parameter in toLowerCase and toUpperCase method calls and always use root locale
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:18:14 +10:00
Bukkit/Spigot
b0df4fc813 #1020: Cast instead of using #typed when getting BlockType and ItemType to better work with testing / mocks
By: DerFrZocker <derrieple@gmail.com>
2024-06-03 07:15:10 +10:00
Bukkit/Spigot
f9b0675bdd #1016: Fix incorrect assumption of Fireball having constant speed
By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:56:40 +10:00
Bukkit/Spigot
932c4966ad #1015: Add a tool component to ItemMeta
By: 2008Choco <hawkeboyz2@hotmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-29 06:53:57 +10:00
Bukkit/Spigot
2642e438f0 #1014: Add PotionEffectTypeCategory to distinguish between beneficial and harmful effects
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-29 06:50:05 +10:00
Bukkit/Spigot
ce747e1973 #1013, SPIGOT-4288, SPIGOT-6202: Add material rerouting in preparation for the switch to ItemType and BlockType
This also moves the conversion from and to legacy material to the method
calls of legacy plugins, and no longer allows them directly in the
server.

This has the side effect of fixing some legacy plugin issues, such as
SPIGOT-4288, SPIGOT-6161. Also fixes legacy items sometimes not stacking
in inventory when using addItem, a client disconnect when using legacy
items in recipes and probably some more.

By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:48:52 +10:00
Bukkit/Spigot
6a3d5c24c2 SPIGOT-7669: Fix typo in ProjectileHitEvent#getHitBlockFace documentation
By: Doc <nachito94@msn.com>
2024-05-20 21:56:11 +10:00
Bukkit/Spigot
25c8c8a3da #1011: Throw an exception if a RecipeChoice is ever supplied air
This would otherwise crash the client.

By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-14 19:52:25 +10:00
Bukkit/Spigot
30784afe2f #1007: Add ItemMeta#getAsComponentString()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-06 20:23:36 +10:00
Bukkit/Spigot
0ece9a991b Fix copy-pasted BlockType.Typed documentation
By: md_5 <git@md-5.net>
2024-05-06 20:20:54 +10:00
Bukkit/Spigot
26f4f1cf7d Largely restore deprecated PotionData API
By: md_5 <git@md-5.net>
2024-05-05 20:45:43 +10:00
Bukkit/Spigot
d8b68e62df #1008: Deprecate ITEMS_TOOLS, removed in 1.20.5
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-05 10:42:08 +10:00
Bukkit/Spigot
b7f877a67d Fix Javadoc reference
By: md_5 <git@md-5.net>
2024-05-05 10:18:53 +10:00
Bukkit/Spigot
fc9e5af885 #919: Add internal ItemType and BlockType, delegate Material methods to them
By: Jishuna <joshl5324@gmail.com>
Also-by: Bjarne Koll <lynxplay101@gmail.com>
Also-by: DerFrZocker <derrieple@gmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-05 10:08:51 +10:00
Bukkit/Spigot
ba1db8acb9 SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent
By: Doc <nachito94@msn.com>
2024-05-05 09:34:53 +10:00
Bukkit/Spigot
eb7e6bde61 SPIGOT-6993: Allow #setVelocity to change the speed of a fireball and add a note to #setDirection about it
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 19:34:24 +10:00
Bukkit/Spigot
92293c1b89 #1004: Improve field rename handling and centralize conversion between bukkit and string more
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 08:19:04 +10:00
Bukkit/Spigot
a3c30e3ee2 SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent
By: Doc <nachito94@msn.com>
2024-05-04 08:15:58 +10:00
Bukkit/Spigot
9bbcd799fa Update to Minecraft 1.20.6
By: md_5 <git@md-5.net>
2024-04-30 06:15:00 +10:00
Bukkit/Spigot
d8e657a271 SPIGOT-7617: Add BlockExplodeEvent#getExplodedBlockState()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-29 20:08:52 +10:00
Bukkit/Spigot
74cf79c267 #1002: Improve documentation and implementation of getMaxStackSize
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-28 09:11:30 +10:00
Bukkit/Spigot
d89271b470 SPIGOT-7638: Library loader does not seem to resolve every dependency
By: DerFrZocker <derrieple@gmail.com>
2024-04-27 09:23:19 +10:00
Bukkit/Spigot
c30ea3a2d3 SPIGOT-7637: Bad logic in checking nullability of AttributeModifier slots
Also fix Class loading order issues, which resulted in EquipmentSlot#getGroup returning null, since EquipmentSlot and EquipmentSlotGroup referencing each other on class init.
This caused EquipmentSlot to being init first, when the fields in EquipmentSlotGroup are still null, resulting in the group being null.

By: DerFrZocker <derrieple@gmail.com>
2024-04-25 21:06:52 +02:00
Bukkit/Spigot
1ba56ce1ca Add some missing deprecation annotations
By: md_5 <git@md-5.net>
2024-04-25 10:27:43 +10:00
Bukkit/Spigot
374841b40f Update Maven plugins/versions
By: md_5 <git@md-5.net>
2024-04-25 10:27:40 +10:00
Bukkit/Spigot
1411d482d5 Use regular compiler seeing as ECJ doesn't support Java 21 JRE
By: md_5 <git@md-5.net>
2024-04-25 07:49:52 +10:00
Bukkit/Spigot
2304bc31f5 Revert "BUILDTOOLS-676: Downgrade Maven compiler version"
This reverts commit c5183dc422.

By: md_5 <git@md-5.net>
2024-04-25 07:49:51 +10:00
Bukkit/Spigot
1be3d0749e SPIGOT-7355: More field renames and fixes
- Rename MapCursor Types to match their Minecraft names
- SPIGOT-7355: Rename ItemFlag#HIDE_POTION_EFFECTS to better reflect its function

By: DerFrZocker <derrieple@gmail.com>
2024-04-25 07:49:38 +10:00
Bukkit/Spigot
39c16e418e Fix bad merge in penultimate commit
By: md_5 <git@md-5.net>
2024-04-24 18:56:26 +10:00
Bukkit/Spigot
63e9877c7a Fix imports in previous commit
By: md_5 <git@md-5.net>
2024-04-24 18:51:23 +10:00
Bukkit/Spigot
9f064c2cc7 #995: Add required feature to MinecraftExperimental for easy lookups
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 18:19:37 +10:00
Bukkit/Spigot
c5183dc422 BUILDTOOLS-676: Downgrade Maven compiler version
By: md_5 <git@md-5.net>
2024-04-24 11:05:43 +10:00
Bukkit/Spigot
358a4da17e #997: Change wolf variant from enum to interface
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 04:21:58 +10:00
Bukkit/Spigot
4ba949cee7 #996: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 02:32:44 +10:00