Added spotless back and reformatted
This commit is contained in:
@@ -21,10 +21,10 @@ package appeng.decorative.solid;
|
||||
import java.util.Random;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
import net.fabricmc.api.Environment;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import net.fabricmc.api.Environment;
|
||||
|
||||
import appeng.client.render.effects.ParticleTypes;
|
||||
import appeng.core.AEConfig;
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
package appeng.decorative.solid;
|
||||
|
||||
import appeng.block.AEBaseBlock;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.enchantment.EnchantmentHelper;
|
||||
import net.minecraft.enchantment.Enchantments;
|
||||
@@ -27,6 +26,8 @@ import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import appeng.block.AEBaseBlock;
|
||||
|
||||
public class QuartzOreBlock extends AEBaseBlock {
|
||||
public QuartzOreBlock(Settings props) {
|
||||
super(props);
|
||||
|
||||
@@ -20,11 +20,11 @@ package appeng.decorative.solid;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.state.property.EnumProperty;
|
||||
import net.minecraft.state.StateManager;
|
||||
import net.minecraft.state.property.EnumProperty;
|
||||
import net.minecraft.state.property.Properties;
|
||||
import net.minecraft.util.math.Direction;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.util.math.Direction;
|
||||
import net.minecraft.world.BlockView;
|
||||
|
||||
import appeng.api.util.IOrientable;
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
|
||||
package appeng.decorative.solid;
|
||||
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.worlddata.WorldData;
|
||||
import net.minecraft.block.BlockState;
|
||||
import net.minecraft.server.world.ServerWorld;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
@@ -28,6 +26,9 @@ import net.minecraft.util.math.Direction;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.WorldAccess;
|
||||
|
||||
import appeng.block.AEBaseBlock;
|
||||
import appeng.core.worlddata.WorldData;
|
||||
|
||||
public class SkyStoneBlock extends AEBaseBlock {
|
||||
private static final float BREAK_SPEAK_SCALAR = 0.1f;
|
||||
private static final double BREAK_SPEAK_THRESHOLD = 7.0;
|
||||
@@ -56,8 +57,8 @@ public class SkyStoneBlock extends AEBaseBlock {
|
||||
// }
|
||||
|
||||
@Override
|
||||
public BlockState getStateForNeighborUpdate(BlockState stateIn, Direction facing, BlockState facingState, WorldAccess worldIn,
|
||||
BlockPos currentPos, BlockPos facingPos) {
|
||||
public BlockState getStateForNeighborUpdate(BlockState stateIn, Direction facing, BlockState facingState,
|
||||
WorldAccess worldIn, BlockPos currentPos, BlockPos facingPos) {
|
||||
if (worldIn instanceof ServerWorld) {
|
||||
ServerWorld serverWorld = (ServerWorld) worldIn;
|
||||
WorldData.instance().compassData().service().notifyBlockChange(serverWorld, currentPos);
|
||||
@@ -66,8 +67,6 @@ public class SkyStoneBlock extends AEBaseBlock {
|
||||
return super.getStateForNeighborUpdate(stateIn, facing, facingState, worldIn, currentPos, facingPos);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void onStateReplaced(BlockState state, World w, BlockPos pos, BlockState newState, boolean isMoving) {
|
||||
if (newState.getBlock() == state.getBlock()) {
|
||||
|
||||
Reference in New Issue
Block a user