Sinytra Connector Support? (1.20 / 1.20.1)

Started by seb "vey" f.50 replies

  1. seb "vey" f.

    Hey! 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...?)
  2. cr24Team

    Oh strange, this looks like a mixin failure for the portal API we use?
  3. cr24Team

    @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.
  4. seb "vey" f.

    ah dang, good to know tho!
  5. KyrptonaughtTeam

    I’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 portal
  6. cr24Team

    ah okay I figured
  7. KyrptonaughtTeam

    Doesn’t help much now, but that mixin is no longer necessary in 1.21 and has been removed(edited)
  8. cr24Team

    ah 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 work
  9. seb "vey" f.

    alrighto
  10. KyrptonaughtTeam

    I apologize, I meant 1.21
  11. seb "vey" f.

    oh lol
  12. KyrptonaughtTeam

    That mixin isn’t necessary, especially for pl. We can try marking it as optional and seeing if we get farther(edited)
  13. cr24Team

    Sure, anything youve got I am happy to help try if I can
  14. KyrptonaughtTeam

    I’ll be away for a bit, but you can try in the mean time. If it works I can merge it and make a release
  15. cr24Team

    Image shared by cr24
  16. KyrptonaughtTeam

    Is that all it took?
  17. cr24Team

    yep, and removing an unused dependency on the PL side but just that one mixin from CPA
  18. cr24Team

    this isn't how psuedo works... is there another optional mixin flag I'm missing?
  19. KyrptonaughtTeam

    Yeah psuedo goes on the class itself for if the class may not exist
  20. cr24Team

    Okay 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 yourself
  21. KyrptonaughtTeam

    Oh that works too, I think you could’ve just thrown require=0 in the redirect
  22. cr24Team

    it seemed like require was for something different but yeah that does it too my bad
  23. KyrptonaughtTeam

    Bumped the version to beta65, pushed it
  24. cr24Team

    awesome, thank you so much
  25. cr24Team

    yeah 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 beta
  26. KyrptonaughtTeam

    When 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)

Open in DiscordYou'll need to be a member of the server.

Related threads