If you are coding a new block in the game use this code here
public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
{
return null;
}
public boolean isOpaqueCube()
{
return false;
}
/**
* If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
*/
public boolean renderAsNormalBlock()
{
return false;
}
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
{
if (par5Entity.ridingEntity == null && par5Entity.riddenByEntity == null && par5Entity instanceof EntityPlayer && !par1World.isRemote)
{
((EntityPlayer)par5Entity).travelToDimension(1);
}
}
public int getRenderBlockPass()
{
return 1;
}
This will allow you to step in a block you created to transport to the end, but you cant get back without defeating the dragon.....
If you are coding a new block in the game use this code here
public AxisAlignedBB getCollisionBoundingBoxFromPool(World par1World, int par2, int par3, int par4)
{
return null;
}
public boolean isOpaqueCube()
{
return false;
}
/**
* If this block doesn't render as an ordinary block it will return False (examples: signs, buttons, stairs, etc)
*/
public boolean renderAsNormalBlock()
{
return false;
}
public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity)
{
if (par5Entity.ridingEntity == null && par5Entity.riddenByEntity == null && par5Entity instanceof EntityPlayer && !par1World.isRemote)
{
((EntityPlayer)par5Entity).travelToDimension(1);
}
}
public int getRenderBlockPass()
{
return 1;
}
This will allow you to step in a block you created to transport to the end, but you cant get back without defeating the dragon.....
Nope, the only way to correctly get to the end is to find stronghold and enter that way. So far the only way to get back from the end is to defeat the dragon. I have tried several things, even a custom teleporter to get back to surface without defeating the dragon, so far no luck. I think there is some kind of built in override in place to keep you from going back to surface without killing dragon....
I've heard that portal frames have a "facing" direction, like pumpkins do, even though you can't see it, and that all 12 of them have to be facing inwards or else the portal won't light. So, you stand inside where you want the portal to be, and place the 12 frame blocks in a ring around you. Then stick the eyes of ender in them and it should light right away. That's what worked for me, just the other day when I was testing. (I didn't actually try it facing a different direction, so I don't know if they really do have to be facing inward or not, but it seems legit.)
I've heard that portal frames have a "facing" direction, like pumpkins do, even though you can't see it, and that all 12 of them have to be facing inwards or else the portal won't light. So, you stand inside where you want the portal to be, and place the 12 frame blocks in a ring around you. Then stick the eyes of ender in them and it should light right away. That's what worked for me, just the other day when I was testing. (I didn't actually try it facing a different direction, so I don't know if they really do have to be facing inward or not, but it seems legit.)
It doesn't have to be facing the same direction. I built one in creative with half the eyes facing the other direction and it still lit. Whether being in creative impacts this or not, I don't know.
This will allow you to step in a block you created to transport to the end, but you cant get back without defeating the dragon.....
I am working on making that possible...
Find out how I generate....coolAlias...world structure generation and rotation tool...
Find out how I generate....coolAlias...world structure generation and rotation tool...
Why thank you....
Find out how I generate....coolAlias...world structure generation and rotation tool...
Find out how I generate....coolAlias...world structure generation and rotation tool...
Yes. You don't even need the lava under it. Or with TMI you can just give yourself the portal block itself, and bypass the frame entirely.
Village Mechanics: A not-so-brief guide - Update 2017! Now with 1.8 breeding mechanics! Long-overdue trading info, coming soon!
You think magic isn't real? Consider this: for every person, there is a sentence -- a series of words -- which has the power to destroy them.
I've heard that portal frames have a "facing" direction, like pumpkins do, even though you can't see it, and that all 12 of them have to be facing inwards or else the portal won't light. So, you stand inside where you want the portal to be, and place the 12 frame blocks in a ring around you. Then stick the eyes of ender in them and it should light right away. That's what worked for me, just the other day when I was testing. (I didn't actually try it facing a different direction, so I don't know if they really do have to be facing inward or not, but it seems legit.)
Village Mechanics: A not-so-brief guide - Update 2017! Now with 1.8 breeding mechanics! Long-overdue trading info, coming soon!
You think magic isn't real? Consider this: for every person, there is a sentence -- a series of words -- which has the power to destroy them.
But anyway, I haven't tried this yet, but maybe use silk touch on a portal block? I don't know if it works but it's worth a try I guess.
It doesn't have to be facing the same direction. I built one in creative with half the eyes facing the other direction and it still lit. Whether being in creative impacts this or not, I don't know.