net.minecraft.server.command

public class PlaySoundCommand

net.minecraft.server.commands.PlaySoundCommand
net.minecraft.class_3091
net.minecraft.server.command.PlaySoundCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_TOO_FAR
field_13678
FAILED_EXCEPTION
private static final ElementAggregator$Reporter1<ServerPlayerEntity, Identifier>
RESPONSE_PLAY
field_1_7444
field_1_7444

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_13500(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
source(SoundSource source)
method_13497(class_3419 arg0)
makeArgumentsForCategory(SoundCategory category)
private static Collection<ServerPlayerEntity>
getCallingPlayerAsCollection(ServerPlayer player)
method_57111(class_3222 arg0)
toList(ServerPlayerEntity player)
private static int
playSound(CommandSourceStack source, Collection<ServerPlayer> players, Identifier sound, SoundSource soundSource, Vec3 position, float volume, float pitch, float minVolume)
method_13504(class_2168 arg0, Collection<class_3222> arg1, class_2960 arg2, class_3419 arg3, class_243 arg4, float arg5, float arg6, float arg7)
execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)
private static int
lambda$source$5(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13503(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13503(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$source$4(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13505(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13505(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$source$3(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13498(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13498(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$source$2(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13501(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13501(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$source$1(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13499(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_13499(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$source$0(SoundSource arg0, com.mojang.brigadier.context.CommandContext arg1)
method_57113(class_3419 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_57113(SoundCategory arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_57112(com.mojang.brigadier.context.CommandContext arg0)
method_57112(com.mojang.brigadier.context.CommandContext context)
private static Text
lambda$static$1(int arg0, int arg1, Identifier arg2)
method_1_6736(int arg0, int arg1, class_2960 arg2)
method_1_6736(int arg0, int arg1, Identifier arg2)
private static Text
lambda$static$0(ServerPlayer arg0, int arg1, Identifier arg2)
method_1_6735(class_3222 arg0, int arg1, class_2960 arg2)
method_1_6735(ServerPlayerEntity arg0, int arg1, Identifier arg2)