-
Notifications
You must be signed in to change notification settings - Fork 19
feature easy-trash module #229
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
base: 1.21.11
Are you sure you want to change the base?
Conversation
Auto.drop.mp4Auto.inv.drop.mp4 |
beanbag44
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really handy module, just some small nit picks and changes
|
|
||
| init { | ||
| listen<TickEvent.Pre> { | ||
| if (!timer.timePassed(200.milliseconds)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have an actions per second timer in the inventory config. I'd set the default value to this and let the inventory manager handle the delay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How would I use the inventory request limit? Just spam inventory requests every tick?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, all requests are expected to be sent on a tickly basis to stay up to date with the rest of the game
Use @WrapMethod in mixin Other nits
This module adds a feature to auto drop items when you don't have space in your inventory