-
-
Save legoboy0215/5659925898ccdad8e6dd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$FB = "█"; | |
$GR = TextFormat::DARK_GREEN; | |
$BL = TextFormat::BLACK; | |
$line1 = $GR . str_repeat($FB, 10); | |
$line2 = $GR . str_repeat($FB, 10); | |
$line3 = $GR . $FB . $FB . $BL . $FB . $FB . $GR . $FB . $FB . $BL . $FB . $FB . $GR . $FB . $FB; | |
$line4 = $GR . $FB . $FB . $BL . $FB . $FB . $GR . $FB . $FB . $BL . $FB . $FB . $GR . $FB . $FB; | |
$line5 = $GR . $FB . $FB . $FB . $FB . $BL . $FB . $FB . $GR . $FB . $FB . $FB . $FB; | |
$line6 = $GR . $FB . $FB . $FB . $BL . $FB . $FB . $FB . $FB . $GR . $FB . $FB . $FB; | |
$line7 = $GR . $FB . $FB . $FB . $BL . $FB . $FB . $FB . $FB . $GR . $FB . $FB . $FB; | |
$line8 = $GR . $FB . $FB . $FB . $BL . $FB . $GR . $FB . $FB . $BL . $FB . $GR . $FB . $FB . $FB; | |
$line9 = $GR . str_repeat($FB, 10); | |
$line10 = $GR . str_repeat($FB, 10); | |
$pos = new Vector3(128, 20, 128); | |
$level->addParticle(new FloatingTextParticle($pos->add(3.5, 6.5, 0.5), | |
$line2 . "\n". | |
$line3 . "\n". | |
$line4 . "\n". | |
$line5 . "\n". | |
$line6 . "\n". | |
$line7 . "\n". | |
$line8 . "\n". | |
$line9 . "\n". | |
$line10 | |
, $line1)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment