Class ClientboundSetObjectivePacket
java.lang.Object
net.minecraft.network.protocol.game.ClientboundSetObjectivePacket
- All Implemented Interfaces:
Packet<ClientGamePacketListener>
public class ClientboundSetObjectivePacket
extends Object
implements Packet<ClientGamePacketListener>
-
Field Summary
Modifier and TypeFieldDescriptionprivate Component
private int
static int
static int
static int
private String
private ObjectiveCriteria.RenderType
-
Constructor Summary
ConstructorDescriptionClientboundSetObjectivePacket(FriendlyByteBuf p_179306_)
ClientboundSetObjectivePacket(Objective p_133258_, int p_133259_)
-
Method Summary
Modifier and TypeMethodDescriptionint
void
handle(ClientGamePacketListener p_133265_)
void
write(FriendlyByteBuf p_133268_)
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
-
METHOD_ADD
public static final int METHOD_ADD- See Also:
- Constant Field Values
-
METHOD_REMOVE
public static final int METHOD_REMOVE- See Also:
- Constant Field Values
-
METHOD_CHANGE
public static final int METHOD_CHANGE- See Also:
- Constant Field Values
-
objectiveName
-
displayName
-
renderType
-
method
private final int method
-
-
Constructor Details
-
ClientboundSetObjectivePacket
-
ClientboundSetObjectivePacket
-
-
Method Details
-
write
- Specified by:
write
in interfacePacket<ClientGamePacketListener>
-
handle
- Specified by:
handle
in interfacePacket<ClientGamePacketListener>
-
getObjectiveName
-
getDisplayName
-
getMethod
public int getMethod() -
getRenderType
-