类 ClientboundAddExperienceOrbPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddExperienceOrbPacket
- 所有已实现的接口:
Packet<ClientGamePacketListener>
public class ClientboundAddExperienceOrbPacket
extends Object
implements Packet<ClientGamePacketListener>
-
字段概要
字段修饰符和类型字段说明private final int
static final StreamCodec
<FriendlyByteBuf, ClientboundAddExperienceOrbPacket> private final int
private final double
private final double
private final double
-
构造器概要
构造器限定符构造器说明private
ClientboundAddExperienceOrbPacket
(FriendlyByteBuf p_178564_) ClientboundAddExperienceOrbPacket
(ExperienceOrb p_131517_, ServerEntity p_344822_) -
方法概要
修饰符和类型方法说明int
getId()
int
getValue()
double
getX()
double
getY()
double
getZ()
void
handle
(ClientGamePacketListener p_131523_) type()
private void
write
(FriendlyByteBuf p_131526_) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.network.protocol.Packet
isSkippable, isTerminal
-
字段详细资料
-
STREAM_CODEC
-
id
private final int id -
x
private final double x -
y
private final double y -
z
private final double z -
value
private final int value
-
-
构造器详细资料
-
ClientboundAddExperienceOrbPacket
-
ClientboundAddExperienceOrbPacket
-
-
方法详细资料
-
write
-
type
- 指定者:
type
在接口中Packet<ClientGamePacketListener>
-
handle
- 指定者:
handle
在接口中Packet<ClientGamePacketListener>
-
getId
public int getId() -
getX
public double getX() -
getY
public double getY() -
getZ
public double getZ() -
getValue
public int getValue()
-