Update MCP Mappings to stable_32

Some mapping updates are just straight up weird. 20170516 -> isBlockSolid, 20170517 -> causesDownwardCurrent
This commit is contained in:
Gunther De Wachter
2017-07-03 06:54:45 +02:00
parent 780ce89ac3
commit 890eef1803
67 changed files with 213 additions and 216 deletions
@@ -188,7 +188,7 @@ public final class MeteoritePlacer
if( j > h + distanceFrom * 0.02 )
{
if( lava && j < y && w.getBlock( x, y - 1, z ).isBlockSolid( w.getWorld(), new BlockPos( i, j, k ), EnumFacing.UP ) )
if( lava && j < y && w.getBlock( x, y - 1, z ).causesDownwardCurrent( w.getWorld(), new BlockPos( i, j, k ), EnumFacing.UP ) )
{
if( j > h + distanceFrom * 0.02 )
{
@@ -437,7 +437,7 @@ public final class MeteoritePlacer
public boolean spawnMeteorite( final IMeteoriteWorld w, final int x, final int y, final int z )
{
if( !w.hasNoSky() )
if( !w.hasSkyLight() )
{
return false;
}
@@ -35,7 +35,7 @@ public interface IMeteoriteWorld
int maxZ( int in );
boolean hasNoSky();
boolean hasSkyLight();
Block getBlock( int x, int y, int z );
@@ -64,9 +64,9 @@ public class StandardWorld implements IMeteoriteWorld
}
@Override
public boolean hasNoSky()
public boolean hasSkyLight()
{
return !this.getWorld().provider.hasNoSky();
return !this.getWorld().provider.hasSkyLight();
}
@Override