Some static values in PaperOnlinePlayer about default player movement speed
This commit is contained in:
parent
d047be35d9
commit
c0e0097b7b
@ -15,6 +15,7 @@ import org.bukkit.Location;
|
|||||||
import org.bukkit.OfflinePlayer;
|
import org.bukkit.OfflinePlayer;
|
||||||
import org.bukkit.Sound;
|
import org.bukkit.Sound;
|
||||||
import org.bukkit.entity.LivingEntity;
|
import org.bukkit.entity.LivingEntity;
|
||||||
|
import org.bukkit.entity.Player;
|
||||||
import org.bukkit.inventory.Inventory;
|
import org.bukkit.inventory.Inventory;
|
||||||
import org.bukkit.inventory.MainHand;
|
import org.bukkit.inventory.MainHand;
|
||||||
import org.bukkit.inventory.PlayerInventory;
|
import org.bukkit.inventory.PlayerInventory;
|
||||||
@ -26,6 +27,17 @@ import java.util.Locale;
|
|||||||
*/
|
*/
|
||||||
public interface PaperOnlinePlayer extends PaperOffPlayer, AbstractOnlinePlayer {
|
public interface PaperOnlinePlayer extends PaperOffPlayer, AbstractOnlinePlayer {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default value for {@link Player#getWalkSpeed()}.
|
||||||
|
*/
|
||||||
|
float BUKKIT_DEFAULT_WALK_SPEED = 0.2f;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The default value for {@link Player#getFlySpeed()}.
|
||||||
|
*/
|
||||||
|
float BUKKIT_DEFAULT_FLY_SPEED = 0.1f;
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* General data and state
|
* General data and state
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user