java.lang.Object
com.simibubi.create.content.logistics.block.depot.EntityLauncher

public class EntityLauncher extends Object
  • Constructor Details

    • EntityLauncher

      public EntityLauncher(int horizontalDistance, int verticalDistance)
  • Method Details

    • clamp

      public void clamp(int max)
    • set

      public void set(int horizontalDistance, int verticalDistance)
    • applyMotion

      public void applyMotion(net.minecraft.world.entity.Entity entity, net.minecraft.core.Direction facing)
    • getHorizontalDistance

      public int getHorizontalDistance()
    • getVerticalDistance

      public int getVerticalDistance()
    • getTotalFlyingTicks

      public double getTotalFlyingTicks()
    • getGlobalPos

      public net.minecraft.world.phys.Vec3 getGlobalPos(double t, net.minecraft.core.Direction d, net.minecraft.core.BlockPos launcher)
    • getGlobalVelocity

      public net.minecraft.world.phys.Vec3 getGlobalVelocity(double t, net.minecraft.core.Direction d, net.minecraft.core.BlockPos launcher)
    • x

      public float x(double t)
    • y

      public float y(double t)
    • dx

      public float dx(double t)
    • dy

      public float dy(double t)
    • recalculateTrajectory

      protected void recalculateTrajectory()