Class TrainRelocationPacket
java.lang.Object
com.simibubi.create.foundation.networking.SimplePacketBase
com.simibubi.create.content.logistics.trains.entity.TrainRelocationPacket
-
Constructor Summary
ConstructorsConstructorDescriptionTrainRelocationPacket(UUID trainId, net.minecraft.core.BlockPos pos, BezierTrackPointLocation hoveredBezier, boolean direction, net.minecraft.world.phys.Vec3 lookAngle, int entityId) TrainRelocationPacket(net.minecraft.network.FriendlyByteBuf buffer) -
Method Summary
-
Constructor Details
-
TrainRelocationPacket
public TrainRelocationPacket(net.minecraft.network.FriendlyByteBuf buffer) -
TrainRelocationPacket
public TrainRelocationPacket(UUID trainId, net.minecraft.core.BlockPos pos, BezierTrackPointLocation hoveredBezier, boolean direction, net.minecraft.world.phys.Vec3 lookAngle, int entityId)
-
-
Method Details
-
write
public void write(net.minecraft.network.FriendlyByteBuf buffer) - Specified by:
writein classSimplePacketBase
-
handle
- Specified by:
handlein classSimplePacketBase
-