2025-11-24 22:52:51 +03:00

37 lines
870 B
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* org.jspecify.annotations.Nullable
*/
package net.minecraft.client.resources.sounds;
import java.util.List;
import net.minecraft.client.resources.sounds.Sound;
import org.jspecify.annotations.Nullable;
public class SoundEventRegistration {
private final List<Sound> sounds;
private final boolean replace;
private final @Nullable String subtitle;
public SoundEventRegistration(List<Sound> sounds, boolean replace, @Nullable String subtitle) {
this.sounds = sounds;
this.replace = replace;
this.subtitle = subtitle;
}
public List<Sound> getSounds() {
return this.sounds;
}
public boolean isReplace() {
return this.replace;
}
public @Nullable String getSubtitle() {
return this.subtitle;
}
}