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 int
static final StreamCodec
<FriendlyByteBuf, ClientboundProjectilePowerPacket> private final double
private final double
private final double
-
Constructor Summary
ModifierConstructorDescriptionClientboundProjectilePowerPacket
(int p_339664_, double p_339660_, double p_339638_, double p_339672_) private
ClientboundProjectilePowerPacket
(FriendlyByteBuf p_339617_) -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
double
double
double
void
handle
(ClientGamePacketListener p_339610_) type()
private void
write
(FriendlyByteBuf p_339614_) 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 -
xPower
private final double xPower -
yPower
private final double yPower -
zPower
private final double zPower
-
-
Constructor Details
-
ClientboundProjectilePowerPacket
public ClientboundProjectilePowerPacket(int p_339664_, double p_339660_, double p_339638_, double p_339672_) -
ClientboundProjectilePowerPacket
-
-
Method Details
-
write
-
type
- Specified by:
type
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getId
public int getId() -
getXPower
public double getXPower() -
getYPower
public double getYPower() -
getZPower
public double getZPower()
-