Skip to content

Instantly share code, notes, and snippets.

View jwulf's full-sized avatar
:octocat:
Coding on Halmak

Josh Wulf jwulf

:octocat:
Coding on Halmak
View GitHub Profile
const magik = magikcraft.io;
function spell(){
We need to put the babel transpiler in a webworker.
a
}
}
const magik = magikcraft.io;
function tf() {
magik.dixit('Hello')
}
// filename: ambient_sitapati
declare namespace sitapati {
export function test(): void;
export function jump(): void;
}
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() {
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) {
const magik = magikcraft.io;
function glow(name) {
magik.radiatum(name);
}
// 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 {
var magik = magikcraft.io;
function es7() {
const names = ["Josh", "the", "Legend"];
names.map((name) => magik.dixit(`Yo ${name}!`));
}
const magik = magikcraft.io;
let T1, Java;
const BossBarAPI = Java.type("org.inventivetalent.bossbar.BossBarAPI");
function t1() {
var TextComponent = Java.type("net.md_5.bungee.api.chat.TextComponent");
T1 = {
state:
{
const fs = require('fs');
const package = JSON.parse(fs.readFileSync('./package.json'));
//console.log(package);
const deps = package.dependencies;
console.log(deps);
for (let i = 0; i < Object.keys(deps).length; i++) {