Commit graph

477 commits

Author SHA1 Message Date
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
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
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
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
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
8a69fc5946 SPIGOT-7634: Armadillo updates infrequently
By: md_5 <git@md-5.net>
2024-04-25 16:30:34 +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
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
4862893bef SPIGOT-7626: sendSignChange() has no effect
By: md_5 <git@md-5.net>
2024-04-24 18:10:39 +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
92ed83cf5c SPIGOT-7618: Fix custom world generators
By: md_5 <git@md-5.net>
2024-04-24 07:44:05 +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
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
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
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
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
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
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
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
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
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
49c217ec31 #1335: Add API for in-world structures
By: coll1234567 <joshl5324@gmail.com>
2024-02-04 10:04:35 +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
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
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
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
48a803d3ec SPIGOT-7567: SpawnReason for SNOWMAN is reported as BUILD_IRONGOLEM
By: md_5 <git@md-5.net>
2024-01-09 19:29:52 +11:00
CraftBukkit/Spigot
eb6041d8f8 Add EntityMountEvent and EntityDismount Event
Adapted from Spigot commit ab1e1a2a5a.

By: md_5 <git@md-5.net>
2024-01-07 08:59:55 +11:00
CraftBukkit/Spigot
8cd8851498 #1295: Define native persistent data types for lists
By: Bjarne Koll <lynxplay101@gmail.com>
2024-01-06 16:03:58 +11:00
CraftBukkit/Spigot
b92cff8a2d Fire PreLogin events even in offline mode
Adapted from Spigot commit 61400aa00c

By: md_5 <git@md-5.net>
2023-12-30 07:48:39 +11:00
CraftBukkit/Spigot
d15575db91 #1325: Use CraftBlockType and CraftItemType instead of CraftMagicNumbers to convert between minecraft and bukkit block / item representation
By: DerFrZocker <derrieple@gmail.com>
2023-12-29 08:36:38 +11:00
CraftBukkit/Spigot
5f42dbf7fe Ensure that PlayerMoveEvent is always fired where applicable
Adapted and improved version of Spigot commit eb9e4c0460

By: md_5 <git@md-5.net>
2023-12-28 07:56:30 +11:00
CraftBukkit/Spigot
d19f0e9b26 Use provided case for non-existent OfflinePlayers
Fixes issues with using scoreboards to provide information via pseudo players being all lowercased.

Ported from Spigot commit e11d481452

By: md_5 <git@md-5.net>
2023-12-26 14:33:31 +11:00
CraftBukkit/Spigot
61052d56b5 #1321: Clean up some stuff which got missed during previous PRs
- Add missing CraftBukkit comment to CommandGive
- Remove no longer needed IRegistryCustom from CraftStructure conversion
- Use setBasePotionType instead of deprecated setBasePotionData

