Skip to content

Latest commit

 

History

History
62 lines (55 loc) · 1 KB

makecode-js-reference-list.md

File metadata and controls

62 lines (55 loc) · 1 KB

Minecraft Education Edition Makecode Documentation

Minecraft TypeScript Modules

agent blocks builder gameplay helpers loops mobs player positions shapes

Enum Classes

AgentAssist, AgentCommand, AgentDetection AgentInspection, AnimalMob, Axis Buffer, Block, BlockColor CardinalDirection, ChatArgument, CloneMask, CloneMode, ColoredBlock, ComparatorMode, CompassDirection DayTime Effect FillOperation, FourDirection GameDifficulty, GameMode, GameRule Item LeverPosition MonsterMob player.ChatCommandArguments Position, ProjectileMob QueryTargetResult ShapeOperation, SixDirection TargetSelector, TargetSelectorKind, TestForBlocksMask, TimeQuery, TravelMethod, TurnDirection Weather

Built-in Classes and Functions

Array Boolean isNaN(0) Infinity Math Number NaN Object, Object.keys(null) String pos(0, 0, 0), posLocal(0, 0, 0) parseFloat("123"), parseInt("123") randpos(pos(0, 0, 0), pos(0, 0, 0)) randint(0, 10) world(0, 0, 0)

TS Interfaces

Boolean Function IArguments Object@type RegExp String@type StringMap