Class ClientboundProjectilePowerPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundProjectilePowerPacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundProjectilePowerPacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
private final int
static final StreamCodec
<FriendlyByteBuf, ClientboundProjectilePowerPacket> -
Constructor Summary
ModifierConstructorDescriptionClientboundProjectilePowerPacket
(int p_336104_, double p_330780_) private
ClientboundProjectilePowerPacket
(FriendlyByteBuf p_328922_) -
Method Summary
Modifier and TypeMethodDescriptiondouble
int
getId()
void
handle
(ClientGamePacketListener p_329858_) type()
private void
write
(FriendlyByteBuf p_331545_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
id
private final int id -
accelerationPower
private final double accelerationPower
-
-
Constructor Details
-
ClientboundProjectilePowerPacket
public ClientboundProjectilePowerPacket(int p_336104_, double p_330780_) -
ClientboundProjectilePowerPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getAccelerationPower
public double getAccelerationPower()
-