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
FieldsModifier and TypeFieldDescriptionprivate final intstatic final StreamCodec<FriendlyByteBuf, ClientboundProjectilePowerPacket> private final doubleprivate final doubleprivate final double -
Constructor Summary
ConstructorsModifierConstructorDescriptionClientboundProjectilePowerPacket(int p_336104_, double p_330780_, double p_328679_, double p_327674_) privateClientboundProjectilePowerPacket(FriendlyByteBuf p_328922_) -
Method Summary
Modifier and TypeMethodDescriptionintgetId()doubledoubledoublevoidhandle(ClientGamePacketListener p_329858_) type()private voidwrite(FriendlyByteBuf p_331545_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
id
private final int id -
xPower
private final double xPower -
yPower
private final double yPower -
zPower
private final double zPower
-
-
Constructor Details
-
ClientboundProjectilePowerPacket
public ClientboundProjectilePowerPacket(int p_336104_, double p_330780_, double p_328679_, double p_327674_) -
ClientboundProjectilePowerPacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getXPower
public double getXPower() -
getYPower
public double getYPower() -
getZPower
public double getZPower()
-