Package net.minecraft.server.commands
Class PlaySoundCommand
java.lang.Object
net.minecraft.server.commands.PlaySoundCommand
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intplaySound(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_138157_) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack>source(SoundSource p_138152_) 
- 
Field Details- 
ERROR_TOO_FARprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_FAR
 
- 
- 
Constructor Details- 
PlaySoundCommandpublic PlaySoundCommand()
 
- 
- 
Method Details- 
register
- 
sourceprivate static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> source(SoundSource p_138152_) 
- 
playSoundprivate static int playSound(CommandSourceStack p_138161_, Collection<ServerPlayer> p_138162_, ResourceLocation p_138163_, SoundSource p_138164_, Vec3 p_138165_, float p_138166_, float p_138167_, float p_138168_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-