Class ClientboundSetScorePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetScorePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate ServerScoreboard.Method
private String
private String
private int
-
Constructor Summary
ConstructorDescriptionClientboundSetScorePacket(FriendlyByteBuf p_179373_)
ClientboundSetScorePacket(ServerScoreboard.Method p_133329_, String p_133330_, String p_133331_, int p_133332_)
-
Method Summary
Modifier and TypeMethodDescriptiongetOwner()
int
getScore()
void
handle(ClientGamePacketListener p_133338_)
void
write(FriendlyByteBuf p_133341_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
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:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getOwner
-
getObjectiveName
-
getScore
public int getScore() -
getMethod
-