Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port to 1.21 #263

Merged
merged 50 commits into from
Jul 31, 2024
Merged

Port to 1.21 #263

merged 50 commits into from
Jul 31, 2024

Conversation

IxPrumxI
Copy link
Contributor

  • Remove support for PinLib
  • Remove LazyDFU
  • Update Loom to 1.6-SNAPSHOT and Gradle to 8.6
  • Add missing red nether brick waystone recipe advancement

I jumped from 1.20.4 to 1.21, Don't have a working version for 1.20.5-1.20.6 and I don't know how hard is it to do that.

Closes #259

@IxPrumxI
Copy link
Contributor Author

@LordDeatHunter any timeline for when you are going to review this PR?

@@ -252,18 +254,6 @@ public ActionResult onUse(BlockState state, World world, BlockPos pos, PlayerEnt
}
return ActionResult.PASS;
}
if (heldItem == Items.SHEARS) {
if (topState.get(MOSSY)) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What happened to shearing the Waystones?

@@ -20,11 +22,9 @@ public static void register() {
return 0f;
}
if (stack.getItem() instanceof WaystoneScrollItem) {
NbtCompound tag = stack.getNbt();
return tag == null || !tag.contains(FabricWaystones.MOD_ID) || tag.getList(FabricWaystones.MOD_ID, NbtElement.STRING_TYPE).isEmpty() ? 0 : 1;
return 1f;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this always default to 1 texture, instead of 2 textures per state (1 for empty scroll, 1 for bound scroll)?

@LordDeatHunter
Copy link
Owner

I left a comment last time but I guess I had to click Finish Review.
For the most part it LGTM.
My main concern is some of the features being dropped: shearing waystones, per-state textures for some of the items, vanilla map support (with pinlib, nothing to be done if there's no update/the old versions don't work), etc.

@LordDeatHunter
Copy link
Owner

Thanks for taking the time for all this. I found some bugs while testing:

  • Opening a Waystone for the first time doesn't show it in the menu until reopening the UI.
  • Void Totems don't play the "totem animation" when activating, and don't seem to teleport the player if bound
  • Void Totems sometimes either don't active at all or crash the game (crash log provided)
  • Global waystones aren't displayed (might also be an issue with the View global waystones setting?)
  • Shift-right-click on the void items doesn't reset their state client-side (animation persists until syncing via teleporting or reconnecting)

Possible bugs that might've existed from before, or aren't that important:

  • Running /fwaystones forget_all forgets all waystones but persists the eyes (either desync or means they're still owned by the current player)
  • Clicking the "autoselect search bar" padlock button next to the search bar when opening the UI doesn't do anything until re-opening the UI (might've always been like this tho...)

@IxPrumxI
Copy link
Contributor Author

So I fixed all of the issues except

Global waystones aren't displayed (might also be an issue with the View global waystones setting?)

I couldn't replicate that so I don't know where exactly is the issue. On my survival server global waystones always worked for us.

@LordDeatHunter
Copy link
Owner

I can test again later in the evening.
What I did was, in the Waystone settings (the gear button), there's options to hide the discovered Waystones. With that disabled & the "show global" enabled, and a bunch of Waystones being set to global, my list was empty.

@LordDeatHunter LordDeatHunter merged commit 7b36443 into LordDeatHunter:master Jul 31, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Please port mod for 1.21 fabric.
2 participants