4292 Commits

Author SHA1 Message Date
md_5
661afb43c3
SPIGOT-7633: Clearer error message for missing particle data 2024-04-25 16:38:33 +10:00
md_5
7c7ac5eb24
SPIGOT-7636: Fix clearing ItemMeta 2024-04-25 16:15:01 +10:00
md_5
4a72905cf7
SPIGOT-7635: Fix Player#transfer and cookie methods 2024-04-25 15:31:25 +10:00
md_5
ebb50e1365
Fix incorrect Vault implementation 2024-04-25 10:31:36 +10:00
md_5
6f00f0608a
SPIGOT-7632: Control middle clicking chest does not copy contents 2024-04-25 08:41:39 +10:00
DerFrZocker
0297f87bb0
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)
2024-04-25 07:49:44 +10:00
md_5
2d03bdf6aa
SPIGOT-7629: Fix loading banner patterns 2024-04-25 07:45:19 +10:00
md_5
e77951fac9
Fix equality of deserialized display names 2024-04-25 07:26:05 +10:00
md_5
c66f3e4fdb
SPIGOT-7631: Fix deserialisation of BlockStateMeta 2024-04-25 07:26:03 +10:00
md_5
ced93d572d
SPIGOT-7626: sendSignChange() has no effect 2024-04-24 18:10:39 +10:00
DerFrZocker
c77362caeb
SPIGOT-7625: ItemStack with lore cannot be serialized in 1.20.5 2024-04-24 17:53:14 +10:00
md_5
062d2bb13b
SPIGOT-7621: Fix empty strings in item lore 2024-04-24 08:12:08 +10:00
md_5
3b72391602
SPIGOT-7622: Fix error with Player#sendSignChange 2024-04-24 08:12:04 +10:00
md_5
b3229d15aa
Fix cosmetic typo in exception message 2024-04-24 04:27:08 +10:00
DerFrZocker
5d57527c2a
#1380: Change wolf variant from enum to interface 2024-04-24 04:22:03 +10:00
2008Choco
48f96fbbbd
#1379: Rename FoodMeta#get/setSaturationModifier() to #get/setSaturation() 2024-04-24 02:32:48 +10:00
Jishuna
8d3e67d865
#1378: Add methods to convert between an entity and a SNBT string 2024-04-24 01:15:00 +10:00
DerFrZocker
801767ed80
SPIGOT-5336: Field name parity with Minecraft keys 2024-04-24 01:15:00 +10:00
DerFrZocker
2f35ed0c45
#1328: Rename CraftArrow to CraftAbstractArrow and CraftTippedArrow to CraftArrow to better reflect Bukkit's names 2024-04-24 01:15:00 +10:00
DerFrZocker
e05615dc78
#1357: Remove legacy Particle values 2024-04-24 01:15:00 +10:00
md_5
735b2d0d7f
Update to Minecraft 1.20.5 2024-04-24 01:15:00 +10:00
md_5
38b1f49d95
Remove outdated build delay 2024-04-24 01:00:00 +10:00
2008Choco
d9209edc56
SPIGOT-7613: Don't respect mobGriefing gamerule in World#createExplosion() without source entity 2024-04-17 19:13:29 +10:00
lbenav8095
e8f91497fa
#1363: Add API to copy BlockState to a new Location 2024-04-07 12:22:10 +10:00
2008Choco
1703691225
#1367: Add more Conduit API 2024-04-07 12:05:25 +10:00
DerFrZocker
1a1bda9b9a
SPIGOT-6705: Re-print tab completion "Display all" message in console, when another message is being logged 2024-04-07 11:54:28 +10:00
Doc
dbd4200452
#1362: Include Creeper igniter in causing entity for damage events 2024-04-07 11:49:28 +10:00
Flo0
dfaa89bbe3
#1369: Add World#getIntersectingChunks(BoundingBox) 2024-04-01 09:43:49 +11:00
md_5
51bbab2b9f
Move getItemInUse up to LivingEntity 2024-03-30 12:54:26 +11:00
gIsForGravity
668e09602c
#1331: Add access to current item's remaining ticks 2024-03-30 12:54:20 +11:00
md_5
a639406d1e
SPIGOT-7601: Add AbstractArrow#getItem 2024-03-30 12:17:57 +11:00
md_5
0398930fc7
SPIGOT-7602: Allow opening in-world horse and related inventories 2024-03-30 12:08:32 +11:00
Bjarne Koll
ffd15611c7
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.
2024-03-30 10:46:03 +11:00
md_5
2188dcfa91
Add support for Java 22 2024-03-29 21:23:37 +11:00
Miles Holder
ca3bc37075
#1361: Add more translation keys 2024-03-17 10:26:55 +11:00
2008Choco
45c2608e4d
#1366: Expose riptide velocity to PlayerRiptideEvent 2024-03-10 09:27:44 +11:00
md_5
176c0ad39f
Fix copying BlockStates with fields (eg, Banner) 2024-03-06 06:57:15 +11:00
md_5
619936d4bb
Increase outdated build delay 2024-02-29 06:49:54 +11:00
DerFrZocker
a2736ddb06
SPIGOT-336, SPIGOT-3366, SPIGOT-5768, SPIGOT-6409, SPIGOT-6861, #1008: Add EntityRemoveEvent 2024-02-21 20:55:34 +11:00
DerFrZocker
5bf12cb89d
SPIGOT-7565: Throw a more descriptive error message when a developer tries to spawn an entity from a CraftBukkit class 2024-02-17 14:04:58 +11:00
Jishuna
76d95fe7ed
SPIGOT-7417, #1343: Add Sign#getTargetSide and Sign#getAllowedEditor 2024-02-17 14:02:38 +11:00
Doc
80f0ce4be6
SPIGOT-7300, #1180: Add new DamageSource API providing enhanced information about entity damage 2024-02-11 09:54:25 +11:00
Doc
ea14b7d901
SPIGOT-7576, #1347: Add methods in MushroomCow to change stew effects 2024-02-08 22:54:51 +11:00
Doc
4c687f2433
#1259: Add Server#isLoggingIPs to get log-ips configuration 2024-02-07 07:09:34 +11:00
md_5
22a541a29f
Improve support for per-world game rules 2024-02-04 10:54:20 +11:00
Jishuna
cb7dccce27
#1348: Add Player methods for client-side potion effects 2024-02-04 10:10:30 +11:00
coll1234567
b8d6109f0c
#1335: Add API for in-world structures 2024-02-04 10:04:35 +11:00
Doc
4398a1b5b9
SPIGOT-7577: Make CraftWindCharge#explode discard the entity 2024-02-04 09:57:17 +11:00
md_5
0bb0f4f6a0
SPIGOT-7530, #1314: Improve Resource Pack API with new 1.20.3 functionality 2024-01-31 22:02:45 +11:00
DerFrZocker
4949f556d9
SPIGOT-3071, #1345: Add entity spawn method with spawn reason 2024-01-31 20:08:05 +11:00