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
var magik = magikcraft.io; | |
function es7() { | |
const names = ["Josh", "the", "Legend"]; | |
names.map((name) => magik.dixit(`Yo ${name}!`)); | |
} |
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
// filename: ambient-declarations | |
declare namespace magikcraft.io { | |
export function getPlugin(): any; | |
export function getSender(): any; | |
export function setTimeout(fn: Function, ms: number): number | |
export function clearTimeout(handle: number); | |
export function doNTimes(fn: Function, numberOfTimes: number, callbackFn?: Function, delayms?: number); | |
} | |
declare namespace template { |
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
const magik = magikcraft.io; | |
function glow(name) { | |
magik.radiatum(name); | |
} |
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
const magik = magikcraft.io; | |
/** | |
* Record your path in Minecraft into the global variable _path | |
*/ | |
if (typeof _path === "undefined") { | |
var __magikcraft-sitapati-path = []; | |
} | |
function record(frames = 100, delayms = 100) { |
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
const magik = magikcraft.io; | |
/** | |
* @method replay - replay the Magikcraft Camera Path | |
* Yo, this spell written by the Legendary Josh Wulf | |
* Twitter: @sitapati on Twitter | |
* GitHub: https://github.com/jwulf | |
* | |
*/ | |
function replay() { |
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
// filename: ambient_sitapati | |
declare namespace sitapati { | |
export function test(): void; | |
export function jump(): void; | |
} |
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
const magik = magikcraft.io; | |
function tf() { | |
magik.dixit('Hello') | |
} |
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
const magik = magikcraft.io; | |
function spell(){ | |
We need to put the babel transpiler in a webworker. | |
a | |
} | |
} |
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
const magik = magikcraft.io; | |
function spell(){ | |
We need to put the babel transpiler in a webworker. | |
a | |
} | |
} |
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
const magik = magikcraft.io; | |
function spell(){ | |
We need to put the babel transpiler in a webworker. | |
a | |
} | |
} |