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
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final DisplaySlotstatic final StreamCodec<FriendlyByteBuf, ClientboundSetDisplayObjectivePacket> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateClientboundSetDisplayObjectivePacket(DisplaySlot slot, @Nullable Objective objective) -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetSlot()voidhandle(ClientGamePacketListener listener) type()private voidwrite(FriendlyByteBuf output) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Packet
isSkippable, isTerminal
-
Field Details
-
STREAM_CODEC
-
slot
-
objectiveName
-
-
Constructor Details
-
ClientboundSetDisplayObjectivePacket
-
ClientboundSetDisplayObjectivePacket
-
-
Method Details
-
write
-
type
- Specified by:
typein interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ClientGamePacketListener>
-
getSlot
-
getObjectiveName
-