Replaces all method parameter regarding their naming conventions
This commit is contained in:
@@ -262,12 +262,12 @@ public class CachedPlane
|
||||
}
|
||||
}
|
||||
|
||||
private void markForUpdate( int src_x, int src_y, int src_z )
|
||||
private void markForUpdate( int x, int y, int z )
|
||||
{
|
||||
this.updates.add( new WorldCoord( src_x, src_y, src_z ) );
|
||||
this.updates.add( new WorldCoord( x, y, z ) );
|
||||
for( ForgeDirection d : ForgeDirection.VALID_DIRECTIONS )
|
||||
{
|
||||
this.updates.add( new WorldCoord( src_x + d.offsetX, src_y + d.offsetY, src_z + d.offsetZ ) );
|
||||
this.updates.add( new WorldCoord( x + d.offsetX, y + d.offsetY, z + d.offsetZ ) );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -366,17 +366,17 @@ public class CachedPlane
|
||||
private final ExtendedBlockStorage[] storage;
|
||||
private List<Integer> skipThese = null;
|
||||
|
||||
public Column( Chunk _c, int _x, int _z, int cy, int chunkHeight )
|
||||
public Column( Chunk chunk, int x, int z, int chunkY, int chunkHeight )
|
||||
{
|
||||
this.x = _x;
|
||||
this.z = _z;
|
||||
this.c = _c;
|
||||
this.x = x;
|
||||
this.z = z;
|
||||
this.c = chunk;
|
||||
this.storage = this.c.getBlockStorageArray();
|
||||
|
||||
// make sure storage exists before hand...
|
||||
for( int ay = 0; ay < chunkHeight; ay++ )
|
||||
{
|
||||
int by = ( ay + cy );
|
||||
int by = ( ay + chunkY );
|
||||
ExtendedBlockStorage extendedblockstorage = this.storage[by];
|
||||
if( extendedblockstorage == null )
|
||||
{
|
||||
|
||||
@@ -314,12 +314,12 @@ public class StorageHelper
|
||||
final int yOff;
|
||||
final int zOff;
|
||||
|
||||
TelDestination( World _dim, AxisAlignedBB srcBox, double _x, double _y, double _z, int tileX, int tileY, int tileZ )
|
||||
TelDestination( World dimension, AxisAlignedBB srcBox, double x, double y, double z, int tileX, int tileY, int tileZ )
|
||||
{
|
||||
this.dim = _dim;
|
||||
this.x = Math.min( srcBox.maxX - 0.5, Math.max( srcBox.minX + 0.5, _x + tileX ) );
|
||||
this.y = Math.min( srcBox.maxY - 0.5, Math.max( srcBox.minY + 0.5, _y + tileY ) );
|
||||
this.z = Math.min( srcBox.maxZ - 0.5, Math.max( srcBox.minZ + 0.5, _z + tileZ ) );
|
||||
this.dim = dimension;
|
||||
this.x = Math.min( srcBox.maxX - 0.5, Math.max( srcBox.minX + 0.5, x + tileX ) );
|
||||
this.y = Math.min( srcBox.maxY - 0.5, Math.max( srcBox.minY + 0.5, y + tileY ) );
|
||||
this.z = Math.min( srcBox.maxZ - 0.5, Math.max( srcBox.minZ + 0.5, z + tileZ ) );
|
||||
this.xOff = tileX;
|
||||
this.yOff = tileY;
|
||||
this.zOff = tileZ;
|
||||
|
||||
@@ -69,7 +69,7 @@ public class StorageWorldProvider extends WorldProvider
|
||||
|
||||
@Override
|
||||
@SideOnly( Side.CLIENT )
|
||||
public float[] calcSunriseSunsetColors( float p_76560_1_, float p_76560_2_ )
|
||||
public float[] calcSunriseSunsetColors( float celestialAngle, float partialTicks )
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user