Item Decorators and Composite Model Removal #87

Merged
Rover656 merged 9 commits from item-decor-composite-models into dev/1.19.x 2022-09-04 23:27:36 +00:00
Rover656 commented 2022-08-30 19:08:52 +00:00 (Migrated from github.com)

Description

Converts to Item Decorators instead of the mixin and moves to the forge composite models. Also performing a little bit of code health improvements.

Closes #68

Todo

  • Wait for my forge PR so we can do the composite model change.

Checklist:

  • 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, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
# Description Converts to Item Decorators instead of the mixin and moves to the forge composite models. Also performing a little bit of code health improvements. Closes #68 # Todo <!-- Remove this section if you're submitting an already-complete PR --> - [x] Wait for my forge PR so we can do the composite model change. # Checklist: - [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, particularly in hard-to-understand areas - [x] I have made corresponding changes to the documentation <!-- Thanks to: https://embeddedartistry.com/blog/2017/08/04/a-github-pull-request-template-for-your-projects/ for the building blocks of this template -->
justliliandev (Migrated from github.com) reviewed 2022-08-30 19:49:59 +00:00
@ -0,0 +1,35 @@
package com.enderio.core.client.item;
justliliandev (Migrated from github.com) commented 2022-08-30 19:41:14 +00:00

return nothing, if renderstate is reset to enableBlend and enable texture you can return false in the Decorator

return nothing, if renderstate is reset to enableBlend and enable texture you can return false in the Decorator
Rover656 (Migrated from github.com) reviewed 2022-08-30 22:09:27 +00:00
@ -0,0 +1,35 @@
package com.enderio.core.client.item;
Rover656 (Migrated from github.com) commented 2022-08-30 22:09:27 +00:00

Done :) Now all of them return false and the renderBar method returns nothing.

Done :) Now all of them return false and the renderBar method returns nothing.
justliliandev (Migrated from github.com) approved these changes 2022-09-04 20:07:12 +00:00
Rover656 commented 2022-09-04 23:27:29 +00:00 (Migrated from github.com)

Thanks for the approve, merging :shipit:

Thanks for the approve, merging :shipit:
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#87
No description provided.