Class ProjectileEntity

    • Field Detail

      • ownerUUID

        private java.util.UUID ownerUUID
      • ownerNetworkId

        private int ownerNetworkId
      • leftOwner

        private boolean leftOwner
    • Method Detail

      • setOwner

        public void setOwner​(@Nullable
                             Entity p_212361_1_)
      • getOwner

        @Nullable
        public Entity getOwner()
      • tick

        public void tick()
        Overrides:
        tick in class Entity
      • checkLeftOwner

        private boolean checkLeftOwner()
      • shoot

        public void shoot​(double p_70186_1_,
                          double p_70186_3_,
                          double p_70186_5_,
                          float p_70186_7_,
                          float p_70186_8_)
      • shootFromRotation

        public void shootFromRotation​(Entity p_234612_1_,
                                      float p_234612_2_,
                                      float p_234612_3_,
                                      float p_234612_4_,
                                      float p_234612_5_,
                                      float p_234612_6_)
      • lerpMotion

        public void lerpMotion​(double p_70016_1_,
                               double p_70016_3_,
                               double p_70016_5_)
        Overrides:
        lerpMotion in class Entity
      • canHitEntity

        protected boolean canHitEntity​(Entity p_230298_1_)
      • updateRotation

        protected void updateRotation()
      • lerpRotation

        protected static float lerpRotation​(float p_234614_0_,
                                            float p_234614_1_)