Package net.minecraft.command.impl
Class PlaySoundCommand
- java.lang.Object
-
- net.minecraft.command.impl.PlaySoundCommand
-
public class PlaySoundCommand extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeERROR_TOO_FAR
-
Constructor Summary
Constructors Constructor Description PlaySoundCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static intplaySound(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_)static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198572_0_)private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource>source(SoundCategory p_198577_0_)
-
-
-
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
-
-