net.minecraft.network.protocol.game

public class ClientboundSetPassengersPacket

implements Packet<ClientGamePacketListener>

afd
net.minecraft.network.protocol.game.ClientboundSetPassengersPacket
net.minecraft.class_2752
net.minecraft.network.packet.s2c.play.EntityPassengersSetS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutMount

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundSetPassengersPacket>
a
STREAM_CODEC
field_47986
CODEC
private final int
b
vehicle
field_12594
entityId
private final int[]
c
passengers
field_12593
passengerIds

Constructor summary

ModifierConstructor
public (Entity entity)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(vl arg0)
write(FriendlyByteBuf arg0)
method_55933(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ClientboundSetPassengersPacket>
a()
type()
method_65080()
getPacketType()
public void
a(abl arg0)
handle(ClientGamePacketListener arg0)
method_11842(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int[]
b()
getPassengers()
method_11840()
getPassengerIds()
public int
e()
getVehicle()
method_11841()
getEntityId()