Class ClientboundResetScorePacket
java.lang.Object
org.geysermc.mcprotocollib.protocol.packet.ingame.clientbound.scoreboard.ClientboundResetScorePacket
- All Implemented Interfaces:
Packet, MinecraftPacket
-
Constructor Summary
ConstructorsConstructorDescriptionClientboundResetScorePacket(io.netty.buffer.ByteBuf in) ClientboundResetScorePacket(@NonNull String owner, @Nullable String objective) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean@Nullable String@NonNull StringgetOwner()inthashCode()voidserialize(io.netty.buffer.ByteBuf out) @NonNull StringtoString()@NonNull ClientboundResetScorePacketwithObjective(@Nullable String objective) @NonNull ClientboundResetScorePacketMethods inherited from interface Packet
isPriority, isTerminal
-
Constructor Details
-
ClientboundResetScorePacket
public ClientboundResetScorePacket(io.netty.buffer.ByteBuf in) -
ClientboundResetScorePacket
-
-
Method Details
-
serialize
public void serialize(io.netty.buffer.ByteBuf out) - Specified by:
serializein interfaceMinecraftPacket
-
getOwner
-
getObjective
-
equals
-
canEqual
-
hashCode
-
toString
-
withOwner
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withObjective
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-