Skip to content

Commit 9c84186

Browse files
committed
Make it compile
1 parent b008575 commit 9c84186

60 files changed

Lines changed: 270 additions & 319 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/elucent/rootsclassic/block/AcceleratorStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.AcceleratorStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class AcceleratorStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/AestheticStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.AestheticStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class AestheticStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/AttunedStandingStoneBlock.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
package elucent.rootsclassic.block;
22

3-
import net.minecraft.util.RandomSource;
4-
import net.minecraft.world.level.ScheduledTickAccess;
5-
import org.jspecify.annotations.Nullable;
63
import net.minecraft.core.BlockPos;
74
import net.minecraft.core.Direction;
5+
import net.minecraft.util.RandomSource;
86
import net.minecraft.world.entity.LivingEntity;
97
import net.minecraft.world.entity.player.Player;
108
import net.minecraft.world.item.ItemStack;
119
import net.minecraft.world.item.context.BlockPlaceContext;
1210
import net.minecraft.world.level.BlockGetter;
1311
import net.minecraft.world.level.Level;
14-
import net.minecraft.world.level.LevelAccessor;
1512
import net.minecraft.world.level.LevelReader;
13+
import net.minecraft.world.level.ScheduledTickAccess;
1614
import net.minecraft.world.level.block.Block;
1715
import net.minecraft.world.level.block.Blocks;
1816
import net.minecraft.world.level.block.state.BlockState;
@@ -22,6 +20,7 @@
2220
import net.minecraft.world.level.block.state.properties.EnumProperty;
2321
import net.minecraft.world.phys.shapes.CollisionContext;
2422
import net.minecraft.world.phys.shapes.VoxelShape;
23+
import org.jspecify.annotations.Nullable;
2524

2625
public class AttunedStandingStoneBlock extends BaseBEBlock {
2726

src/main/java/elucent/rootsclassic/block/EntanglerStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.EntanglerStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class EntanglerStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/GrowerStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.GrowerStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class GrowerStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/HealerStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.HealerStandingStone;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class HealerStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/IgniterStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.IgniterStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class IgniterStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/RepulsorStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.RepulsorStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class RepulsorStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/VacuumStandingStoneBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package elucent.rootsclassic.block;
22

3-
import org.jspecify.annotations.Nullable;
43
import elucent.rootsclassic.blockentity.VacuumStandingStoneTile;
54
import elucent.rootsclassic.registry.RootsRegistry;
65
import net.minecraft.core.BlockPos;
@@ -11,6 +10,7 @@
1110
import net.minecraft.world.level.block.entity.BlockEntityType;
1211
import net.minecraft.world.level.block.state.BlockState;
1312
import net.minecraft.world.level.block.state.properties.DoubleBlockHalf;
13+
import org.jspecify.annotations.Nullable;
1414

1515
public class VacuumStandingStoneBlock extends AttunedStandingStoneBlock implements EntityBlock {
1616

src/main/java/elucent/rootsclassic/block/altar/AltarBlock.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package elucent.rootsclassic.block.altar;
22

3-
import java.util.stream.Stream;
4-
import org.jspecify.annotations.Nullable;
53
import elucent.rootsclassic.block.BaseBEBlock;
64
import elucent.rootsclassic.registry.RootsRegistry;
75
import net.minecraft.core.BlockPos;
@@ -17,6 +15,9 @@
1715
import net.minecraft.world.phys.shapes.CollisionContext;
1816
import net.minecraft.world.phys.shapes.Shapes;
1917
import net.minecraft.world.phys.shapes.VoxelShape;
18+
import org.jspecify.annotations.Nullable;
19+
20+
import java.util.stream.Stream;
2021

2122
public class AltarBlock extends BaseBEBlock implements EntityBlock {
2223

0 commit comments

Comments
 (0)