Class PlaySoundCommand

java.lang.Object
net.minecraft.command.impl.PlaySoundCommand

public class PlaySoundCommand extends Object
  • Field Details

    • ERROR_TOO_FAR

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

    • PlaySoundCommand

      public PlaySoundCommand()
  • Method Details

    • 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_, 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