[solved but impossible] Any way to remove crouch effect?

Discussion in 'Plugin Development' started by Bobfan, Dec 2, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    Bobfan

    Is it possible to remove crouch affect when a player is sneaking?
     
  2. Offline

    Woobie

    Do you want to completely remove crouching.. or?
    What effect are you talking about?
     
  3. Offline

    Bobfan

    More specific: If a player presses shift, it will set them sneaking, but not crouching.
     
  4. Offline

    ZeusAllMighty11

    Those kinds of animations are client-side. You can't cancel that, it's part of Minecraft. It'd be like cancelling the walking animation.

    The part where sneaking is handled is server-side, I think, though. Like the actual detection of near edges and such
     
  5. Offline

    microgeek

    Other way around, I know that ledge collisions and speed are client sided. You can use player.setSneaking(false); to tell other players that the player is not sneaking.
     
  6. Offline

    ZeusAllMighty11


    Hmmm riiiight I forgot, otherwise hacked (modified) clients would not be able to use step.
     
  7. Offline

    Bobfan

    Darn, than that's a problem. I guess I'll just have to leave sneaking, but it'll seem kind of weird.

    edit: I'm using the shift for shooting for my COD plugin I'm making, so you hold shift for rapid fire, but it won't set them sneaking.
     
Thread Status:
Not open for further replies.

Share This Page