Skip to content

Commit a686f4f

Browse files
committed
PlayLevelSoundEvent
1 parent 1a94349 commit a686f4f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

common/src/main/java/io/github/lounode/eventwrapper/event/PlayLevelSoundEventWrapper.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
package io.github.lounode.eventwrapper.event;
22

3-
import io.github.lounode.eventwrapper.eventbus.api.Cancelable;
4-
import io.github.lounode.eventwrapper.eventbus.api.EventWrapper;
53
import net.minecraft.client.player.LocalPlayer;
64
import net.minecraft.core.Holder;
75
import net.minecraft.sounds.SoundEvent;
86
import net.minecraft.sounds.SoundSource;
97
import net.minecraft.world.entity.Entity;
108
import net.minecraft.world.level.Level;
119
import net.minecraft.world.phys.Vec3;
10+
1211
import org.jetbrains.annotations.NotNull;
1312
import org.jetbrains.annotations.Nullable;
1413

1514
import java.util.Objects;
1615

16+
import io.github.lounode.eventwrapper.eventbus.api.Cancelable;
17+
import io.github.lounode.eventwrapper.eventbus.api.EventWrapper;
18+
1719
/**
1820
* PlayLevelSoundEvent is fired when a sound is played on a {@link Level}.
1921
* This event is fired from {@link Level#playSound}, {@link Level#playSeededSound}, and {@link LocalPlayer#playSound}.

0 commit comments

Comments
 (0)