mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-27 13:28:00 +01:00
Fix formatting yet again
This commit is contained in:
parent
2f1ae67cba
commit
65d9152666
1 changed files with 3 additions and 2 deletions
|
@ -176,7 +176,8 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
|
|||
if (onBasin())
|
||||
applyOnBasin();
|
||||
|
||||
if (level.getBlockState(worldPosition.below(2)).getSoundType() == SoundType.WOOL)
|
||||
if (level.getBlockState(worldPosition.below(2))
|
||||
.getSoundType() == SoundType.WOOL)
|
||||
AllSoundEvents.MECHANICAL_PRESS_ACTIVATION_ON_BELT.playOnServer(level, worldPosition);
|
||||
else
|
||||
AllSoundEvents.MECHANICAL_PRESS_ACTIVATION.playOnServer(level, worldPosition, .5f,
|
||||
|
@ -257,7 +258,7 @@ public class PressingBehaviour extends BeltProcessingBehaviour {
|
|||
.add(0, 8 / 16f, 0), stack));
|
||||
if (mode == Mode.WORLD)
|
||||
particleItems.forEach(stack -> makePressingParticleEffect(VecHelper.getCenterOf(worldPosition.below(1))
|
||||
.add(0, -1 / 4f, 0), stack));
|
||||
.add(0, -1 / 4f, 0), stack));
|
||||
|
||||
particleItems.clear();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue