1.16 use 1.8 fishing rod projectile speed

Discussion in 'Plugin Development' started by thematdev, Nov 22, 2020 at 12:46 AM.

  1. Offline

    thematdev

    I need to make 1.16 fishing rod projectile speed as fast as 1.8. I can increase projectile speed such like that:

    Code:
        @EventHandler
        public void fishingThrow(ProjectileLaunchEvent e){
            Projectile hook = e.getEntity();
            if(e.getEntityType().equals(EntityType.FISHING_HOOK)){
                hook.setVelocity(hook.getVelocity().multiply(MULTIPLY_COEF));
            }
        }
    But what is a constant? How can I find it or what is it?
     
  2. Offline

    Kars

  3. Offline

    thematdev

    I know how to define constant. I just need value of it(for example 2.28 or 13.37). I want to my fishing rod on 1.16 behave like fishing rod on 1.8
     
  4. Offline

    Kars

Share This Page