java.lang.Object
com.simibubi.create.content.logistics.trains.entity.CarriageBogey

public class CarriageBogey extends Object
  • Field Details

    • carriage

      public Carriage carriage
    • couplingAnchors

      public Couple<net.minecraft.world.phys.Vec3> couplingAnchors
  • Constructor Details

  • Method Details

    • getDimension

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimension()
    • updateAngles

      public void updateAngles(CarriageContraptionEntity entity, double distanceMoved)
    • leading

      public TravellingPoint leading()
    • trailing

      public TravellingPoint trailing()
    • getStress

      public double getStress()
    • getAnchorPosition

      @Nullable public net.minecraft.world.phys.Vec3 getAnchorPosition()
    • updateCouplingAnchor

      public void updateCouplingAnchor(net.minecraft.world.phys.Vec3 entityPos, float entityXRot, float entityYRot, int bogeySpacing, float partialTicks, boolean leading)
    • write

      public net.minecraft.nbt.CompoundTag write(DimensionPalette dimensions)
    • read

      public static CarriageBogey read(net.minecraft.nbt.CompoundTag tag, TrackGraph graph, DimensionPalette dimensions)
    • createInstance

      public BogeyInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager)