Sinytra Connector Support? (1.20 / 1.20.1)
Started by seb "vey" f.50 replies
- SHey! I know the 1.20 version just released, but I've attempted to use this mod alongside Sinytra Connector because of an idea I had - but for some reason this mod crashes on start. I'm just wondering if you guys ever plan to do Sinytra Connector support at one point? Log: https://mclo.gs/EzVale4 (no crash log for some reason...?)
- C
- C@Kyrptonaught not to throw this onto you, but any ideas? I don't see that mixin signature on the error it's throwing, looks like different mappings but no boolean or portalinfo-like path from what I can tell.22:36I'd like to have PL work on Sinytra Connector but I haven't really worked with it and I'm not sure how I'd really go about debugging anything with it either so it might not be supported (yet at least)
- S22:37(i just kinda wanted to use this mod with sinytra becuz i prefer this mod aesthetically than OG aether lol)(edited)
- ❤️1
- Cseems to point at: https://github.com/kyrptonaught/customportalapi/blob/1.20/src/main/java/net/kyrptonaught/customportalapi/mixin/EntityMixin.java#L103
GitHub
customportalapi/src/main/java/net/kyrptonaught/customportalapi/mixi...Developer Api for creating custom portals to any dimension - kyrptonaught/customportalapi - KI’m guessing forge changes that method and removes where I’m trying to target? The mixin is to prevent an end portal from spawning when you teleport to the end with a custom portal22:38Yep
- C
- K
- Cah okay that actually might be good news, @seb "vey" f. I'll be updating PL to 1.20.2 soon and if you could try the mod on those versions we can see if it'll work22:39but that doesn't really help you right now lol
- S
- K
- S
- K
- C
- KI’ll be away for a bit, but you can try in the mean time. If it works I can merge it and make a release23:00Mark that mixin as optional, increment the version, and then build a jar and throw it in your mods folder and see if it works
- C01:07(top left)
- K
- C
- C
- K
- COkay I got it, never done this with mixins before so let me know if anything's wrong or feel free to make a change to it yourself01:58made a separate optional mixins.json which throws a fit when loaded with sinytra but it does load and the PL portal works 100%01:58no issues on normal fabric02:03Okie dokie all good on my end, at your leisure https://github.com/kyrptonaught/customportalapi/pull/107
GitHub
1.20.0/1 Sinytra end portal mixin patch by MBatt1 · Pull Request #1...As discussed in the PL discord thread. Functional with latest version of Paradise Lost on Sinytra - K
- C02:12I've corrected it to be simpler. let me know when the version is available and also if you want PRs for the other 1.20.x versions FYI, the portal exit sounds doesn't work on Sinytra for some reason, entry sound is correct though
- K
- C13:43@seb "vey" f. when you have a chance, please try loading the b2.2.2 version of PL I just released and it should now be working on Sinytra
- S
Replying tocr24@seb "vey" f. when you have a chance, please try loading the b2.2.2 version of PL I just…
heyyy! it works!!!15:14weird tho, the sound for exiting the portal is just the normal nether one - Cyeah I think that is just sinytra weirdness, it works on normal fabric but I think thatll just be an artifact of using sinytra which is in beta15:17But glad to see it works at least 95%!
- KIf you feel like trying to debug it, here's where we attempt to play the custom sound https://github.com/kyrptonaught/customportalapi/blob/c844099ed54c4cc518dc5bcf6a90ab99c85845d6/src/main/java/net/kyrptonaught/customportalapi/mixin/client/WorldRendererMixin.java#L26
- KWhen a player is teleported through a portal a WorldEventS2CPacket is sent. The eventID is 1032 and by default has no extra data. We hijack the sending of this packet and throw some custom data in there to specify which portal. We do the hijacking here https://github.com/kyrptonaught/customportalapi/blob/c844099ed54c4cc518dc5bcf6a90ab99c85845d6/src/main/java/net/kyrptonaught/customportalapi/mixin/ServerPlayerMixin.java#L46(edited)16:16A couple things could be going wrong to cause this.

