From dc3df3edd5843bde0c1335d6a8e460b2c832aa48 Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sat, 17 Jun 2017 08:12:18 +0300 Subject: full project files --- .../net/minecraft/entity/item/EntityMinecart.html | 1471 ++++++++++++++++++++ 1 file changed, 1471 insertions(+) create mode 100644 javadoc/net/minecraft/entity/item/EntityMinecart.html (limited to 'javadoc/net/minecraft/entity/item/EntityMinecart.html') diff --git a/javadoc/net/minecraft/entity/item/EntityMinecart.html b/javadoc/net/minecraft/entity/item/EntityMinecart.html new file mode 100644 index 0000000..85e3235 --- /dev/null +++ b/javadoc/net/minecraft/entity/item/EntityMinecart.html @@ -0,0 +1,1471 @@ + + + + + +EntityMinecart (Forge API) + + + + + + + +
+ + + + + +
+ + + +
+
net.minecraft.entity.item
+

Class EntityMinecart

+
+
+ +
+ +
+
+ +
+
+
    +
  • + +
      +
    • + + +

      Field Detail

      + + + +
        +
      • +

        defaultMaxSpeedAirLateral

        +
        public static float defaultMaxSpeedAirLateral
        +
      • +
      + + + +
        +
      • +

        defaultMaxSpeedAirVertical

        +
        public static float defaultMaxSpeedAirVertical
        +
      • +
      + + + +
        +
      • +

        defaultDragAir

        +
        public static double defaultDragAir
        +
      • +
      + + + +
        +
      • +

        canUseRail

        +
        protected boolean canUseRail
        +
      • +
      + + + +
        +
      • +

        canBePushed

        +
        protected boolean canBePushed
        +
      • +
      + + + +
        +
      • +

        maxSpeedAirLateral

        +
        protected float maxSpeedAirLateral
        +
      • +
      + + + +
        +
      • +

        maxSpeedAirVertical

        +
        protected float maxSpeedAirVertical
        +
      • +
      + + + +
        +
      • +

        dragAir

        +
        protected double dragAir
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Constructor Detail

      + + + +
        +
      • +

        EntityMinecart

        +
        public EntityMinecart(World p_i1712_1_)
        +
      • +
      + + + +
        +
      • +

        EntityMinecart

        +
        public EntityMinecart(World p_i1713_1_,
        +              double p_i1713_2_,
        +              double p_i1713_4_,
        +              double p_i1713_6_)
        +
      • +
      +
    • +
    + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        createMinecart

        +
        public static EntityMinecart createMinecart(World p_94090_0_,
        +                            double p_94090_1_,
        +                            double p_94090_3_,
        +                            double p_94090_5_,
        +                            int p_94090_7_)
        +
      • +
      + + + +
        +
      • +

        canTriggerWalking

        +
        protected boolean canTriggerWalking()
        +
        +
        Overrides:
        +
        canTriggerWalking in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        entityInit

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

        canBePushed

        +
        public boolean canBePushed()
        +
        +
        Overrides:
        +
        canBePushed in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        getMountedYOffset

        +
        public double getMountedYOffset()
        +
        +
        Overrides:
        +
        getMountedYOffset in class Entity
        +
        +
      • +
      + + + + + + + +
        +
      • +

        killMinecart

        +
        public void killMinecart(DamageSource p_94095_1_)
        +
      • +
      + + + + + + + +
        +
      • +

        canBeCollidedWith

        +
        public boolean canBeCollidedWith()
        +
        +
        Overrides:
        +
        canBeCollidedWith in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        setDead

        +
        public void setDead()
        +
        +
        Overrides:
        +
        setDead in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        onUpdate

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

        onActivatorRailPass

        +
        public void onActivatorRailPass(int p_96095_1_,
        +                       int p_96095_2_,
        +                       int p_96095_3_,
        +                       boolean p_96095_4_)
        +
      • +
      + + + +
        +
      • +

        func_94088_b

        +
        protected void func_94088_b(double p_94088_1_)
        +
      • +
      + + + +
        +
      • +

        func_145821_a

        +
        protected void func_145821_a(int p_145821_1_,
        +                 int p_145821_2_,
        +                 int p_145821_3_,
        +                 double p_145821_4_,
        +                 double p_145821_6_,
        +                 Block p_145821_8_,
        +                 int p_145821_9_)
        +
      • +
      + + + +
        +
      • +

        applyDrag

        +
        protected void applyDrag()
        +
      • +
      + + + +
        +
      • +

        func_70495_a

        +
        public Vec3 func_70495_a(double p_70495_1_,
        +                double p_70495_3_,
        +                double p_70495_5_,
        +                double p_70495_7_)
        +
      • +
      + + + +
        +
      • +

        func_70489_a

        +
        public Vec3 func_70489_a(double p_70489_1_,
        +                double p_70489_3_,
        +                double p_70489_5_)
        +
      • +
      + + + + + + + + + + + +
        +
      • +

        getShadowSize

        +
        public float getShadowSize()
        +
        +
        Overrides:
        +
        getShadowSize in class Entity
        +
        +
      • +
      + + + + + + + +
        +
      • +

        setPositionAndRotation2

        +
        public void setPositionAndRotation2(double p_70056_1_,
        +                           double p_70056_3_,
        +                           double p_70056_5_,
        +                           float p_70056_7_,
        +                           float p_70056_8_,
        +                           int p_70056_9_)
        +
        +
        Overrides:
        +
        setPositionAndRotation2 in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        setDamage

        +
        public void setDamage(float p_70492_1_)
        +
      • +
      + + + +
        +
      • +

        setVelocity

        +
        public void setVelocity(double p_70016_1_,
        +               double p_70016_3_,
        +               double p_70016_5_)
        +
        +
        Overrides:
        +
        setVelocity in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        getDamage

        +
        public float getDamage()
        +
      • +
      + + + +
        +
      • +

        setRollingAmplitude

        +
        public void setRollingAmplitude(int p_70497_1_)
        +
      • +
      + + + +
        +
      • +

        getRollingAmplitude

        +
        public int getRollingAmplitude()
        +
      • +
      + + + +
        +
      • +

        setRollingDirection

        +
        public void setRollingDirection(int p_70494_1_)
        +
      • +
      + + + +
        +
      • +

        getRollingDirection

        +
        public int getRollingDirection()
        +
      • +
      + + + +
        +
      • +

        getMinecartType

        +
        public abstract int getMinecartType()
        +
      • +
      + + + +
        +
      • +

        func_145820_n

        +
        public Block func_145820_n()
        +
      • +
      + + + +
        +
      • +

        func_145817_o

        +
        public Block func_145817_o()
        +
      • +
      + + + +
        +
      • +

        getDisplayTileData

        +
        public int getDisplayTileData()
        +
      • +
      + + + +
        +
      • +

        getDefaultDisplayTileData

        +
        public int getDefaultDisplayTileData()
        +
      • +
      + + + +
        +
      • +

        getDisplayTileOffset

        +
        public int getDisplayTileOffset()
        +
      • +
      + + + +
        +
      • +

        getDefaultDisplayTileOffset

        +
        public int getDefaultDisplayTileOffset()
        +
      • +
      + + + +
        +
      • +

        func_145819_k

        +
        public void func_145819_k(int p_145819_1_)
        +
      • +
      + + + +
        +
      • +

        setDisplayTileData

        +
        public void setDisplayTileData(int p_94092_1_)
        +
      • +
      + + + +
        +
      • +

        setDisplayTileOffset

        +
        public void setDisplayTileOffset(int p_94086_1_)
        +
      • +
      + + + +
        +
      • +

        hasDisplayTile

        +
        public boolean hasDisplayTile()
        +
      • +
      + + + +
        +
      • +

        setHasDisplayTile

        +
        public void setHasDisplayTile(boolean p_94096_1_)
        +
      • +
      + + + +
        +
      • +

        setMinecartName

        +
        public void setMinecartName(java.lang.String p_96094_1_)
        +
      • +
      + + + +
        +
      • +

        getCommandSenderName

        +
        public java.lang.String getCommandSenderName()
        +
        +
        Overrides:
        +
        getCommandSenderName in class Entity
        +
        +
      • +
      + + + +
        +
      • +

        hasCustomInventoryName

        +
        public boolean hasCustomInventoryName()
        +
      • +
      + + + +
        +
      • +

        func_95999_t

        +
        public java.lang.String func_95999_t()
        +
      • +
      + + + +
        +
      • +

        moveMinecartOnRail

        +
        public void moveMinecartOnRail(int x,
        +                      int y,
        +                      int z,
        +                      double par4)
        +
        Moved to allow overrides. + This code handles minecart movement and speed capping when on a rail.
        +
      • +
      + + + +
        +
      • +

        getCollisionHandler

        +
        public static IMinecartCollisionHandler getCollisionHandler()
        +
        Gets the current global Minecart Collision handler if none + is registered, returns null
        +
        Returns:
        The collision handler or null
        +
      • +
      + + + +
        +
      • +

        setCollisionHandler

        +
        public static void setCollisionHandler(IMinecartCollisionHandler handler)
        +
        Sets the global Minecart Collision handler, overwrites any + that is currently set.
        +
        Parameters:
        handler - The new handler
        +
      • +
      + + + +
        +
      • +

        getCartItem

        +
        public ItemStack getCartItem()
        +
        This function returns an ItemStack that represents this cart. + This should be an ItemStack that can be used by the player to place the cart, + but is not necessary the item the cart drops when destroyed.
        +
        Returns:
        An ItemStack that can be used to place the cart.
        +
      • +
      + + + +
        +
      • +

        canUseRail

        +
        public boolean canUseRail()
        +
        Returns true if this cart can currently use rails. + This function is mainly used to gracefully detach a minecart from a rail.
        +
        Returns:
        True if the minecart can use rails.
        +
      • +
      + + + +
        +
      • +

        setCanUseRail

        +
        public void setCanUseRail(boolean use)
        +
        Set whether the minecart can use rails. + This function is mainly used to gracefully detach a minecart from a rail.
        +
        Parameters:
        use - Whether the minecart can currently use rails.
        +
      • +
      + + + +
        +
      • +

        shouldDoRailFunctions

        +
        public boolean shouldDoRailFunctions()
        +
        Return false if this cart should not call onMinecartPass() and should ignore Powered Rails.
        +
        Returns:
        True if this cart should call onMinecartPass().
        +
      • +
      + + + +
        +
      • +

        isPoweredCart

        +
        public boolean isPoweredCart()
        +
        Returns true if this cart is self propelled.
        +
        Returns:
        True if powered.
        +
      • +
      + + + +
        +
      • +

        canBeRidden

        +
        public boolean canBeRidden()
        +
        Returns true if this cart can be ridden by an Entity.
        +
        Returns:
        True if this cart can be ridden.
        +
      • +
      + + + +
        +
      • +

        getMaxCartSpeedOnRail

        +
        public float getMaxCartSpeedOnRail()
        +
        Returns the carts max speed when traveling on rails. Carts going faster + than 1.1 cause issues with chunk loading. Carts cant traverse slopes or + corners at greater than 0.5 - 0.6. This value is compared with the rails + max speed and the carts current speed cap to determine the carts current + max speed. A normal rail's max speed is 0.4.
        +
        Returns:
        Carts max speed.
        +
      • +
      + + + +
        +
      • +

        getCurrentCartSpeedCapOnRail

        +
        public final float getCurrentCartSpeedCapOnRail()
        +
        Returns the current speed cap for the cart when traveling on rails. This + functions differs from getMaxCartSpeedOnRail() in that it controls + current movement and cannot be overridden. The value however can never be + higher than getMaxCartSpeedOnRail().
        +
        Returns:
        +
      • +
      + + + +
        +
      • +

        setCurrentCartSpeedCapOnRail

        +
        public final void setCurrentCartSpeedCapOnRail(float value)
        +
      • +
      + + + +
        +
      • +

        getMaxSpeedAirLateral

        +
        public float getMaxSpeedAirLateral()
        +
      • +
      + + + +
        +
      • +

        setMaxSpeedAirLateral

        +
        public void setMaxSpeedAirLateral(float value)
        +
      • +
      + + + +
        +
      • +

        getMaxSpeedAirVertical

        +
        public float getMaxSpeedAirVertical()
        +
      • +
      + + + +
        +
      • +

        setMaxSpeedAirVertical

        +
        public void setMaxSpeedAirVertical(float value)
        +
      • +
      + + + +
        +
      • +

        getDragAir

        +
        public double getDragAir()
        +
      • +
      + + + +
        +
      • +

        setDragAir

        +
        public void setDragAir(double value)
        +
      • +
      + + + +
        +
      • +

        getSlopeAdjustment

        +
        public double getSlopeAdjustment()
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + +
+ + + + -- cgit v1.2.3