-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Extend HumanEntity#dropItem API #11810
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
lynxplay
merged 23 commits into
PaperMC:main
from
Strokkur424:dev-player-drop-item-post-softspoon
Dec 28, 2024
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
75ef624
Extend HumanEntity#dropItem API
Strokkur424 a27d278
Reduce and replace implemented methods with defaults
Strokkur424 e99b1ed
Remove fully qualified imports and comments. Small cleanup
Strokkur424 25d0227
Cleanup imports
Strokkur424 4a32db8
Further cleanup imports
Strokkur424 ac20fc6
Rename parameter
Strokkur424 e2b0215
Remove thrower and 'empty' overloads
Strokkur424 3d8c397
Refactor methods
Strokkur424 80a2175
Add since parameter to deprecation
Strokkur424 3c2af3d
Directly run logic on nms ItemStack
Strokkur424 b695206
Change incorrect throws jd
Strokkur424 9a83d33
Remove unrequired Math.min
Strokkur424 83d33db
Fix incorrect parameter
Strokkur424 500e286
Add a ton more overloads
Strokkur424 573c9d6
Implement Item consumer
Strokkur424 790e776
Rename `dropItemAll` methods to `dropItems`
Strokkur424 ad4481c
Rename `dropAnyItem` methods to `dropItem`
Strokkur424 f5397be
Add Javadocs
Strokkur424 c910a25
Apply relevant changes
Strokkur424 d2932f8
Javadocs and less methods
lynxplay f676e88
Cleanup some internal
lynxplay 1d6a1e7
Correct overload chaining
lynxplay 581d229
Readd dropped overload hunk
lynxplay File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.