minecraft-format-codes
v1.0.2
Published
Typescript enums for minecraft java and bedrock color codes.
Downloads
196
Readme
minecraft-format-codes
Typescript Enums for minecraft's color codes and format codes. Includes color codes from both minecraft java and bedrock, but is mainly intended to work with the minecraft bedrock scripting api.
import { BedrockColorCodes } from "minecraft-format-codes";
import { world } from "@minecraft/server";
world.afterEvents.playerEmoting.subscribe(arg => {
world.sendMessage(`${BedrockColorCodes.Green} ${arg.player.name} is emoting!`);
})