VazkiiMods / Botania

A tech mod for Minecraft themed around the magic of nature and plant life.
http://botaniamod.net/index.html
Other
1.28k stars 509 forks source link

add a toggle for the autocrafting of the manufactory halo #4277

Open LeoBeliik opened 1 year ago

LeoBeliik commented 1 year ago

title

TheRealWormbo commented 1 year ago

The Assembly Halo's interactions currently are:

The Manufacturing Halo doesn't appear to modify these click interactions. Seems like it could repurpose one of the shift click actions on the crafting table segment to toggle auto-crafting. For consistency with other toggled items that should probably be shift + right-click, even though shift + left-click is not used.

LeoBeliik commented 1 year ago

I have it (in my personal tweaks project) set it to be toggled via right click in the inventory, like the stone of temp, so I'll suggest that approach plus the sneak right click whilst just aiming to the crafting table segment for consistency as you said

TheRealWormbo commented 1 year ago

The toggle is implemented as suggested (either right-click on the item in the inventory, or shift + right-click on the crafting table segment), with an indicator in the item tooltip and changing color of the rendered segment backgrounds (Assembly Halo blue = disabled, Manufactory Halo cyan = enabled). The only thing still missing is a proper visual indicator in the item's icon. I had an idea for a "programmer art" placeholder texture for the disabled halo, but didn't want to potentially break resource packs, so it's not included yet.

TheRealWormbo commented 11 months ago

A better item texture for the active/inactive states from someone actually versed with texture creation would be nice.