Players in @minecraft/server.
61 pages in @minecraft/server.
Classes
Section titled “Classes”
BossBar ClassBasalt's own (PowerNukkitX's InputInfo ClassWhat the player's latest input said of their controls.
PlayerInputPermissions ClassWhich of a player's controls work.
ScreenDisplay ClassWhat's on a player's screen.
DummyBossBar): a bar across the top of one player's screen.
PlayerClassA player in the world.
PlayerInterfaces
Section titled “Interfaces”
ClientSystemInfo InterfaceWhat a client says of the device it runs on.
PlayerSkinInfo InterfaceThe parts of a skin plugins may look at.
BossBarColor EnumA boss bar's colour.
GameMode EnumA game mode, as Element EnumThe parts of the HUD.
HudVisibility EnumWhether HUD elements are hidden or as usual.
InputButton Enum
InputMode EnumThe kind of controls a player steers with.
InputPermissionCategory EnumGroups of a player's controls that can be turned off.
PlatformType EnumWhat kind of device a client runs on.
Player.getGameMode gives it.
HudOptions
Section titled “Options”
BossBarOptions InterfaceOptions for Options InterfaceOptions for SoundOptions InterfaceOptions for DisplayOptions InterfaceOptions for
Player.addBossBar.
MusicPlayer.playMusic and Player.queueMusic.
PlayerPlayer.playSound.
TitleScreenDisplay.setTitle; times are in ticks.
Typed only
Section titled “Typed only”Declared so plugins written against the full Mojang API type-check. Most are not backed by Basalt yet.
AimAssistCategory Class
AimAssistCategorySettings Class
AimAssistPreset Class
AimAssistPresetSettings Class
AimAssistRegistry Class
AimAssistTargetMode Enum
CameraClass
CameraAttachOptions Interface
CameraFadeOptions Interface
CameraFadeTimeOptions Interface
CameraFixedBoomOptions Interface
CameraFovOptions Interface
CameraSetFacingOptions Interface
CameraSetLocationOptions Interface
CameraSetPosOptions Interface
CameraSetRotOptions Interface
CameraShakeOptions Interface
CameraShakeType Enum
CameraTargetOptions Interface
CatmullRomSpline Class
ControlScheme Enum
EaseOptions Interface
EasingType Enum
GraphicsMode Enum
InputInfo Class
LinearSpline Class
LocatorBar Class
MemoryTier Enum
PlayerAimAssist Class
PlayerAimAssistSettings Interface
PlayerInventoryType Enum
PlayerPermissionLevel Enum
PlayerSplitScreenSlot Enum
PlayerVisibilityRules Interface
PlayerWaypoint Class
ProgressKeyFrame Interface
RotationKeyFrame Interface
SplineAnimation Interface
WaypointClass
WaypointTexture Enum
WaypointTextureBounds Interface
WaypointTextureSelector Interface