Posted September 25, 20205 yr I created custom portal block, which functions correctly, but it leaves behind nether portal not my own. The code is mostly copied from NetherPortalBlock and ITeleporter.
September 25, 20205 yr I feel like if I look at your Teleporter class, that would be easily answered in about three lines of code. That's what you get for copy-pasting. As for a custom POI, that's a registry. Although, that only matters if you are trying to link two portals together that are at different coordinates.
September 25, 20205 yr Author Here it teleporter class And portal block class just in case I wanted them to function just like nether portal (find surface, build structure, link portals) Edited September 25, 20205 yr by mcDandy forgot beheivour
September 25, 20205 yr So your frame is of blue ice: so fix this https://github.com/mcDandy/Winks-mod/blob/master/src/main/java/cz/mcDandy/winksmod/Teleporters/OmegaTeleporter.java#L204. And the other one too. I'm pretty sure this: https://github.com/mcDandy/Winks-mod/blob/1703f1ec689c927b55679d656271813d38dcc107/src/main/java/cz/mcDandy/winksmod/Blocks/OmegaPortalBlock.java#L66 can't be used either since it specifically uses the vanilla teleporter. Also, register your own POI then and use it instead.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.