public class PlaySoundCommand extends Object
| Modifier and Type | Field and Description |
|---|---|
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
FAILED_EXCEPTION |
| Constructor and Description |
|---|
PlaySoundCommand() |
| Modifier and Type | Method and Description |
|---|---|
private static int |
execute(ServerCommandSource source,
Collection<ServerPlayerEntity> targets,
Identifier sound,
SoundCategory category,
Vec3d pos,
float volume,
float pitch,
float minVolume) |
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> |
makeArgumentsForCategory(SoundCategory category) |
static void |
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeArgumentsForCategory(SoundCategory category)
private static int execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)