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