Skip to content

Commit 63be1b8

Browse files
spotlessApply (#42)
Co-authored-by: GitHub GTNH Actions <>
1 parent 61d6385 commit 63be1b8

3 files changed

Lines changed: 11 additions & 8 deletions

File tree

src/main/java/twilightforest/world/DefaultOrePlacer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import net.minecraft.world.World;
55

66
class DefaultOrePlacer implements OrePlacer {
7+
78
@Override
89
public boolean placeOre(World world, int x, int y, int z, Block block) {
910
// Set the block without block updates.

src/main/java/twilightforest/world/OrePlacer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
import net.minecraft.world.World;
55

66
public interface OrePlacer {
7+
78
boolean placeOre(World world, int x, int y, int z, Block block);
89
}

src/main/java/twilightforest/world/StalactiteOreGen.java

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
package twilightforest.world;
22

3-
import com.google.common.collect.ImmutableList;
4-
import net.minecraft.block.Block;
5-
import net.minecraft.world.World;
6-
73
import java.util.Iterator;
84
import java.util.LinkedList;
95
import java.util.List;
106

7+
import net.minecraft.block.Block;
8+
import net.minecraft.world.World;
9+
10+
import com.google.common.collect.ImmutableList;
11+
1112
public class StalactiteOreGen {
12-
private static final List<OrePlacer> orePlacers =
13-
new LinkedList<>(ImmutableList.of(new DefaultOrePlacer()));
13+
14+
private static final List<OrePlacer> orePlacers = new LinkedList<>(ImmutableList.of(new DefaultOrePlacer()));
1415

1516
/**
16-
* Add an ore placing handler that will return true when it determines it
17-
* wants to override the default ore placing behavior.
17+
* Add an ore placing handler that will return true when it determines it wants to override the default ore placing
18+
* behavior.
1819
* <p>
1920
* The OrePlacer must NOT have any side effects if it returns false.
2021
*

0 commit comments

Comments
 (0)