Redstone Pen

Redstone Pen

7M Downloads

Redstone Logic Control - RLC Loses name on break & breaks too easily in Creative mode & Pin quick reference docs

toastonrye opened this issue ยท 3 comments

commented

NeoForge v21.1.72
Redstone Pen v1.11.41

Hi, really cool mod. None of these are game breaking issues, just 3 minor things I noticed when playing around with it.

RLC Losing Name

  1. In Survival mode, when breaking the Redstone Logic Control while it has a script inside, it loses it's item name from the "what am I looking at mod" (Jade), it just shows it's from the Redstone Pen mod. You can change the name in an anvil, but you can't fix it to say "Redstone Logic Control", and any custom name also get's cleared when broken.
  2. Cutting the script out of the RLC, breaking and replacing it. Then pasting the script back in fixes it.

rlc

RLC Breaking Too Easily In Creative

  1. The RLC script doesn't save if broken in Creative mode, it's erased. It's easy to accidentally punch the RLC when testing in Creative and lose your progress. It would be nice if it saved when broken in Creative (like in Survival).
  2. It would also be handy if the middle-click mouse selection in Creative mode copied an RLC with it's script. I find myself sometimes trying to do that quickly, rather then going into the RLC's user interface to copy the script there.

Feature Request - Pin The Quick Reference Documentation

  1. I have a hard time keeping my mouse hovered over the quick references in the RLC, shaky hands I guess. I thought it would be neat if the quick reference symbol could be clicked to pin it open, in addition to hovering?

pindocs

commented

Hi man, ty for the reports and suggestions,

  • ok, for (1) I have an idea what it could be, custom/default name storage key.
  • for (2) I tried in the past to get a nice way around that, but it caused problems. The root issue is that in creative, your "entity gets destroyed" code does not get called while you still have the data - fixing that consistently for neo|forge and fabric was something I gave up on eventually ;). Similar with the RLC copy, there is no pick-block callback I know of, so this too is only possible with mixins.
  • for (3) I need to experiment how to do this properly for different screen sizes/resolutions.
commented

For #3, it maybe possible to use the feature from JEI, to push the items menu out of the way when a GUI box is drawn overtop? I'm not sure if the Jade item menu also has that function.

commented
  • Alright, the missing name should be fixed now.
  • I double checked how block picking in creative works, there is no method invoked that I could safely override to add the data. Mixins would be possible, but I refrain to so this for the purpose, it would affect every pickup event in the game, would be CPU waste to be honest.
  • For (3) I'm gonna search for another (additional) documentation solution, maybe an insert-example-button, book, or whatever.

Ty again for the hints!