I hereby claim:
- I am jwulf on github.
- I am sitapati (https://keybase.io/sitapati) on keybase.
- I have a public key ASDFRpBPO2qTiY_f3gJrat5LKouuD2d9WUuG7skM70juZQo
To claim this, I am signing this object:
| const store = createStore((state = { counter: 0 }, action) => { | |
| switch(action.type) { | |
| case "INCREMENT": | |
| return { counter: state.counter + 1 } | |
| case "DECREMENT": | |
| return { counter: state.counter - 1 } | |
| default: | |
| return state | |
| } | |
| }) |
| // Type definitions for magikcraft.io 0.9 | |
| // Project: https://github.com/Magikcraft/magikcraft.io | |
| // Definitions by: Josh Wulf <[email protected]> | |
| // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
| // TypeScript Version: 2.2 | |
| type TextComponent = any; | |
| declare interface IMagikCraftAPI { | |
| getMappedItem: () => string; |
| // LoL! | |
| const magik = magikcraft.io; | |
| const strings = require("testing"); | |
| function BrisJS() { | |
| strings.forEach(s => magik.dixit(s)); | |
| } |
| updated file contentsssss |
| updated file contents |
| nothing to see |
| /** | |
| This spell throws all entities around you, like a repulsive shield of protection. | |
| **/ | |
| const magik = magikcraft.io; | |
| function r() { | |
| const times = 5 * 1000 / 300; // 5 seconds, every 300ms | |
| let n = times; | |
| magik.setTimeout(shield, 300); |
| const magik = magikcraft.io; | |
| function sb(repeats = 200, delay = 300) { | |
| magik.dixit('Snowball!'); | |
| const sender = magik.getSender(); | |
| const snowball = magik.type("entity.Snowball").class; | |
| const hurl = (thing) => () => sender.launchProjectile(thing) | |
| const volley = () => magik.doNTimes(hurl(snowball), repeats, delay, null); |
| const magik = magikcraft.io; | |
| function cl() { | |
| const Material = magik.type('Material'); | |
| const world = magik.getSender().getWorld(); | |
| function p5() { | |
| const x0 = looking.getX(); | |
| const y0 = looking.getY(); | |
| const z0 = looking.getZ(); |
I hereby claim:
To claim this, I am signing this object: