-
-
Notifications
You must be signed in to change notification settings - Fork 506
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
Only create Ender Air Bottles when aiming at nothing #4392
base: 1.19.x
Are you sure you want to change the base?
Only create Ender Air Bottles when aiming at nothing #4392
Conversation
…MISS) Some mods add features that rely on using empty Glass Bottles on *blocks*, not just fluids. This commit allows that to happen by only creating Ender Air Bottles when the player is aiming at *nothing* - not a block *or* a fluid (instead of only checking for fluids) Fixes VazkiiMods#4273 Signed-off-by: unilock <unilock@fennet.rentals>
Thanks for contributing! The more i've been thinking about this issue, the more i feel like we should just have a dedicated empty ender air bottle item, and not use vanilla's glass bottles. However, it would be a bit annoying to add an item just for this, so i'm actually unsure. @williewillus, any thoughts on this? |
artemisSystem ***@***.***> writes:
The more i've been thinking about this issue, the more i feel like we should just have a dedicated empty ender air bottle item, and not use vanilla's glass
bottles. However, it would be a bit annoying to add an item just for this, so i'm actually unsure. @williewillus, any thoughts on this?
I'd be fine with the idea of using the Botania brew vials/flasks for
this. A new dedicated item seems a bit much.
|
I was also thinking about those. i'm assuming your thought then was also that vials and flasks could be filled with 4 and 6 ender air each (if using them once in the end turned them into an ender air item, that'd be quite expensive, no?) but then, how do you throw them? if you're collecting them in a dispenser, should it fill until it's full, then throw if it's already full? Would the remainder be annoying to work with wrt. autocrafting? much to consider |
mana glass is cheap enough for 1 vial to be 1 ender air |
This PR will probably be made obsolete by a new way to obtain ender air in 1.21, involving managlass vials. |
(you could also additionally merge this one for 1.20.1, since it was this PRs birthday recently :>) |
Some mods add features that rely on using empty Glass Bottles on blocks, not just fluids.
This commit allows that to happen by only creating Ender Air Bottles when the player is aiming at nothing - not a block or a fluid.
PR #4327 implemented something similar, but would only check for fluids; Ender Air Bottles would still be created if looking at any block.
Fixes #4273.