Jump to content

Recommended Posts

Posted

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?

Guest Abrynos
Posted

Use a event handler and the LivingDeathEvent

Posted

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)

Guest Abrynos
Posted

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

Posted

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?

Posted

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.