JSPM

minecraft-splash-ts

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q29170F
  • License GPL-3.0

An updated collection of minecraft's title screen messages (java + bedrock).

Package Exports

  • minecraft-splash-ts
  • minecraft-splash-ts/dist/index.mjs

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (minecraft-splash-ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Minecraft Splash (TS)

502 total splash quotes.

[
  "That's no moon!",
  "90% bug free!",
  "Gasp!",
  "Bees, bees, bees, bees!",
  "Jag känner en bot!",
  "This text is hard to read if you play the game at the default resolution, but at 1080p it's fine!",
  "...!",
  // ... 495 more
]

mincraft-splash-ts

Installation

Add to your project using your favorite package manager.

NPM

npm install minecraft-splash-ts

PNPM

pnpm add minecraft-splash-ts

Yarn

yarn add minecraft-splash-ts

Exports

Feature Description (literally typed)
default Combined 502 splashes from Minecraft (Java + Bedrock)
je 439 splashes from Minecraft Java Edition
be 63 splashes from Minecraft Bedrock Edition
logRandomSplash Log a random splash to the console (with or without color)
pickRandom Pick a random element from an array

Usage

The lists are literally typed, so you can skim through them in your IDE to find the one you want.

import splashes, { pickRandom, je, be } from 'minecraft-splash-ts';

console.log(pickRandom(splashes)); // "GOTY!",
console.log(pickRandom(je)); // "100% pure!",
console.log(pickRandom(be)); // "Made in C++!",

If you want to log a random splash to the console, and you want it to be colorful, you can use logRandomSplash. The function uses colorix to colorize the text.

import { logRandomSplash } from 'minecraft-splash-ts';

logRandomSplash(); // italic + gray
logRandomSplash("bgYellow", "white") // yellow background + white text
logRandomSplash(false) // no color

Omitted Quotes

Splash Text Reason
"code.org/minecraft" commercial
"discord.gg/minecraft" potentially confusing out of context
"feedback.minecraft.net" commercial / potentially confusing out of context