Skip to content
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

Some GUIs don't respect extended reach #920

Closed
RAnders00 opened this issue Feb 20, 2015 · 6 comments
Closed

Some GUIs don't respect extended reach #920

RAnders00 opened this issue Feb 20, 2015 · 6 comments
Labels
enhancement An enhancement for an existing feature

Comments

@RAnders00
Copy link

As you can see here, the ME Drive (just as a example) does not respect extended reach (like the botania ring does)

I tested it using the latest AE2 and latest forge in singleplayer. (AE RV2-Beta-8, Forge #1291, Botania r1.5-163) as visible in the video. Also no other mods and via vanilla launcher.

@Cisien
Copy link
Contributor

Cisien commented Feb 20, 2015

The AE GUIs explicitly check to make sure the player is within range, so this is by design.

@RAnders00
Copy link
Author

But I am in range! The range is just not the vanilla range, but it's modified. Did you even watch the video and have you read the text? Wow. I know that they close when you are out of range, but the range that they check for is not respecting range extenders.

@yueh
Copy link
Member

yueh commented Feb 22, 2015

And there is a reliable way to distinguish between a somewhat valid range extender like the botania ring and something just temporary extending it to circumvent it?

@Cisien
Copy link
Contributor

Cisien commented Feb 22, 2015

My point was the only known valid range is vanilla. There are no callbacks in vanilla that can tell us if the player is in range or not. Because of this, it is hard coded. It is hard coded like this to block mods that extend the range (such as enderio)

@AlgorithmX2
Copy link
Contributor

@Cisien random thought, has anyone looked at TileChest.isUseableByPlayer to see if maybe something changed in a newer build of forge/MC? The isUseableByPlayer for AE2 is probably based on 1.6, so its possible there have been changes made.

I can't check since I don't have any source.

if its still hard coded then there is not much we can do, if it uses some new method to get the player reach, we can swap it out.

@thatsIch
Copy link
Member

Looking through the code of minecraft, I found nothing we can swap it out. What we can do is just increase it to the default range of Minecraft which is the root of 64 (currently we are at the root of 32)

@thatsIch thatsIch added the enhancement An enhancement for an existing feature label Mar 10, 2015
thatsIch added a commit that referenced this issue Mar 11, 2015
Fixes #920 Increased GUI close distance to Vanilla MC
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An enhancement for an existing feature
Projects
None yet
Development

No branches or pull requests

5 participants