Skip to content

Incoherent-Code/minecraft-format-codes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!`);
})

About

NPM package for minecraft color codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published