Class CarriageBogey
java.lang.Object
com.simibubi.create.content.logistics.trains.entity.CarriageBogey
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCarriageBogey(IBogeyBlock type, TravellingPoint point, TravellingPoint point2) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(com.jozufozu.flywheel.api.MaterialManager materialManager) net.minecraft.world.phys.Vec3net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level>doubleleading()static CarriageBogeyread(net.minecraft.nbt.CompoundTag tag, TrackGraph graph, DimensionPalette dimensions) trailing()voidupdateAngles(CarriageContraptionEntity entity, double distanceMoved) voidupdateCouplingAnchor(net.minecraft.world.phys.Vec3 entityPos, float entityXRot, float entityYRot, int bogeySpacing, float partialTicks, boolean leading) net.minecraft.nbt.CompoundTagwrite(DimensionPalette dimensions)
-
Field Details
-
carriage
-
couplingAnchors
-
-
Constructor Details
-
CarriageBogey
-
-
Method Details
-
getDimension
public net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> getDimension() -
updateAngles
-
leading
-
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
-
read
public static CarriageBogey read(net.minecraft.nbt.CompoundTag tag, TrackGraph graph, DimensionPalette dimensions) -
createInstance
-