5719 Commits

Author SHA1 Message Date
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
md_5
45d6a609f9
SPIGOT-7604: Revert "SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime"
This reverts commit 06d915943c90badfd0064f5b0fdce6f02594ce71.
2024-03-20 20:31:48 +11:00
LoliColleen
06d915943c
SPIGOT-7365: DamageCause blocked by shield should trigger invulnerableTime 2024-03-17 11:39:04 +11:00
Miles Holder
ca3bc37075
#1361: Add more translation keys 2024-03-17 10:26:55 +11:00
md_5
366c3ca80f
SPIGOT-7600: EntityChangeBlockEvent is not fired for frog eggs 2024-03-11 15:09:39 +11:00
md_5
06d0f9ba89
SPIGOT-7593: Fix sapling growth physics / client-side updates 2024-03-11 15:03:33 +11:00
2008Choco
45c2608e4d
#1366: Expose riptide velocity to PlayerRiptideEvent 2024-03-10 09:27:44 +11:00
Doc
29b6bb79bf
SPIGOT-7587: Remove fixes for now-resolved MC-142590 and MC-109346 2024-03-10 09:20:54 +11:00
md_5
176c0ad39f
Fix copying BlockStates with fields (eg, Banner) 2024-03-06 06:57:15 +11:00
md_5
ee685bd2ac
Fix Camel not standing up when hurt 2024-03-03 11:30:57 +11:00
md_5
619936d4bb
Increase outdated build delay 2024-02-29 06:49:54 +11:00
Doc
98b6c1ac7d
SPIGOT-7589 Fix NullPointerException when bans expire 2024-02-22 19:55:53 +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
md_5
38fd4bd503
Fix accidentally renamed internal damage method 2024-02-11 09:58:07 +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
md_5
7e43f3b164
SPIGOT-7581: Fix typo in BlockMushroom 2024-02-09 19:00: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
e74107678c
Fix Crafter maximum stack size 2024-02-03 13:52:43 +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
Jishuna
20ac73ca28
#1353: Fix Structure#place not working as documented with 0 palette 2024-01-31 20:01:58 +11:00
DerFrZocker
3c1b778713
SPIGOT-6911, #1349: Change max book length in CraftMetaBook 2024-01-31 19:59:28 +11:00
DerFrZocker
333701839f
SPIGOT-7572: Bee nests generated without bees 2024-01-27 14:59:22 +11:00
Jishuna
f48f4174c3
SPIGOT-5553, #1336: Add EntityKnockbackEvent 2024-01-27 14:53:41 +11:00
Doc
292ec79e09
SPIGOT-7568: Call EntityChangeBlockEvent for DecoratedPot 2024-01-24 21:49:24 +11:00