public enum AuthoritativeMovementMode extends Enum<AuthoritativeMovementMode>
StartGamePacket to verify the clients movement is
valid.| Enum Constant and Description |
|---|
CLIENT
Movement is completely controlled by the client and does not send
PlayerAuthInputPacket |
SERVER
Movement is verified by the server using the
PlayerAuthInputPacket |
SERVER_WITH_REWIND |
| Modifier and Type | Method and Description |
|---|---|
static AuthoritativeMovementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthoritativeMovementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthoritativeMovementMode CLIENT
PlayerAuthInputPacketpublic static final AuthoritativeMovementMode SERVER
PlayerAuthInputPacketpublic static final AuthoritativeMovementMode SERVER_WITH_REWIND
public static AuthoritativeMovementMode[] values()
for (AuthoritativeMovementMode c : AuthoritativeMovementMode.values()) System.out.println(c);
public static AuthoritativeMovementMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018–2022 NukkitX. All rights reserved.