By: DerFrZocker <derrieple@gmail.com>
2023-12-26 07:44:21 +11:00
CraftBukkit/Spigot
fd3e1799d3 SPIGOT-7462: Players no longer drop XP after dying near a Sculk Catalyst
By: DerFrZocker <derrieple@gmail.com>
2023-12-26 07:42:19 +11:00
CraftBukkit/Spigot
a9fb0c70f8 Implement APIs for per world view and simulation distances
By: md_5 <git@md-5.net>
2023-12-23 14:32:49 +11:00
CraftBukkit/Spigot
46c67d7108 SPIGOT-7540, #1312: Add ServerTickManager API
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:30:00 +11:00
CraftBukkit/Spigot
bbb64e5e0e #1238: Remove unnecessary sign ticking
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:48 +11:00
CraftBukkit/Spigot
6f023adfe9 MC-264285, SPIGOT-7439, #1237: Fix unbreakable flint and steel is completely consumed while igniting creeper
By: Miles Holder <mwholder2005@gmail.com>
2023-12-17 09:29:44 +11:00
CraftBukkit/Spigot
889ce05e35 SPIGOT-7527, #1310: Add WindCharge#explode()
By: Doc <nachito94@msn.com>
2023-12-12 19:34:37 +11:00
CraftBukkit/Spigot
7656a539b6 SPIGOT-7440, #1292: Fire EntityTeleportEvent for end gateways
By: Jishuna <joshl5324@gmail.com>
2023-12-08 19:35:57 +11:00
CraftBukkit/Spigot
aacf3bd308 SPIGOT-7535: Fix maps not having an ID and also call MapInitializeEvent in more places
By: md_5 <git@md-5.net>
2023-12-08 19:20:05 +11:00
CraftBukkit/Spigot
628e3adf0e SPIGOT-7536: Using Crafter crashes server
By: md_5 <git@md-5.net>
2023-12-07 19:49:43 +11:00
CraftBukkit/Spigot
07a9ff30de Fix formatting issue in previous commit
By: md_5 <git@md-5.net>
2023-12-07 08:41:56 +11:00
CraftBukkit/Spigot
64145dd66d SPIGOT-7534: Error when chunk with decorated pot trying to save
By: md_5 <git@md-5.net>
2023-12-07 08:37:37 +11:00
CraftBukkit/Spigot
bf7ca9b824 SPIGOT-7532: Entity#isValid() returns false after server restart
By: Jishuna <joshl5324@gmail.com>
2023-12-07 08:24:27 +11:00
CraftBukkit/Spigot
8672defea5 Add unique ID to PlayerResourcePackStatusEvent
By: md_5 <git@md-5.net>
2023-12-06 20:27:59 +11:00
CraftBukkit/Spigot
dd8ca5c2dc SPIGOT-6026: Pull PotionEffectType and Enchantment from registry
By: DerFrZocker <derrieple@gmail.com>
2023-12-06 03:40:00 +11:00
CraftBukkit/Spigot
8398e12b34 Update to Minecraft 1.20.3
By: md_5 <git@md-5.net>
2023-12-06 03:40:00 +11:00
CraftBukkit/Spigot
0f6da6b1c8 SPIGOT-7487: entity.remove() on a leash drops a lead item
By: DerFrZocker <derrieple@gmail.com>
2023-12-01 08:01:44 +11:00
CraftBukkit/Spigot
95e4221adf #1266: Add support for virtual entities
By: Jishuna <joshl5324@gmail.com>
2023-11-19 19:03:35 +13:00
CraftBukkit/Spigot
efb9f1bd5c SPIGOT-7520: Attribute LootTableSeed missing for generated containers with attached LootTable
By: DerFrZocker <derrieple@gmail.com>
2023-11-14 20:16:20 +01:00
CraftBukkit/Spigot
85c79bdde0 SPIGOT-7518: Fix NullPointerException when calling Block#applyBoneMeal()
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-11-12 19:09:58 -05:00
CraftBukkit/Spigot
b11f0ec204 #1285: Add PlayerRecipeBookSettingsChangeEvent
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:43:34 +11:00
CraftBukkit/Spigot
f64dc66a5f #1290: Add methods to get/set evoker fang attack delay
By: Jishuna <joshl5324@gmail.com>
2023-11-09 06:36:06 +11:00
CraftBukkit/Spigot
80d3f8408a SPIGOT-7514, #1289: Add "Enchantment Roll" API to enchant items according to Minecraft mechanics
By: Miles Holder <mwholder2005@gmail.com>
2023-11-09 06:30:23 +11:00
CraftBukkit/Spigot
511d6753cc #1281: Add hit entity/block to events extending ProjectileHitEvent
By: Jishuna <joshl5324@gmail.com>
2023-10-25 18:54:07 +11:00
CraftBukkit/Spigot
0a971d438b SPIGOT-7507: Fall back to world UUIDs if Dimension tag missing or invalid
By: md_5 <git@md-5.net>
2023-10-21 16:25:23 +11:00
CraftBukkit/Spigot
e12eaccce2 SPIGOT-7506: SculkBloomEvent.getBlock() world is null
By: md_5 <git@md-5.net>
2023-10-20 18:49:03 +11:00
CraftBukkit/Spigot
4dc97ffa9d SPIGOT-7503: Remove special handling for minecraft:brand custom channel
By: md_5 <git@md-5.net>
2023-10-14 16:56:17 +11:00
CraftBukkit/Spigot
c4c6bf8a92 #1272: Only allow one entity in CraftItem instead of two
This pr reverts a change made in 2012 which allowed CraftItem to be a also other entities such as an arrow.
I don't see any practical reason why the original change was done, other than to allow plugin developers to do some stuff in a cursed way.
With the introduction of the PlayerPickupArrowEvent in 2016 there is also a way to access the arrow involved in a better way.
Generally I think the current behavior is a bit strange and should be reverted.

