net.minecraft.network.packet.s2c.play

public class ProjectilePowerS2CPacket

implements Packet<ClientPlayPacketListener>

net.minecraft.network.protocol.game.ClientboundProjectilePowerPacket
net.minecraft.class_9632
net.minecraft.network.packet.s2c.play.ProjectilePowerS2CPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, ProjectilePowerS2CPacket>
STREAM_CODEC
field_51336
CODEC
private final int
id
field_51337
entityId
private final double
accelerationPower
field_51849
accelerationPower

Constructor summary

ModifierConstructor
public (int entityId, double accelerationPower)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_59506(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ProjectilePowerS2CPacket>
type()
method_65080()
getPacketType()
public void
handle(ClientGamePacketListener listener)
method_59505(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public int
getId()
method_59507()
getEntityId()
public double
getAccelerationPower()
method_60423()
getAccelerationPower()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)