OnSpawningEntity
#5
Use the OnSpawningEntity() hook and return true if you don't want the entity to spawn.
Also, as Bearbin said, use named constants for biomes: biForest, biTundra etc. Here's a list:
biOcean            = 0,
biPlains           = 1,
biDesert           = 2,
biExtremeHills     = 3,
biForest           = 4,
biTaiga            = 5,
biSwampland        = 6,
biRiver            = 7,
biHell             = 8,  // same as Nether
biNether           = 8,
biSky              = 9,
biFrozenOcean      = 10,
biFrozenRiver      = 11,
biIcePlains        = 12,
biTundra           = 12,  // same as Ice Plains
biIceMountains     = 13,
biMushroomIsland   = 14,
biMushroomShore    = 15,
biBeach            = 16,
biDesertHills      = 17,
biForestHills      = 18,
biTaigaHills       = 19,
biExtremeHillsEdge = 20,
biJungle           = 21,
biJungleHills      = 22,
Reply
Thanks given by: tonibm19


Messages In This Thread
OnSpawningEntity - by tonibm19 - 08-09-2013, 04:27 AM
RE: OnSpawningEntity - by NiLSPACE - 08-09-2013, 04:31 AM
RE: OnSpawningEntity - by bearbin - 08-09-2013, 04:31 AM
RE: OnSpawningEntity - by tonibm19 - 08-09-2013, 05:05 AM
RE: OnSpawningEntity - by xoft - 08-09-2013, 04:41 PM
RE: OnSpawningEntity - by NiLSPACE - 08-09-2013, 07:32 PM
RE: OnSpawningEntity - by bearbin - 08-09-2013, 08:00 PM
RE: OnSpawningEntity - by xoft - 08-10-2013, 04:19 AM



Users browsing this thread: 8 Guest(s)