Commit graph

4521 commits

Author SHA1 Message Date
CraftBukkit/Spigot
f01e218606 SPIGOT-7657: Error when loading angry entities
By: md_5 <git@md-5.net>
2024-05-03 19:06:46 +10:00
CraftBukkit/Spigot
c604cac551 SPIGOT-7652: Remove remap for SPELL_MOB_AMBIENT which no longer exists
By: md_5 <git@md-5.net>
2024-05-02 21:26:08 +10:00
CraftBukkit/Spigot
de3b4d1800 SPIGOT-7654: ItemStack#isSimilar does not work with empty BlockStateMeta
By: md_5 <git@md-5.net>
2024-05-02 21:22:32 +10:00
CraftBukkit/Spigot
54dd884d80 SPIGOT-7655: ItemMeta#addItemFlags(ItemFlag.HIDE_ATTRIBUTES) not working when no attribute modifiers set
By: md_5 <git@md-5.net>
2024-05-02 21:00:12 +10:00
CraftBukkit/Spigot
23b13ad11a SPIGOT-7653: Update ApiVersion.CURRENT with latest version and include tests
By: Doc <nachito94@msn.com>
2024-05-02 07:00:16 +10:00
CraftBukkit/Spigot
f13c8f9203 SPIGOT-7649: Allow /setworldspawn command in all worlds again
By: md_5 <git@md-5.net>
2024-04-30 06:41:46 +10:00
CraftBukkit/Spigot
b563a66078 #1389: Fix incorrect damager entity for projectile damage events
By: Doc <nachito94@msn.com>
2024-04-30 06:28:56 +10:00
CraftBukkit/Spigot
897584d94f Update to Minecraft 1.20.6
By: md_5 <git@md-5.net>
2024-04-30 06:15:00 +10:00
CraftBukkit/Spigot
a78a169340 SPIGOT-7617: Add BlockExplodeEvent#getExplodedBlockState()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-29 20:08:56 +10:00
CraftBukkit/Spigot
1390477e34 SPIGOT-7646: Don't duplicate PDC in customTag / retain old values
By: md_5 <git@md-5.net>
2024-04-29 07:38:24 +10:00
CraftBukkit/Spigot
4ae8689c1b SPIGOT-7644: Fix ItemMeta#getAsString
By: md_5 <git@md-5.net>
2024-04-28 07:41:53 +10:00
CraftBukkit/Spigot
0222693862 SPIGOT-7615: PlayerLeashEntityEvent cancelled eats lead
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:19 +10:00
CraftBukkit/Spigot
44c4305918 Do not remove leash knot if leasing to an existing leash knot gets cancelled
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:18 +10:00
CraftBukkit/Spigot
6041b5c6b5 SPIGOT-7643: Fix inverted leash event cancelled usage and remove leash knot if no entity gets leashed
By: DerFrZocker <derrieple@gmail.com>
2024-04-28 07:27:16 +10:00
CraftBukkit/Spigot
9963078a80 SPIGOT-7640: Abnormal jumping height of wind charge
By: DerFrZocker <derrieple@gmail.com>
2024-04-27 11:02:53 +02:00
CraftBukkit/Spigot
d220a7c580 SPIGOT-7639: Incoming plugin channels not working
By: md_5 <git@md-5.net>
2024-04-27 15:37:13 +10:00
CraftBukkit/Spigot
6dc63e45f2 Open a direct connection instead of pinging mojang server to check if it is reachable
By: DerFrZocker <derrieple@gmail.com>
2024-04-26 09:16:58 +02:00
CraftBukkit/Spigot
5602bd9758 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-04-26 16:03:46 +10:00
CraftBukkit/Spigot
a3b76ef171 Fix item placement
By: md_5 <git@md-5.net>
2024-04-25 18:18:59 +10:00
CraftBukkit/Spigot
18cee9d332 SPIGOT-7633: Clearer error message for missing particle data
By: md_5 <git@md-5.net>
2024-04-25 16:38:33 +10:00
CraftBukkit/Spigot
8a69fc5946 SPIGOT-7634: Armadillo updates infrequently
By: md_5 <git@md-5.net>
2024-04-25 16:30:34 +10:00
CraftBukkit/Spigot
b6c483ce92 Fix unit tests always seeing Mojang server as unavailable
By: md_5 <git@md-5.net>
2024-04-25 16:26:03 +10:00
CraftBukkit/Spigot
2f65b80661 SPIGOT-7636: Fix clearing ItemMeta
By: md_5 <git@md-5.net>
2024-04-25 16:15:01 +10:00
CraftBukkit/Spigot
b031cef198 SPIGOT-7635: Fix Player#transfer and cookie methods
By: md_5 <git@md-5.net>
2024-04-25 15:31:25 +10:00
CraftBukkit/Spigot
cd194c870f Fix incorrect Vault implementation
By: md_5 <git@md-5.net>
2024-04-25 10:31:36 +10:00
CraftBukkit/Spigot
befdb98f9c Update Maven plugins/versions
By: md_5 <git@md-5.net>
2024-04-25 10:27:52 +10:00
CraftBukkit/Spigot
715508e0dd SPIGOT-7632: Control middle clicking chest does not copy contents
By: md_5 <git@md-5.net>
2024-04-25 08:41:39 +10:00
CraftBukkit/Spigot
660079166f Use regular compiler seeing as ECJ doesn't support Java 21 JRE
By: md_5 <git@md-5.net>
2024-04-25 07:49:55 +10:00
CraftBukkit/Spigot
59e1a3ad42 Revert "BUILDTOOLS-676: Downgrade Maven compiler version"
This reverts commit 65d9b916a9.

