• Overview
    • Constants
    • Control Flow
    • Operators
    • Types
    • Overview
    • Containers
    • Functions
    • Iteration
    • Math
    • String
    • Threading
    • Types
    • Overview
    • App
    • Auxillary
    • Blocks and World
    • Entity
    • Global Events
    • Inventory
    • Player Events
  1. Scarpet

Scarpet

Scarpet (a.k.a. Carpet Script, or Script for Carpet) is a programming language designed to provide the ability to write custom programs to run within Minecraft and interact with the world.

Syntax

The basic building blocks of Scarpet.

  • Constants
  • Control Flow
  • Operators
  • Types

Built-ins

Built-in functions not related to Minecraft.

  • Containers
  • Functions
  • Iteration
  • Math
  • String
  • Threading
  • Types

Minecraft

Minecraft-related functionality.

  • App
  • Auxillary
  • Blocks and World
  • Entity
  • Global Events
  • Inventory
  • Player Events