By: DerFrZocker <derrieple@gmail.com>
2023-10-06 07:16:11 +11:00
CraftBukkit/Spigot
7380cef545 SPIGOT-7495: Spawning bee entity in asynchronous BlockPopulator causes IllegalStateException - Accessing LegacyRandomSource from multiple threads
By: DerFrZocker <derrieple@gmail.com>
2023-10-03 11:56:23 +02:00
CraftBukkit/Spigot
851acb6496 #1267: Add more lightning API
By: Parker Hawke <hawkeboyz2@hotmail.com>
2023-10-03 07:32:55 +11:00
CraftBukkit/Spigot
0c3b8eb4b9 SPIGOT-7496: Failure to load datapacks with multiple identical predicates
By: md_5 <git@md-5.net>
2023-10-02 20:01:30 +11:00
CraftBukkit/Spigot
88114a4558 Fix decompile error affecting javac
By: md_5 <git@md-5.net>
2023-10-02 19:43:59 +11:00
CraftBukkit/Spigot
c651c0a51b SPIGOT-7283, SPIGOT-7318: Add AsyncStructureGenerateEvent and BlockState cloning
By: Lauriichan <laura.endress@playuniverse.org>
2023-09-29 06:54:35 +10:00
CraftBukkit/Spigot
70eb4fdda5 SPIGOT-7490: Fix entity equipment updates
By: md_5 <git@md-5.net>
2023-09-25 07:47:22 +10:00
CraftBukkit/Spigot
fb7dc796d5 SPIGOT-7485: Allow air entity items since required for Vanilla logic
By: md_5 <git@md-5.net>
2023-09-22 07:14:27 +10:00
CraftBukkit/Spigot
4248b8a4d8 #1250: Standardize and centralize Bukkit / Minecraft registry conversion
By: DerFrZocker <derrieple@gmail.com>
2023-09-22 03:02:16 +10:00
CraftBukkit/Spigot
e903417936 Increase diff stability
By: md_5 <git@md-5.net>
2023-09-22 02:57:13 +10:00
CraftBukkit/Spigot
8a3c8cfcd4 Update to Minecraft 1.20.2
By: md_5 <git@md-5.net>
2023-09-22 02:40:00 +10:00
CraftBukkit/Spigot
dc3bd245f7 SPIGOT-7475: Don't fire SculkBloomEvent during world generation
By: DerFrZocker <derrieple@gmail.com>
2023-09-06 19:09:38 +02:00
CraftBukkit/Spigot
4e2ef19474 #1242: Add more Sculk API (bloom, shriek, bloom event)
By: Collin <collinjbarber@gmail.com>
2023-09-06 20:44:19 +10:00
CraftBukkit/Spigot
c8a9b8d25c #1248: Load GameEvent and MusicInstrument from registry
By: DerFrZocker <derrieple@gmail.com>
2023-09-02 12:55:23 +10:00
CraftBukkit/Spigot
a16df1b04c SPIGOT-7467: Add getAddress to RemoteConsoleCommandSender
By: md_5 <git@md-5.net>
2023-08-26 18:19:22 +10:00