Class ClientboundSetScorePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetScorePacket
- All Implemented Interfaces:
 Packet<ClientGamePacketListener>
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ServerScoreboard.Methodprivate final Stringprivate final Stringprivate final int - 
Constructor Summary
ConstructorsConstructorDescriptionClientboundSetScorePacket(FriendlyByteBuf p_179373_) ClientboundSetScorePacket(ServerScoreboard.Method p_133329_, String p_133330_, String p_133331_, int p_133332_)  - 
Method Summary
Modifier and TypeMethodDescriptiongetOwner()intgetScore()voidhandle(ClientGamePacketListener p_133338_) voidwrite(FriendlyByteBuf p_133341_) 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, nextProtocol 
- 
Field Details
- 
owner
 - 
objectiveName
 - 
score
private final int score - 
method
 
 - 
 - 
Constructor Details
- 
ClientboundSetScorePacket
public ClientboundSetScorePacket(ServerScoreboard.Method p_133329_, @Nullable String p_133330_, String p_133331_, int p_133332_)  - 
ClientboundSetScorePacket
 
 - 
 - 
Method Details
- 
write
- Specified by:
 writein interfacePacket<ClientGamePacketListener>
 - 
handle
- Specified by:
 handlein interfacePacket<ClientGamePacketListener>
 - 
getOwner
 - 
getObjectiveName
 - 
getScore
public int getScore() - 
getMethod
 
 -