Class FishingHook


  • public class FishingHook
    extends Entity
    • Field Detail

      • shake

        public int shake
      • angler

        public Player angler
      • bobber

        public Entity bobber
    • Constructor Detail

      • FishingHook

        public FishingHook​(World var1)
      • FishingHook

        @Client
        public FishingHook​(World var1,
                           double var2,
                           double var4,
                           double var6)
      • FishingHook

        public FishingHook​(World var1,
                           Player var2)
    • Method Detail

      • entityInit

        protected void entityInit()
        Specified by:
        entityInit in class Entity
      • isInRangeToRenderDist

        @Client
        public @net.minecraft.modding.api.Side.Client boolean isInRangeToRenderDist​(double var1)
        Overrides:
        isInRangeToRenderDist in class Entity
      • calculateVelocity

        public void calculateVelocity​(double var1,
                                      double var3,
                                      double var5,
                                      float var7,
                                      float var8)
      • setPositionAndRotation2

        @Client
        public void setPositionAndRotation2​(double var1,
                                            double var3,
                                            double var5,
                                            float var7,
                                            float var8,
                                            int var9)
        Overrides:
        setPositionAndRotation2 in class Entity
      • setVelocity

        @Client
        public void setVelocity​(double var1,
                                double var3,
                                double var5)
        Overrides:
        setVelocity in class Entity
      • onUpdate

        public void onUpdate()
        Overrides:
        onUpdate in class Entity
      • getShadowSize

        @Client
        public @net.minecraft.modding.api.Side.Client float getShadowSize()
        Overrides:
        getShadowSize in class Entity
      • catchFish

        public int catchFish()