Class ClientboundAddExperienceOrbPacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundAddExperienceOrbPacket
- All Implemented Interfaces:
- Packet<ClientGamePacketListener>
public class ClientboundAddExperienceOrbPacket
extends Object
implements Packet<ClientGamePacketListener>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionClientboundAddExperienceOrbPacket(FriendlyByteBuf p_178564_) ClientboundAddExperienceOrbPacket(ExperienceOrb p_131517_) 
- 
Method SummaryModifier and TypeMethodDescriptionintgetId()intgetValue()doublegetX()doublegetY()doublegetZ()voidhandle(ClientGamePacketListener p_131523_) voidwrite(FriendlyByteBuf p_131526_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
idprivate final int id
- 
xprivate final double x
- 
yprivate final double y
- 
zprivate final double z
- 
valueprivate final int value
 
- 
- 
Constructor Details- 
ClientboundAddExperienceOrbPacket
- 
ClientboundAddExperienceOrbPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ClientGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ClientGamePacketListener>
 
- 
getIdpublic int getId()
- 
getXpublic double getX()
- 
getYpublic double getY()
- 
getZpublic double getZ()
- 
getValuepublic int getValue()
 
-