Commit graph

4718 commits

Author SHA1 Message Date
CraftBukkit/Spigot
cd2a1a6d7e Fix spawn eggs with no entity creating invalid stacks and disconnect creative clients
Example: /give @s minecraft:cat_spawn_egg[minecraft:max_stack_size=1,minecraft:max_damage=100,minecraft:damage=10] 1

By: md_5 <git@md-5.net>
2024-06-10 14:06:38 +10:00
CraftBukkit/Spigot
b365899587 SPIGOT-7736: Creative spawn egg use loses components
By: md_5 <git@md-5.net>
2024-06-10 14:06:36 +10:00
CraftBukkit/Spigot
9db084c279 SPIGOT-7731: Spawn eggs cannot have damage
By: Doc <nachito94@msn.com>
2024-06-10 14:06:34 +10:00
CraftBukkit/Spigot
95f120b7ff SPIGOT-7735: Fix serialization of player heads with note block sound
By: blablubbabc <lukas@wirsindwir.de>
2024-06-10 08:35:53 +10:00
CraftBukkit/Spigot
bf2a69e0fc SPIGOT-7734: Can't register a custom advancement using unsafe()
By: md_5 <git@md-5.net>
2024-06-09 11:12:13 +10:00
CraftBukkit/Spigot
cd4487372e #1413: Add force option to Player#spawnParticle
By: Jishuna <joshl5324@gmail.com>
2024-06-08 09:11:27 +10:00
CraftBukkit/Spigot
0ebd5b0b0d SPIGOT-7680: Per-world weather command
By: md_5 <git@md-5.net>
2024-06-08 09:08:09 +10:00
CraftBukkit/Spigot
00cc0753d7 #1409: Add methods to get players seeing specific chunks
By: MetallicGoat <the.great.metallic.goat@gmail.com>
2024-06-08 09:03:44 +10:00
CraftBukkit/Spigot
65929a6d22 #1412: Fix shipwreck loot tables not being set for BlockTransformers
By: Lauriichan <lauriichan@playuniverse.org>
2024-06-05 07:17:32 +10:00
CraftBukkit/Spigot
6d2082bf75 #1360: Add Material#isCompostable and Material#getCompostChance
By: mfnalex <mfnalex@jeff-media.com>
2024-06-05 07:15:52 +10:00
CraftBukkit/Spigot
d267f74a0b 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:17 +10:00
CraftBukkit/Spigot
4b6edd3c82 Increase outdated build delay
By: md_5 <git@md-5.net>
2024-06-02 08:58:26 +10:00
CraftBukkit/Spigot
764529d82b SPIGOT-7675: Fix FoodComponent config deserialization
Be more lenient when converting floating point numbers during config
deserialization of item data.

