Reduces visibility of internal fields/methods
Reduces the visibility of all fields to private and create setters/getters when necessary. Exceptions are fields with GuiSync as these need to be public. Reduces the visibility of internal methods to private/protected/default when possible.
This commit is contained in:
@@ -111,12 +111,12 @@ public final class MeteoriteWorldGen implements IWorldGenerator
|
||||
return WorldData.instance().spawnData().getNearByMeteorites( w.provider.getDimensionId(), chunkX, chunkZ );
|
||||
}
|
||||
|
||||
class MeteoriteSpawn implements IWorldCallable<Object>
|
||||
private class MeteoriteSpawn implements IWorldCallable<Object>
|
||||
{
|
||||
|
||||
final int x;
|
||||
final int z;
|
||||
final int depth;
|
||||
private final int x;
|
||||
private final int z;
|
||||
private final int depth;
|
||||
|
||||
public MeteoriteSpawn( final int x, final int depth, final int z )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user