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

[Question] Confused about Engine vs. Motor #191

Open
mmelvin0 opened this issue May 11, 2016 · 1 comment
Open

[Question] Confused about Engine vs. Motor #191

mmelvin0 opened this issue May 11, 2016 · 1 comment

Comments

@mmelvin0
Copy link

I read that the engine is deprecated and the motor can do everything the engine did with anchored mode.

However, using only the motor, I can't seem to get it to stay in non-anchored mode. When I first place it, it works, but will often reset itself to anchored mode. Once I open the GUI on the motor, sometimes setting a combination of other flags will get it to stick as non-anchored for a little while, but it almost always resets to anchored mode upon closing the GUI. Both changing settings in the GUI and actually moving a (simple) carriage frame with the motor cause it to switch to anchored mode.

Further, when I looked at the code below (from master, but I made it a permalink) it looks like the logic for isAnchored in motor vs. engine feeds off the same flags yet motor ultimately will set isAnchored to false if setConfigurationSuper set it to true for the same condition.

I'm really sorry if this is a stupid question. Feel like I'm missing something critical here. Can you shed any light on it for me?

https://github.com/planetguy32/RemainInMotion/blob/6911e96/src/main/java/me/planetguy/remaininmotion/drive/TileEntityCarriageMotor.java#L22

https://github.com/planetguy32/RemainInMotion/blob/d105cf9/src/main/java/me/planetguy/remaininmotion/drive/TileEntityCarriageEngine.java#L70

@Blue64
Copy link

Blue64 commented Apr 10, 2017

that sounds more like a [Bug] to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants