Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Restore vanilla entity drops behavior

Open Machine-Maker opened this issue 3 years ago • 4 comments

Supersedes https://github.com/PaperMC/Paper/pull/4882 Fixes https://github.com/PaperMC/Paper/issues/4743

Instead of just tracking the itemstacks, this tracks with it, the action to take with that itemstack to apply the correct logic on dropping the item instead of generalizing it for all dropped items like CB does.

There are some ABI breaks with various methods, specifically the call death event ones. but, ugh, its just super ugly if we wanna keep that.

Machine-Maker avatar Mar 22 '22 16:03 Machine-Maker

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar May 30 '22 21:05 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 30 '22 14:07 stale[bot]

Rebased for 1.19.2

Machine-Maker avatar Dec 03 '22 18:12 Machine-Maker

Updated to fix an additional issue. Previously, the extended lifetime of nether stars from withers was ignored, this also fixes that.

Machine-Maker avatar May 24 '23 19:05 Machine-Maker

Rebased and now fixes https://hub.spigotmc.org/jira/browse/SPIGOT-7438 as well.

Machine-Maker avatar Jul 26 '23 01:07 Machine-Maker

Rebased for 1.20.2

Machine-Maker avatar Nov 29 '23 05:11 Machine-Maker