crash method

RestActionAble crash()

Crashes a player's game by sending him to many particles and forces the client to show them (Who ever wants to do that, probably for people who don't like your map or datapack 😉)

player.crash().queue()

Uses StraitPlayer.particle() and StraitEntity.at()

Implementation

RestActionAble crash() => at(children: [
      particle(
        particle: Particles.dust,
        location: Location.here(),
        count: 1000000000,
        force: true,
      ),
    ]);