Commit graph

4800 commits

Author SHA1 Message Date
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