Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
YocyCraft committed Dec 21, 2024
1 parent fb72438 commit 6d65439
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import dev.dubhe.anvilcraft.block.state.GiantAnvilCube;
import dev.dubhe.anvilcraft.entity.FallingGiantAnvilEntity;
import dev.dubhe.anvilcraft.init.ModBlocks;

import net.minecraft.MethodsReturnNonnullByDefault;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
Expand Down Expand Up @@ -45,10 +44,8 @@
import net.minecraft.world.phys.shapes.CollisionContext;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;

import net.neoforged.neoforge.common.NeoForge;
import org.jetbrains.annotations.Nullable;

import javax.annotation.ParametersAreNonnullByDefault;
import java.util.stream.Stream;

Expand Down Expand Up @@ -323,14 +320,13 @@ public void tick(
BlockPos bp = pos.offset(dx, dy, dz);
BlockState blockState = level.getBlockState(bp);
level.setBlock(bp, blockState.getFluidState().createLegacyBlock(), 3, 0);
// level.setBlock(bp, blockState.getFluidState().createLegacyBlock(), 18);
}
}
}

UPDATE_OFFSET.forEach((direction, offestList) -> offestList.forEach(offset -> {
BlockPos updatedPos = pos.offset(offset);
BlockPos fromPos = pos.relative(direction);
BlockPos fromPos = updatedPos.relative(direction);
level.neighborShapeChanged(direction,
level.getBlockState(fromPos),
updatedPos,
Expand Down

0 comments on commit 6d65439

Please sign in to comment.