Skip to content

Commit 20f155a

Browse files
committed
spawnBlockBreakingParticles
1 parent 32ef6b1 commit 20f155a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/kotlin/com/lambda/interaction/managers/breaking/BreakManager.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ import com.lambda.util.player.swingHand
9292
import net.minecraft.block.BlockState
9393
import net.minecraft.client.sound.PositionedSoundInstance
9494
import net.minecraft.client.sound.SoundInstance
95-
import net.minecraft.client.world.BlockParticleEffectsManager
9695
import net.minecraft.entity.ItemEntity
9796
import net.minecraft.item.ItemStack
9897
import net.minecraft.sound.SoundCategory
@@ -747,8 +746,7 @@ object BreakManager : Manager<BreakRequest>(
747746
}
748747

749748
if (breakConfig.particles) {
750-
// ToDo: Set block breaking info on world.blockBreakingInfo
751-
// mc.particleManager.addBlockBreakingParticles(ctx.blockPos, hitResult.side)
749+
world.spawnBlockBreakingParticle(ctx.blockPos, hitResult.side)
752750
}
753751

754752
if (breakConfig.breakingTexture) {

0 commit comments

Comments
 (0)