Class ClientboundSetDisplayObjectivePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetDisplayObjectivePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetDisplayObjectivePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionClientboundSetDisplayObjectivePacket(int p_133131_, Objective p_133132_)
ClientboundSetDisplayObjectivePacket(FriendlyByteBuf p_179288_)
-
Method Summary
Modifier and TypeMethodDescriptionint
getSlot()
void
handle(ClientGamePacketListener p_133138_)
void
write(FriendlyByteBuf p_133141_)
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
-
slot
private final int slot -
objectiveName
-
-
Constructor Details
-
ClientboundSetDisplayObjectivePacket
-
ClientboundSetDisplayObjectivePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getSlot
public int getSlot() -
getObjectiveName
-