By: md_5 <git@md-5.net>
2024-04-25 07:49:55 +10:00
CraftBukkit/Spigot
8da4819249 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
- Fix Attribute rename (CraftBukkit only)
- Add rename routing validation (CraftBukkit only)

By: DerFrZocker <derrieple@gmail.com>
2024-04-25 07:49:44 +10:00
CraftBukkit/Spigot
83028e946f SPIGOT-7629: Fix loading banner patterns
By: md_5 <git@md-5.net>
2024-04-25 07:45:19 +10:00
CraftBukkit/Spigot
42b7bb16d3 Fix equality of deserialized display names
By: md_5 <git@md-5.net>
2024-04-25 07:26:05 +10:00
CraftBukkit/Spigot
d195996997 SPIGOT-7631: Fix deserialisation of BlockStateMeta
By: md_5 <git@md-5.net>
2024-04-25 07:26:03 +10:00
CraftBukkit/Spigot
b458583b23 SPIGOT-7630: Fix crash saving unticked leashed entities
By: md_5 <git@md-5.net>
2024-04-25 06:51:14 +10:00
CraftBukkit/Spigot
2c37043b7f #1384: Disable certain PlayerProfile tests, if Mojang's services or internet are not available
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 18:12:31 +10:00
CraftBukkit/Spigot
4862893bef SPIGOT-7626: sendSignChange() has no effect
By: md_5 <git@md-5.net>
2024-04-24 18:10:39 +10:00
CraftBukkit/Spigot
e190aa6b33 SPIGOT-7625: ItemStack with lore cannot be serialized in 1.20.5
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 17:53:14 +10:00
CraftBukkit/Spigot
ad5b07669d SPIGOT-7620: Fix server crash when hoppers transfer items to double chests
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 11:19:05 +10:00
CraftBukkit/Spigot
65d9b916a9 BUILDTOOLS-676: Downgrade Maven compiler version
By: md_5 <git@md-5.net>
2024-04-24 11:05:47 +10:00
CraftBukkit/Spigot
86b52ff618 SPIGOT-7621: Fix empty strings in item lore
By: md_5 <git@md-5.net>
2024-04-24 08:12:08 +10:00
CraftBukkit/Spigot
6686458555 SPIGOT-7622: Fix error with Player#sendSignChange
By: md_5 <git@md-5.net>
2024-04-24 08:12:04 +10:00
CraftBukkit/Spigot
92ed83cf5c SPIGOT-7618: Fix custom world generators
By: md_5 <git@md-5.net>
2024-04-24 07:44:05 +10:00
CraftBukkit/Spigot
a45c5c5316 Fix cosmetic typo in exception message
By: md_5 <git@md-5.net>
2024-04-24 04:27:08 +10:00
CraftBukkit/Spigot
347f0eff78 #1380: Change wolf variant from enum to interface
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 04:22:03 +10:00
CraftBukkit/Spigot
f7de208151 #1379: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-24 02:32:48 +10:00
CraftBukkit/Spigot
85591014c5 #1378: Add methods to convert between an entity and a SNBT string
By: Jishuna <joshl5324@gmail.com>
2024-04-24 01:15:00 +10:00
CraftBukkit/Spigot
760899464e SPIGOT-5336: Field name parity with Minecraft keys
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 01:15:00 +10:00
CraftBukkit/Spigot
d122883f57 #1328: Rename CraftArrow to CraftAbstractArrow and CraftTippedArrow to CraftArrow to better reflect Bukkit's names
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 01:15:00 +10:00
CraftBukkit/Spigot
1b0447274f #1357: Remove legacy Particle values
By: DerFrZocker <derrieple@gmail.com>
2024-04-24 01:15:00 +10:00
CraftBukkit/Spigot
65bc2541a3 Update to Minecraft 1.20.5
By: md_5 <git@md-5.net>
2024-04-24 01:15:00 +10:00
CraftBukkit/Spigot
4deda9501f Remove outdated build delay
By: md_5 <git@md-5.net>
2024-04-24 01:00:00 +10:00
CraftBukkit/Spigot
e6730f6daf SPIGOT-7613: Don't respect mobGriefing gamerule in World#createExplosion() without source entity
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-17 19:13:29 +10:00
CraftBukkit/Spigot
f127f9030d #1363: Add API to copy BlockState to a new Location
By: lbenav8095 <lubensaico@gmail.com>
2024-04-07 12:22:10 +10:00
CraftBukkit/Spigot
f2f79d2380 #1367: Add more Conduit API
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-04-07 12:05:25 +10:00
CraftBukkit/Spigot
d54bcadd91 SPIGOT-6705: Re-print tab completion "Display all" message in console, when another message is being logged
By: DerFrZocker <derrieple@gmail.com>
2024-04-07 11:54:28 +10:00
CraftBukkit/Spigot
84d43ef379 #1362: Include Creeper igniter in causing entity for damage events
By: Doc <nachito94@msn.com>
2024-04-07 11:49:28 +10:00
CraftBukkit/Spigot
779b5137f8 #1369: Add World#getIntersectingChunks(BoundingBox)
By: Flo0 <flo.roma@web.de>
2024-04-01 09:43:49 +11:00
CraftBukkit/Spigot
3f9e7c4e39 Move getItemInUse up to LivingEntity
By: md_5 <git@md-5.net>
2024-03-30 12:54:26 +11:00
CraftBukkit/Spigot
dd0e55721d #1331: Add access to current item's remaining ticks
By: gIsForGravity <gavin.f.tantleff@gmail.com>
2024-03-30 12:54:20 +11:00
CraftBukkit/Spigot
064114e718 SPIGOT-7601: Add AbstractArrow#getItem
By: md_5 <git@md-5.net>
2024-03-30 12:17:57 +11:00
CraftBukkit/Spigot
7afeda6ff8 SPIGOT-7602: Allow opening in-world horse and related inventories
By: md_5 <git@md-5.net>
2024-03-30 12:08:32 +11:00
CraftBukkit/Spigot
0ae1e62bfc SPIGOT-7608: Allow empty lists to morph to any PDT list
The minecraft serialisation logic for ListTag updates the type byte of
the list tag during writing to match either the first element in the
list or 0, if said list tag is empty.
As such, list content type information cannot be carried through a
write/read process, e.g. chunk load/unload or a creative client updating
the item.

