Reduced the biome radar jump distance to 512 to make any biomes found in a realistic to travel to distance
This commit is contained in:
parent
b155f08ac3
commit
9ae50323ae
2 changed files with 2 additions and 3 deletions
|
@ -75,7 +75,6 @@ public class BlockPromisedPortal extends Block
|
|||
{
|
||||
if (entity instanceof EntityPlayerMP)
|
||||
{
|
||||
//TODO: FEATURE
|
||||
EntityPlayerMP thePlayer = (EntityPlayerMP) entity;
|
||||
if (entity.dimension != BOPConfigurationIDs.promisedLandDimID)
|
||||
{
|
||||
|
|
|
@ -63,7 +63,7 @@ public class ItemBiomeFinder extends Item
|
|||
{
|
||||
for (int z = -10; z <= 10; z++)
|
||||
{
|
||||
ChunkPosition foundPosition = chunkManager.func_150795_a(playerX + (x * 1024), playerZ + (z * 1024), radius, Arrays.asList(biomeToFind), world.rand);
|
||||
ChunkPosition foundPosition = chunkManager.func_150795_a(playerX + (x * 512), playerZ + (z * 512), radius, Arrays.asList(biomeToFind), world.rand);
|
||||
|
||||
if (foundPosition != null && world.getBiomeGenForCoords(foundPosition.field_151329_a, foundPosition.field_151328_c) == biomeToFind)
|
||||
{
|
||||
|
@ -79,7 +79,7 @@ public class ItemBiomeFinder extends Item
|
|||
{
|
||||
for (int z = 10; z >= -10; z--)
|
||||
{
|
||||
ChunkPosition foundPosition = chunkManager.func_150795_a(playerX + (x * 1024), playerZ + (z * 1024), radius, Arrays.asList(biomeToFind), world.rand);
|
||||
ChunkPosition foundPosition = chunkManager.func_150795_a(playerX + (x * 512), playerZ + (z * 512), radius, Arrays.asList(biomeToFind), world.rand);
|
||||
|
||||
if (foundPosition != null && world.getBiomeGenForCoords(foundPosition.field_151329_a, foundPosition.field_151328_c) == biomeToFind)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue