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
@@ -27,9 +27,9 @@ public class BiomeGenStorage extends Biome
{
super(new BiomeProperties( "Storage Cell" ).setRainDisabled().setTemperature( -100 ));
this.theBiomeDecorator.treesPerChunk = 0;
this.theBiomeDecorator.flowersPerChunk = 0;
this.theBiomeDecorator.grassPerChunk = 0;
this.decorator.treesPerChunk = 0;
this.decorator.flowersPerChunk = 0;
this.decorator.grassPerChunk = 0;
this.spawnableMonsterList.clear();
this.spawnableCreatureList.clear();
@@ -365,7 +365,7 @@ public class CachedPlane
for( int y = 1; y < 255; y += 32 )
{
WorldData.instance().compassData().service().updateArea( this.getWorld(), c.xPosition << 4, y, c.zPosition << 4 );
WorldData.instance().compassData().service().updateArea( this.getWorld(), c.x << 4, y, c.z << 4 );
}
Platform.sendChunk( c, this.verticalBits );
@@ -407,7 +407,7 @@ public class CachedPlane
ExtendedBlockStorage extendedblockstorage = this.storage[by];
if( extendedblockstorage == null )
{
extendedblockstorage = this.storage[by] = new ExtendedBlockStorage( by << 4, !this.c.getWorld().provider.hasNoSky() );
extendedblockstorage = this.storage[by] = new ExtendedBlockStorage( by << 4, !this.c.getWorld().provider.hasSkyLight() );
}
}
}
@@ -422,14 +422,14 @@ public class CachedPlane
final ExtendedBlockStorage extendedBlockStorage = this.storage[y >> 4];
extendedBlockStorage.set( this.x, y & 15, this.z, (IBlockState) blk[0] );
// extendedBlockStorage.setExtBlockID( x, y & 15, z, blk[0] );
extendedBlockStorage.setExtBlocklightValue( this.x, y & 15, this.z, (Integer) blk[1] );
extendedBlockStorage.setBlockLight( this.x, y & 15, this.z, (Integer) blk[1] );
}
private Object[] getDetails( final int y )
{
final ExtendedBlockStorage extendedblockstorage = this.storage[y >> 4];
this.ch[0] = extendedblockstorage.get( this.x, y & 15, this.z );
this.ch[1] = extendedblockstorage.getExtBlocklightValue( this.x, y & 15, this.z );
this.ch[1] = extendedblockstorage.getBlockLight( this.x, y & 15, this.z );
return this.ch;
}
@@ -46,7 +46,7 @@ public class StorageChunkProvider extends ChunkProviderOverworld
}
@Override
public Chunk provideChunk( final int x, final int z )
public Chunk generateChunk( final int x, final int z )
{
final Chunk chunk = new Chunk( this.world, x, z );
@@ -105,7 +105,7 @@ public class StorageChunkProvider extends ChunkProviderOverworld
}
@Override
public BlockPos getStrongholdGen( World worldIn, String structureName, BlockPos position, boolean p_180513_4_ )
public BlockPos getNearestStructurePos( World worldIn, String structureName, BlockPos position, boolean p_180513_4_ )
{
return null;
}
@@ -123,7 +123,7 @@ public class StorageHelper
else
{
entity.getServer().getPlayerList().transferEntityToWorld( entity, entity.dimension,
entity.getServer().worldServerForDimension( entity.dimension ), (WorldServer) link.dim, new METeleporter( newWorld, link ) );
entity.getServer().getWorld( entity.dimension ), (WorldServer) link.dim, new METeleporter( newWorld, link ) );
}
}
@@ -43,7 +43,7 @@ public class StorageWorldProvider extends WorldProvider
public StorageWorldProvider()
{
this.hasNoSky = true;
this.hasSkyLight = true;
biome = AppEng.instance().getRegistration().getStorageBiome();
this.biomeProvider = new BiomeProviderSingle( biome );
}