The recently introduced persistent data type collections for lists hence
can also not enforce a specific list content type if the found list is
empty, which it currently attempts to do.
As such, a call to PersistentDataContainer#has would also yield false
for any empty list as the lists type byte would be 0.

The faulty behaviour has been fixed by considering an empty list in the
persistent data container to match any list type.
This change, while technically breaking the #has check, is needed and
reasonable as the #has check for this is currently broken in the first
place as described above.

By: Bjarne Koll <lynxplay101@gmail.com>
2024-03-30 10:46:03 +11:00
CraftBukkit/Spigot
e0274e7202 Add support for Java 22
By: md_5 <git@md-5.net>
2024-03-29 21:23:37 +11:00
CraftBukkit/Spigot
0223e7ff73 SPIGOT-7604: Revert "SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime"
This reverts commit 13b4e915a0.

By: md_5 <git@md-5.net>
2024-03-20 20:31:48 +11:00
CraftBukkit/Spigot
13b4e915a0 SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-03-17 11:39:04 +11:00
CraftBukkit/Spigot
434aec3832 #1361: Add more translation keys
By: Miles Holder <mwholder2005@gmail.com>
2024-03-17 10:26:55 +11:00
CraftBukkit/Spigot
d76a8e373b SPIGOT-7600: EntityChangeBlockEvent is not fired for frog eggs
By: md_5 <git@md-5.net>
2024-03-11 15:09:39 +11:00
CraftBukkit/Spigot
4624f313ca SPIGOT-7593: Fix sapling growth physics / client-side updates
By: md_5 <git@md-5.net>
2024-03-11 15:03:33 +11:00
CraftBukkit/Spigot
db29270cd0 #1366: Expose riptide velocity to PlayerRiptideEvent
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-03-10 09:27:44 +11:00
CraftBukkit/Spigot
064818a555 SPIGOT-7587: Remove fixes for now-resolved MC-142590 and MC-109346
By: Doc <nachito94@msn.com>
2024-03-10 09:20:54 +11:00
CraftBukkit/Spigot
39994359d1 Fix copying BlockStates with fields (eg, Banner)
By: md_5 <git@md-5.net>
2024-03-06 06:57:15 +11:00
CraftBukkit/Spigot
6864ed6fba Fix Camel not standing up when hurt
By: md_5 <git@md-5.net>
2024-03-03 11:30:57 +11:00
CraftBukkit/Spigot
e24cb644a8 Increase outdated build delay
By: md_5 <git@md-5.net>
2024-02-29 06:49:54 +11:00
CraftBukkit/Spigot
95d69a6375 SPIGOT-7589 Fix NullPointerException when bans expire
By: Doc <nachito94@msn.com>
2024-02-22 19:55:53 +11:00
CraftBukkit/Spigot
64cd2b148a SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, #1008: Add EntityRemoveEvent
By: DerFrZocker <derrieple@gmail.com>
2024-02-21 20:55:34 +11:00
CraftBukkit/Spigot
6dc11b5d28 SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class
By: DerFrZocker <derrieple@gmail.com>
2024-02-17 14:04:58 +11:00
CraftBukkit/Spigot
3cfdcf8a3e SPIGOT-7417, #1343: Add Sign#getTargetSide and Sign#getAllowedEditor
By: Jishuna <joshl5324@gmail.com>
2024-02-17 14:02:38 +11:00
CraftBukkit/Spigot
219db06f85 Fix accidentally renamed internal damage method
By: md_5 <git@md-5.net>
2024-02-11 09:58:07 +11:00
CraftBukkit/Spigot
49b5ee78bb SPIGOT-7300, #1180: Add new DamageSource API providing enhanced information about entity damage
By: Doc <nachito94@msn.com>
2024-02-11 09:54:25 +11:00
CraftBukkit/Spigot
db4af65c2e SPIGOT-7581: Fix typo in BlockMushroom
By: md_5 <git@md-5.net>
2024-02-09 19:00:25 +11:00
CraftBukkit/Spigot
684554a642 SPIGOT-7576, #1347: Add methods in MushroomCow to change stew effects
By: Doc <nachito94@msn.com>
2024-02-08 22:54:51 +11:00
CraftBukkit/Spigot
b5ff47182d #1259: Add Server#isLoggingIPs to get log-ips configuration
By: Doc <nachito94@msn.com>
2024-02-07 07:09:34 +11:00
CraftBukkit/Spigot
c434d05d57 Improve support for per-world game rules
By: md_5 <git@md-5.net>
2024-02-04 10:54:20 +11:00
CraftBukkit/Spigot
497c50463c #1348: Add Player methods for client-side potion effects
By: Jishuna <joshl5324@gmail.com>
2024-02-04 10:10:30 +11:00
CraftBukkit/Spigot
49c217ec31 #1335: Add API for in-world structures
By: coll1234567 <joshl5324@gmail.com>
2024-02-04 10:04:35 +11:00
CraftBukkit/Spigot
f85f51fcf0 SPIGOT-7577: Make CraftWindCharge#explode discard the entity
By: Doc <nachito94@msn.com>
2024-02-04 09:57:17 +11:00
CraftBukkit/Spigot
b4d633f7df Fix Crafter maximum stack size
By: md_5 <git@md-5.net>
2024-02-03 13:52:43 +11:00
CraftBukkit/Spigot
4fde00f8dc SPIGOT-7530, #1314: Improve Resource Pack API with new 1.20.3 functionality
By: md_5 <git@md-5.net>
2024-01-31 22:02:45 +11:00
CraftBukkit/Spigot
4a1ae2fa02 SPIGOT-3071, #1345: Add entity spawn method with spawn reason
By: DerFrZocker <derrieple@gmail.com>
2024-01-31 20:08:05 +11:00
CraftBukkit/Spigot
9c58e790bc #1353: Fix Structure#place not working as documented with 0 palette
By: Jishuna <joshl5324@gmail.com>
2024-01-31 20:01:58 +11:00
CraftBukkit/Spigot
c094bcbac2 SPIGOT-6911, #1349: Change max book length in CraftMetaBook
By: DerFrZocker <derrieple@gmail.com>
2024-01-31 19:59:28 +11:00
CraftBukkit/Spigot
aca2bf97bb SPIGOT-7572: Bee nests generated without bees
By: DerFrZocker <derrieple@gmail.com>
2024-01-27 14:59:22 +11:00
CraftBukkit/Spigot
7b15562116 SPIGOT-5553, #1336: Add EntityKnockbackEvent
By: Jishuna <joshl5324@gmail.com>
2024-01-27 14:53:41 +11:00
CraftBukkit/Spigot
67ab2cd516 SPIGOT-7568: Call EntityChangeBlockEvent for DecoratedPot
By: Doc <nachito94@msn.com>
2024-01-24 21:49:24 +11:00
CraftBukkit/Spigot
f5b984c8a0 SPIGOT-7575: SuspiciousStewMeta creates invalid PotionEffect data
By: Doc <nachito94@msn.com>
2024-01-24 21:45:52 +11:00
CraftBukkit/Spigot
d7095f8578 #1340: Centralize the conversion from and to Minecraft / Bukkit registry items even more and add a test case for them
By: DerFrZocker <derrieple@gmail.com>
2024-01-22 20:36:36 +11:00
CraftBukkit/Spigot
e6b4a5f109 #1338: Introduce getRespawnLocation as a replacement for getBedSpawnLocation
By: Nothixal <nothixal@gmail.com>
2024-01-22 20:27:09 +11:00
CraftBukkit/Spigot
5165e97c74 SPIGOT-7570: PrepareItemCraftEvent#isRepair() always returns false
By: md_5 <git@md-5.net>
2024-01-18 22:19:05 +11:00
CraftBukkit/Spigot
f4f370e55e #1337: Add DragonBattle#setPreviouslyKilled
By: DaFeist <56165444+dafeist-github@users.noreply.github.com>
2024-01-17 18:23:36 +11:00
CraftBukkit/Spigot
753db7f2fc SPIGOT-6921, #1330: Add methods to remove all enchantments on an ItemStack
By: Nothixal <nothixal@gmail.com>
2024-01-16 07:38:55 +11:00