Package net.minecraft.command.impl
Class PlaySoundCommand
java.lang.Object
net.minecraft.command.impl.PlaySoundCommand
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
playSound
(CommandSource p_198573_0_, Collection<ServerPlayerEntity> p_198573_1_, ResourceLocation p_198573_2_, SoundCategory p_198573_3_, Vector3d p_198573_4_, float p_198573_5_, float p_198573_6_, float p_198573_7_) static void
register
(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198572_0_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>
source
(SoundCategory p_198577_0_)
-
Field Details
-
ERROR_TOO_FAR
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_FAR
-
-
Constructor Details
-
PlaySoundCommand
public PlaySoundCommand()
-
-
Method Details
-
register
-
source
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> source(SoundCategory p_198577_0_) -
playSound
private static int playSound(CommandSource p_198573_0_, Collection<ServerPlayerEntity> p_198573_1_, ResourceLocation p_198573_2_, SoundCategory p_198573_3_, Vector3d p_198573_4_, float p_198573_5_, float p_198573_6_, float p_198573_7_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-