java.lang.Object
com.simibubi.create.content.contraptions.components.structureMovement.train.CouplingPhysics

public class CouplingPhysics extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.phys.Vec3
    followLinkOnRail(net.minecraft.world.phys.Vec3 link, net.minecraft.world.phys.Vec3 cart, float diffToReduce, net.minecraft.world.phys.Vec3 railAxis)
     
    static void
    hardCollisionStep(net.minecraft.world.level.Level world, Couple<net.minecraft.world.entity.vehicle.AbstractMinecart> carts, double couplingLength)
     
    static void
    softCollisionStep(net.minecraft.world.level.Level world, Couple<net.minecraft.world.entity.vehicle.AbstractMinecart> carts, double couplingLength)
     
    static void
    tick(net.minecraft.world.level.Level world)
     
    static void
    tickCoupling(net.minecraft.world.level.Level world, Couple<MinecartController> c)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CouplingPhysics

      public CouplingPhysics()
  • Method Details

    • tick

      public static void tick(net.minecraft.world.level.Level world)
    • tickCoupling

      public static void tickCoupling(net.minecraft.world.level.Level world, Couple<MinecartController> c)
    • hardCollisionStep

      public static void hardCollisionStep(net.minecraft.world.level.Level world, Couple<net.minecraft.world.entity.vehicle.AbstractMinecart> carts, double couplingLength)
    • softCollisionStep

      public static void softCollisionStep(net.minecraft.world.level.Level world, Couple<net.minecraft.world.entity.vehicle.AbstractMinecart> carts, double couplingLength)
    • followLinkOnRail

      public static net.minecraft.world.phys.Vec3 followLinkOnRail(net.minecraft.world.phys.Vec3 link, net.minecraft.world.phys.Vec3 cart, float diffToReduce, net.minecraft.world.phys.Vec3 railAxis)