-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
implement transfer functionality for hoppers #5906
base: minor-next
Are you sure you want to change the base?
Conversation
There's already an open PR on the subject: #5869 |
@ShockedPlot7560 I have looked over the original pull request and it has some issues
I think I could maybe build a better implementation at least I would like the chance to try to build a better implementation |
As mentioned in the other PR, transfer logics should be located in the blocks directly, to allow greater flexibility, or at least be externalized from the hopper class itself : #5869 (comment) This PR also seems incomplete, as it lacks the logic to retrieve items / check entities. If it's in progress, convert it into a draft so you can tell when it's ready for review. |
@ShockedPlot7560 How do I convert it into a draft? |
It does handle the input properly, as you can see in the wiki: |
@ColinHDev I didnt know that. Its weird thats how it is supposed to work in vanilla mc |
Perhaps this is better off being closed then as I clearly do not know as much as I need to know for this implementation |
Still seems relevant |
For your information, this PR is waiting for this comment. |
If someone wants to takeover and finish this would be great I am busy atm to finish |
- Moove HopperInteractableTrait into an helper class - Hopper now use current server tick to check their cooldown
…e/implement-hopper-push
You haven't authorized the maintaner to push on your branch. I've taken over the PR locally, but I can't update your branch because of this permission problem. |
@ShockedPlot7560 Couldnt figure out how to enable access from the link so I just sent you an invite to the project as a maintainer. I believe that should let you edit it |
For your knowledge, just go to your PR on the right there's a checkbox on PC, or at the very bottom for a mobile. For your futures PR, you can do this directly when you create them (it should be checked by default). I'll look into it, thanks |
…ketMine-MP-dev into PocketSoftMine/implement-hopper-push
Need to store cooldown in Hopper tile
Storage in the cooldown tile and retrieval will be missing. The only question I have is that in the wiki, a cooldown for the recovery of entities is indicated, but only the transfer of items is present in the tile. Something to think about. |
Introduction
This pull request solves the following issue
https://github.com/pmmp/PocketMine-MP/projects/14#card-67670591
Follow-up
Normally when a hopper is powered it locks the hopper. Due to redstone and powering functionality not currently being implemented I saw no need to implement this in the hopper(yet)