Package net.minecraft.server.command
Class PlaySoundCommand
java.lang.Object
net.minecraft.server.command.PlaySoundCommand
- Mappings:
Namespace Name named net/minecraft/server/command/PlaySoundCommand
intermediary net/minecraft/class_3091
official anq
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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 Collection
<ServerPlayerEntity> toList
(@Nullable ServerPlayerEntity player)
-
Field Details
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
Namespace Name Mixin selector named FAILED_EXCEPTION
Lnet/minecraft/server/command/PlaySoundCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
intermediary field_13678
Lnet/minecraft/class_3091;field_13678:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
official a
Lanq;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
PlaySoundCommand
public PlaySoundCommand()
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/server/command/PlaySoundCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
intermediary method_13500
Lnet/minecraft/class_3091;method_13500(Lcom/mojang/brigadier/CommandDispatcher;)V
official a
Lanq;a(Lcom/mojang/brigadier/CommandDispatcher;)V
-
makeArgumentsForCategory
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> makeArgumentsForCategory(SoundCategory category) - Mappings:
Namespace Name Mixin selector named makeArgumentsForCategory
Lnet/minecraft/server/command/PlaySoundCommand;makeArgumentsForCategory(Lnet/minecraft/sound/SoundCategory;)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
intermediary method_13497
Lnet/minecraft/class_3091;method_13497(Lnet/minecraft/class_3419;)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
official a
Lanq;a(Lavp;)Lcom/mojang/brigadier/builder/LiteralArgumentBuilder;
-
toList
- Mappings:
Namespace Name Mixin selector named toList
Lnet/minecraft/server/command/PlaySoundCommand;toList(Lnet/minecraft/server/network/ServerPlayerEntity;)Ljava/util/Collection;
intermediary method_57111
Lnet/minecraft/class_3091;method_57111(Lnet/minecraft/class_3222;)Ljava/util/Collection;
official a
Lanq;a(Laqu;)Ljava/util/Collection;
-
execute
private static int execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/server/command/PlaySoundCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Ljava/util/Collection;Lnet/minecraft/util/Identifier;Lnet/minecraft/sound/SoundCategory;Lnet/minecraft/util/math/Vec3d;FFF)I
intermediary method_13504
Lnet/minecraft/class_3091;method_13504(Lnet/minecraft/class_2168;Ljava/util/Collection;Lnet/minecraft/class_2960;Lnet/minecraft/class_3419;Lnet/minecraft/class_243;FFF)I
official a
Lanq;a(Let;Ljava/util/Collection;Lakq;Lavp;Leww;FFF)I
-