Class ParticleCommand
java.lang.Object
net.minecraft.server.commands.ParticleCommand
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) private static intsendParticles(CommandSourceStack source, ParticleOptions particle, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> players)
-
Field Details
-
ERROR_FAILED
-
-
Constructor Details
-
ParticleCommand
public ParticleCommand()
-
-
Method Details
-
register
public static void register(CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context) -
sendParticles
private static int sendParticles(CommandSourceStack source, ParticleOptions particle, Vec3 pos, Vec3 delta, float speed, int count, boolean force, Collection<ServerPlayer> players) throws CommandSyntaxException - Throws:
CommandSyntaxException
-