Class SSetExperiencePacket
java.lang.Object
net.minecraft.network.play.server.SSetExperiencePacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate floatprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatintvoidhandle(IClientPlayNetHandler p_148833_1_) voidread(PacketBuffer p_148837_1_) voidwrite(PacketBuffer p_148840_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.IPacket
isSkippable
-
Field Details
-
experienceProgress
private float experienceProgress -
totalExperience
private int totalExperience -
experienceLevel
private int experienceLevel
-
-
Constructor Details
-
SSetExperiencePacket
public SSetExperiencePacket() -
SSetExperiencePacket
public SSetExperiencePacket(float p_i46912_1_, int p_i46912_2_, int p_i46912_3_)
-
-
Method Details
-
read
- Specified by:
readin interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
write
- Specified by:
writein interfaceIPacket<IClientPlayNetHandler>- Throws:
IOException
-
handle
- Specified by:
handlein interfaceIPacket<IClientPlayNetHandler>
-
getExperienceProgress
public float getExperienceProgress() -
getTotalExperience
public int getTotalExperience() -
getExperienceLevel
public int getExperienceLevel()
-