Posted July 29, 201411 yr I made a working boss, but when It dies I want it to spawn a portal to my custom dimension. My portal is shaped like a nether portal. I made a section of schematic like code that spawns the blocks around the portal blocks and the portal blocks. The outside blocks spawn in when the boss dies, but the portal blocks don't. Any help please?
July 29, 201411 yr Author Use a event handler and the LivingDeathEvent I get events, but how would I use them to spawn portal blocks?
July 29, 201411 yr They code has to say: If specific event happens (livingentitydeath + entity = yaboss) THEN do something other (spawn your portal (use the tutorial linked)) http://www.minecraftforge.net/wiki/Multiple_blocks_structures
July 29, 201411 yr Author They code has to say: If specific event happens (livingentitydeath + entity = yaboss) THEN do something other (spawn your portal (use the tutorial linked)) http://www.minecraftforge.net/wiki/Multiple_blocks_structures I think I get what you are saying, but I can get everything else to spawn (the border), but can not get the actual portal blocks to spawn (like the purple swirly parts of the nether portal)
July 29, 201411 yr Have you made them in your mod? If yes you have to create them like the border if not: you can't set the vanilla portal blocks, because they would bring the player to the nether! You have to make your own
July 29, 201411 yr Author Have you made them in your mod? If yes you have to create them like the border if not: you can't set the vanilla portal blocks, because they would bring the player to the nether! You have to make your own I made my own portal block and am using that. I also used the same code as the border, I just replaced the name of the block. I got the border the spawn, but the portals wont. Does this have something to do with direction or metadata?
July 29, 201411 yr There are numerous tutorials on how to make custom dimensions and the portal blocks for them. Look it up. All you are doing here is setting a portal without fire. You could just build the outside blocks and then set one of the centers to fire or initiate it another method, ect. Long time Bukkit & Forge Programmer Happy to try and help
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.