#mod-dev-talk Saturday 31 July 2021
54 messages4 people
- D10:38By @Kyrptonaught and it's looking good. How do I set the block to something that isn't the custom portal block?
- J
- D
- J
- D
- K
- J
- D
- K
- D10:44I could do a custom server-side block and trick the client into thinking it's a vanilla portal
- KI think I have this implemented and working in a local branch. Might’ve been for 1.16 though10:45Can that be done without something like polymc?
- D
- K10:45Haven’t heard of that?
- D10:46It's a server-side block library10:46
GitHub
GitHub - Patbox/polymer: Library for creating better server side co...Library for creating better server side content! (For Fabric) - GitHub - Patbox/polymer: Library for creating better server side content! (For Fabric)10:46Well polymc doesn't use it10:46But it's there - K
- D10:48And for setting the block itself
- KThe aether does it here, line 32 https://github.com/devs-immortal/The-Aether/blob/1.17/src/main/java/com/aether/world/dimension/AetherDimension.java
GitHub
The-Aether/AetherDimension.java at 1.17 · devs-immortal/The-AetherThe Aether mod port for Fabric 1.16.4. Contribute to devs-immortal/The-Aether development by creating an account on GitHub.10:49The block must extend CustomPortalBlock though - D
- KThank you! It’s still very much a work in progress, but its starting to come together.10:58Java good
- D
- K
Replying toDeleted UserWould you be able to make the custom portals (tinted ones) show nether portals on…
Yes I am planning on doing this very soon. I’ve got it almost working on a 1.16 branch, so I’ll port that over to 1.17.- 👀1
- K
Replying toDeleted UserCustomPortalBlock#61 returns air normally, should probably return nether portal block
This should return air, as it’s resetting the block back to air if the portal is no longer valid, ie a frame was broken - D
- D
Replying toKyrptonaughtYes I am planning on doing this very soon. I’ve got it almost working on a 1.16 branch…
Sounds great, please give me a ping when it's ready. In fact I'd be happy to help port - D
- C
- K
Replying toDeleted UserAlso @Kyrptonaught it appears the portal tint option is broken on 1.17 (testing with…
Are you using a custom portal block? - J
