Adds overlay on top of Ghost and Preview Slots #549

Merged
dphaldes merged 4 commits from dev/ghost-overlay into dev/1.20.1 2023-11-11 16:26:48 +00:00
dphaldes commented 2023-10-29 10:52:48 +00:00 (Migrated from github.com)

Description

Adds overlay on top of slots that make them looks faded indicated that they arent proper slots in which player can
put and extract normal items
Also adds a wrapper MachineScreen class so that functionality can be shared across all machines.

  • My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you).
  • I have performed a self-review of my own code.
  • I have commented my code in areas it may be challenging to understand.
  • I have made corresponding changes to the documentation.
  • My changes are ready for review from a contributor.
# Description Adds overlay on top of slots that make them looks faded indicated that they arent proper slots in which player can put and extract normal items Also adds a wrapper `MachineScreen` class so that functionality can be shared across all machines. - [X] My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you). - [X] I have performed a self-review of my own code. - [X] I have commented my code in areas it may be challenging to understand. <!-- (Although we prefer code that is readable instead of over-commented) --> - [X] I have made corresponding changes to the documentation. - [X] My changes are ready for review from a contributor.
Rover656 (Migrated from github.com) requested changes 2023-11-11 13:45:37 +00:00
Rover656 (Migrated from github.com) left a comment

Just a minor tweak, but I'm happy with how this looks - thanks a lot chonky!

Just a minor tweak, but I'm happy with how this looks - thanks a lot chonky!
@ -0,0 +1,35 @@
package com.enderio.machines.client.gui.screen;
Rover656 (Migrated from github.com) commented 2023-11-11 13:45:22 +00:00

Very minor - could we have a named constant for that colour so it's easier to understand in future? Cheers!

Very minor - could we have a named constant for that colour so it's easier to understand in future? Cheers!
dphaldes (Migrated from github.com) reviewed 2023-11-11 15:58:31 +00:00
@ -0,0 +1,35 @@
package com.enderio.machines.client.gui.screen;
dphaldes (Migrated from github.com) commented 2023-11-11 15:58:31 +00:00

since we dont have a constants file yet I have created a public static field in the same class

since we dont have a constants file yet I have created a public static field in the same class
Rover656 (Migrated from github.com) approved these changes 2023-11-11 16:22:32 +00:00
Rover656 (Migrated from github.com) left a comment

Looking good, thanks a lot chonky!

Looking good, thanks a lot chonky!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Team-EnderIO/EnderIO#549
No description provided.