Jump to content
(AMC)

Minecraft mod pack created for Asterion Minecraft

This is a legacy project. Support for this project was discontinued in January 2016.

While Ginever Entertainment no longer provides any official support for this project, you may be able to find help within the wider Ginever community. For more information, feel free to ask in the forums or in our Discord server.

Sign in to follow this  
AMC-740 (Bug)

IC2 wrench behaviour is inconsistent between IC2-style machines and other rotatable blocks (e.g. hoppers)

Description

This has been present for a long time, but when you fist place a hopper for the first time you use a wrench to change it's output direction nothing occurs. You must firstly wrench a side other than the initial side you were facing. After this, it seems to work normally. This is annoying while you are working with hoppers in confined spaces.

Related Issues

This issue is not related to any other issues

User Feedback

Recommended Comments

Tinytimrob
Current Assignee Project Manager Programming Lead

Posted

Changed issue priority to LOW

Low priority, since you can correctly orient hoppers by shift-clicking against the target face when placing them.

Share this comment


Link to comment
Share on other sites
Tinytimrob
Current Assignee Project Manager Programming Lead

Posted

I did some digging and managed to figure this out thanks to Cyanide providing more help.

For blocks unsupported by the wrench, it calls the rotateBlock function from Forge, which for hoppers causes the hopper to rotate around the horizontal axis which is perpendicular to the camera if it were facing the targeted side. This is the reason for the bug. If the hopper is facing either the targeted side or the side immediately opposite it, a rotation around the perpendicular horizontal axis does nothing - no change of direction occurs. You can therefore just sit there spamming the wrench indefinitely against that side, but nothing will happen. (In order to make it face the way you're intending, you have to wrench the hopper from either of the sides which are on the perpendicular axis first in order to rotate the hopper into a position where a rotation from the starting face actually does something.)

Not sure on the best solution to fix this, as the wrench rotation behaviour is inconsistent with the machines (which rotate towards you, rather than rotating around the perpendicular axis). I would consequently consider this to be a dumb design choice of the wrench, rather than a hopper-specific issue.

Share this comment


Link to comment
Share on other sites
Tinytimrob
Current Assignee Project Manager Programming Lead

Posted

I updated the title of the issue to be more descriptive of the actual problem 🙂

Share this comment


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Create a new GineverAccount today. It's easy!

Register a new account

Sign In with GineverAccount 5.1

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...