By: blablubbabc <lukas@wirsindwir.de>
2024-05-31 07:14:09 +10:00
CraftBukkit/Spigot
79d9816660 #1406: Fix incorrect assumption of Fireball having constant speed
By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:56:42 +10:00
CraftBukkit/Spigot
4691102616 #1405: Add a tool component to ItemMeta
By: 2008Choco <hawkeboyz2@hotmail.com>
Also-by: md_5 <git@md-5.net>
2024-05-29 06:53:59 +10:00
CraftBukkit/Spigot
3433d3f5b7 #1404: Add PotionEffectTypeCategory to distinguish between beneficial and harmful effects
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-29 06:50:08 +10:00
CraftBukkit/Spigot
402878b8cd #1403, 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:55 +10:00
CraftBukkit/Spigot
c955ea1663 #1401: Add a config option to accept old keys in registry get calls
By: DerFrZocker <derrieple@gmail.com>
2024-05-29 06:45:14 +10:00
CraftBukkit/Spigot
6f5d01226e #1402: Fix ChunkSnapshot#isSectionEmpty() is always false
By: MetallicGoat <the.great.metallic.goat@gmail.com>
2024-05-23 21:14:56 +10:00
CraftBukkit/Spigot
60c7d83e00 SPIGOT-7668: Move NONE Registry updater to FieldRename to avoid some class loader issues
By: DerFrZocker <derrieple@gmail.com>
2024-05-19 21:35:46 +02:00
CraftBukkit/Spigot
04a297608d #1399: Fix regression preventing positive .setDamage value from causing knockback for 0 damage events
By: LoliColleen <76620594+LoliColleen@users.noreply.github.com>
2024-05-14 21:32:40 +10:00
CraftBukkit/Spigot
575f106abd Increase outdated build delay
By: md_5 <git@md-5.net>
2024-05-13 21:21:16 +10:00
CraftBukkit/Spigot
850e49f268 SPIGOT-7664: Item meta should prevail over block states
By: md_5 <git@md-5.net>
2024-05-10 19:33:23 +10:00
CraftBukkit/Spigot
317917800c SPIGOT-7666: Fix access to llama and horse special slot
By: md_5 <git@md-5.net>
2024-05-10 19:23:01 +10:00
CraftBukkit/Spigot
54f230de84 SPIGOT-7665: Fix ThrownPotion#getEffects() implementation only bringing custom effects
By: Doc <nachito94@msn.com>
2024-05-10 19:09:20 +10:00
CraftBukkit/Spigot
17b4c0d7a3 Restore null page behaviour of signed books even though not strictly allowed by API
By: md_5 <git@md-5.net>
2024-05-10 19:08:54 +10:00
CraftBukkit/Spigot
e01dc013f7 Fix regression listening to minecraft:brand custom payloads
By: md_5 <git@md-5.net>
2024-05-08 07:34:19 +10:00
CraftBukkit/Spigot
06b53d8386 Fix unnecessary and potential not thread-safe chat visibility check
By: md_5 <git@md-5.net>
2024-05-07 21:40:57 +10:00
CraftBukkit/Spigot
38d4a335ea Remove unused imports
By: md_5 <git@md-5.net>
2024-05-06 20:30:27 +10:00
CraftBukkit/Spigot
f89c0d3ad7 #1397: Add ItemMeta#getAsComponentString()
By: 2008Choco <hawkeboyz2@hotmail.com>
2024-05-06 20:23:39 +10:00
CraftBukkit/Spigot
f323d82f21 Largely restore deprecated PotionData API
By: md_5 <git@md-5.net>
2024-05-05 20:45:48 +10:00
CraftBukkit/Spigot
8f55ed539f #1275: 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:54 +10:00
CraftBukkit/Spigot
b4e6cc4dce SPIGOT-1166, SPIGOT-7647: Expose Damager BlockState in EntityDamageByBlockEvent
By: Doc <nachito94@msn.com>
2024-05-05 09:34:57 +10:00
CraftBukkit/Spigot
7aa4984347 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:27 +10:00
CraftBukkit/Spigot
4951fa2dd1 Support both entity_data and bucket_entity_data on axolotl/fish buckets
By: md_5 <git@md-5.net>
2024-05-04 14:25:29 +10:00
CraftBukkit/Spigot
fb2cd0f8e3 Fix custom direct BlockState being not correctly set in DamageSource
By: Doc <nachito94@msn.com>
2024-05-03 21:58:56 -04:00
CraftBukkit/Spigot
9bf6a88788 SPIGOT-7659: TropicalFishBucketMeta should use BUCKET_ENTITY_DATA
By: md_5 <git@md-5.net>
2024-05-04 08:49:06 +10:00
CraftBukkit/Spigot
acdb83379e #1393: Improve field rename handling and centralize conversion between bukkit and string more
By: DerFrZocker <derrieple@gmail.com>
2024-05-04 08:19:07 +10:00
CraftBukkit/Spigot
f91094ddfd SPIGOT-7650: Add DamageSource for EntityDeathEvent and PlayerDeathEvent
By: Doc <nachito94@msn.com>
2024-05-04 08:16:00 +10:00
CraftBukkit/Spigot
066665a979 #1390: Improve internal handling of damage sources
By: Doc <nachito94@msn.com>
2024-05-04 08:15:51 +10:00
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