[TRACKING] 1.20.1 #129

Merged
Rover656 merged 18 commits from update/1.20.1 into dev/1.20.1 2023-06-25 13:39:28 +00:00
Rover656 commented 2023-06-24 00:19:31 +00:00 (Migrated from github.com)

Description

This is a tracking PR for 1.20.1 porting. Will not merge for a while.

Closes #128

Todo

  • #128 (maybe)
  • Fix rotating gears not rotating
  • Check misc. todos, especially regarding the transition to GuiGraphics
  • Some code review, try and tidy some stuff before we hit the new version.
  • Deal with lack of defaultModel and defaultLang from Registrate. This is either a bug or an API change, waiting to hear which.

Blockers

This PR is big, and will 100% break other branches. To make sure people's work isn't lost, all PRs before a certain point will be merged. As of now, there is no deadline for this as we're not committing to a 1.20.1 switch date, but listing the one's I am aware of here.

Any stale PRs are being omitted from this list simply to not hold up the queue. Any PRs that predate this should ideally continue to target 1.19.4 (some may need updating) however if you have planned changes, ask in Discord first as you may want to start working in 1.20.1.

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 This is a tracking PR for 1.20.1 porting. Will not merge for a while. Closes #128 # Todo <!-- Remove this section if you're submitting an already-complete PR --> - [x] #128 (maybe) - [x] Fix rotating gears not rotating - [x] Check misc. todos, especially regarding the transition to GuiGraphics - [x] Some code review, try and tidy some stuff before we hit the new version. - [x] Deal with lack of defaultModel and defaultLang from Registrate. This is either a bug or an API change, waiting to hear which. # Blockers This PR is big, and will 100% break other branches. To make sure people's work isn't lost, all PRs before a certain point will be merged. As of now, there is no deadline for this as we're not committing to a 1.20.1 switch date, but listing the one's I am aware of here. - [x] #127 - [ ] #126 - [x] #121 Any stale PRs are being omitted from this list simply to not hold up the queue. Any PRs that predate this should ideally continue to target 1.19.4 (some may need updating) however if you have planned changes, ask in Discord first as you may want to start working in 1.20.1. # 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 2023-06-25 12:24:29 +00:00
justliliandev (Migrated from github.com) left a comment

looks good to me

looks good to me
justliliandev (Migrated from github.com) commented 2023-06-25 11:58:29 +00:00

onSecurityBreach is missing @override and because of the securitysystem being gone that method should be removed entirely

onSecurityBreach is missing @override and because of the securitysystem being gone that method should be removed entirely
@ -120,3 +120,2 @@
@Nullable
private T tooltipDisplayCache;
@Nullable private T tooltipDisplayCache;
justliliandev (Migrated from github.com) commented 2023-06-25 12:07:17 +00:00

has this one parameter really be on it's own line because it's too long? maybe disable formatting before this line and enable after this one or extract the tooltipformatting

has this one parameter really be on it's own line because it's too long? maybe disable formatting before this line and enable after this one or extract the tooltipformatting
@ -17,3 +14,4 @@
// TODO: 1.20.1, why does this do custom work?
public class IndustrialInsulationBlock extends SpongeBlock {
private static final int MAX_REPLACES = 64;
private static final int MAX_RANGE = 6;
justliliandev (Migrated from github.com) commented 2023-06-25 12:21:22 +00:00

what do you mean by this?

what do you mean by this?
Rover656 (Migrated from github.com) reviewed 2023-06-25 13:24:17 +00:00
@ -17,3 +14,4 @@
// TODO: 1.20.1, why does this do custom work?
public class IndustrialInsulationBlock extends SpongeBlock {
private static final int MAX_REPLACES = 64;
private static final int MAX_RANGE = 6;
Rover656 (Migrated from github.com) commented 2023-06-25 13:24:16 +00:00

I was wondering why this has logic in addition to the base sponge block

I was wondering why this has logic in addition to the base sponge block
Rover656 commented 2023-06-25 13:26:30 +00:00 (Migrated from github.com)

Once that final comment is resolved, going to merge this in and get rolling with 1.20 bits and bobs. Recipes will be merged and ported shortly after review.

Once that final comment is resolved, going to merge this in and get rolling with 1.20 bits and bobs. Recipes will be merged and ported shortly after review.
justliliandev (Migrated from github.com) reviewed 2023-06-25 13:36:44 +00:00
@ -17,3 +14,4 @@
// TODO: 1.20.1, why does this do custom work?
public class IndustrialInsulationBlock extends SpongeBlock {
private static final int MAX_REPLACES = 64;
private static final int MAX_RANGE = 6;
justliliandev (Migrated from github.com) commented 2023-06-25 13:36:44 +00:00

it voids all fluids, not just water

it voids all fluids, not just water
Rover656 (Migrated from github.com) reviewed 2023-06-25 13:37:09 +00:00
@ -17,3 +14,4 @@
// TODO: 1.20.1, why does this do custom work?
public class IndustrialInsulationBlock extends SpongeBlock {
private static final int MAX_REPLACES = 64;
private static final int MAX_RANGE = 6;
Rover656 (Migrated from github.com) commented 2023-06-25 13:37:09 +00:00

ahh so it does! Thats all good then ill drop the comment and merge :)

ahh so it does! Thats all good then ill drop the comment and merge :)
Sign in to join this conversation.
No reviewers
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#129
No description provided.