-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Implemented Hopper pushing, pulling and picking up items logic #4416
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
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ba01569
added getter and setter for the transfer cooldown
ColinHDev 79da692
implement hopper logic for pushing, pulling and picking up items
ColinHDev c640a5a
added initiation of hopper block scheduling
ColinHDev 30e295a
added import of count function
ColinHDev 2fb995d
added comment about a hopper's decision to pull or pick up items
ColinHDev f9a0f98
hoppers now get their records removed if they push into a jukebox
ColinHDev 7fb541d
the slot variable of the hopper inventory gets no longer overwritten …
ColinHDev 463b946
removed redundant Item::isNull() check
ColinHDev c72c860
removed redundant import of ItemFactory
ColinHDev 7e10f89
removed redundant check if the item is a shulkerbox while a hopper is…
ColinHDev fb3d2df
removed redundant comments and combined two similar if statements
ColinHDev e3c2d07
TODO comments now match PMMP's coding style
ColinHDev 05e3b22
added DEFAULT_TRANSFER_COOLDOWN constant
ColinHDev 616b0d5
Merge remote-tracking branch 'origin/master' into hoppers
ColinHDev 15e6fc3
added braces around NOT operator
ColinHDev 5e094d7
removed dependency on hopper tiles in logic functions
ColinHDev bdce93b
if a hopper couldn't push to a jukebox because the tile had no corres…
ColinHDev bfa8a1d
removed dependency on container tiles in pull logic function
ColinHDev 274453d
fixed the provided parameter types for logic functions
ColinHDev c3113c1
added TODO about removing dependency on container tiles in pull logic…
ColinHDev af336e5
used new inventory slot constants instead of hardcoded values
ColinHDev 76cb9d2
renamed smelting slot to input slot in comment
ColinHDev 1ac9c44
removed usage of bitwise operators
ColinHDev 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
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.