This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
public void addGhoulSpawnOnPortalActivate() { if (this.tryToCreatePortal(world, x?, y?, z?) == true); { EntityRegistry.addSpawn(teamoverhaul.netheroverhaul.entity.EntityGhoul.class, 50, 3, 8, EnumCreatureType.monster, BiomeGenBase.forest, BiomeGenBase.jungle, BiomeGenBase.forestHills, BiomeGenBase.jungleHills, BiomeGenBase.taiga, BiomeGenBase.taigaHills); } }
This is what I have, how would I check x y and z? I obviously want to return the portal's coords.