reformatted all src files (#141)

This commit is contained in:
YoungOnion
2022-09-17 05:08:02 -06:00
committed by GitHub
parent 3328bfcda2
commit 9011273229
1056 changed files with 88127 additions and 110597 deletions
@@ -19,34 +19,28 @@
package appeng.worldgen.meteorite;
import appeng.api.definitions.IBlockDefinition;
import net.minecraft.init.Blocks;
import appeng.api.definitions.IBlockDefinition;
public class FalloutSand extends FalloutCopy {
private static final double GLASS_THRESHOLD = 0.66;
private final MeteoriteBlockPutter putter;
public class FalloutSand extends FalloutCopy
{
private static final double GLASS_THRESHOLD = 0.66;
private final MeteoriteBlockPutter putter;
public FalloutSand(final IMeteoriteWorld w, final int x, final int y, final int z, final MeteoriteBlockPutter putter, final IBlockDefinition skyStoneDefinition) {
super(w, x, y, z, putter, skyStoneDefinition);
this.putter = putter;
}
public FalloutSand( final IMeteoriteWorld w, final int x, final int y, final int z, final MeteoriteBlockPutter putter, final IBlockDefinition skyStoneDefinition )
{
super( w, x, y, z, putter, skyStoneDefinition );
this.putter = putter;
}
@Override
public int adjustCrater() {
return 2;
}
@Override
public int adjustCrater()
{
return 2;
}
@Override
public void getOther( final IMeteoriteWorld w, final int x, final int y, final int z, final double a )
{
if( a > GLASS_THRESHOLD )
{
this.putter.put( w, x, y, z, Blocks.GLASS );
}
}
@Override
public void getOther(final IMeteoriteWorld w, final int x, final int y, final int z, final double a) {
if (a > GLASS_THRESHOLD) {
this.putter.put(w, x, y, z, Blocks.GLASS);
}
}
}