Portal Dimension

3 posts / 0 new
Last post
Offline
Last seen: 1 year 8 months ago
Joined: 11/11/2014 - 10:45
Gems: 0
Portal Dimension

Hello guys!

I am a modder(both code and mcreator). I was just wondering why pylo mcreator spawns pigmans every now and then when you create a new dimension... It seems quite strange. If you don't understand, it means that when you make a dimension mod, your dimension portal seems to spawn in pigmans. It dosen't do that with my own code so does anyone know how to solve this? Thanks ~MrMinecraftGamer3000



Offline
Last seen: 1 year 8 months ago
Joined: 03/31/2015 - 13:31
Gems: 0
Well one of the features of

Well one of the features of the nether portal is to spawn pigmans(so it will look like they used the portal) so I am guessing that because the MCreator portal is based on the nether then it spawns pigmans too and no I dont know how to fix it.

AquilaNova's picture
Offline
Last seen: 1 year 8 months ago
Joined: 04/22/2015 - 14:39
Gems: 0
you need to look for in you

you need to look for in you dimension element.


Entity entity = ItemMonsterPlacer.spawnCreature(par1World, 57, (double)par2 + 0.5D, (double)l + 1.1D, (double)par4 + 0.5D);
if (entity != null)
{
entity.timeUntilPortal = entity.getPortalCooldown();
}

and remove it.

Hope this helps.