Class PlaySoundCommand


  • public class PlaySoundCommand
    extends java.lang.Object
    • Field Detail

      • ERROR_TOO_FAR

        private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_TOO_FAR
    • Constructor Detail

      • PlaySoundCommand

        public PlaySoundCommand()
    • Method Detail

      • register

        public static void register​(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198572_0_)
      • source

        private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> source​(SoundCategory p_198577_0_)
      • playSound

        private static int playSound​(CommandSource p_198573_0_,
                                     java.util.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