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
| 0000 00000001 01101000 | |
| 0010 00000001 | |
| 0000 00000001 01100101 | |
| 0010 00000001 | |
| 0000 00000001 01101100 | |
| 0010 00000001 | |
| 0000 00000001 01101100 |
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
| //why js? cuz i can and vs needs so long to load | |
| //and yolo ;) | |
| // | |
| //setup | |
| // | |
| command("gamerule commandBlockOutput false"); | |
| command("gamerule sendCommandFeedback false"); | |
| command("fill 1 31 0 1 10 30 stone"); |
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 bottles = new Runtime.Integer(); | |
| bottles.set(99); | |
| Chat.Tellraw.create("99 bottles of beer on the wall, 99 bottles of beer.").tell(Entities.Selector.AllPlayer); | |
| var repeat = function() | |
| { | |
| Chat.Tellraw.create("Take one down and pass it around, ", bottles.toTellrawExtra(), " bottles of beer on the wall.").tell(Entities.Selector.AllPlayer); | |
| Chat.Tellraw.create(bottles.toTellrawExtra(), " bottles of beer on the wall, ", bottles.toTellrawExtra(), " bottles of beer.").tell(Entities.Selector.AllPlayer); | |
| bottles.remove(1); |
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
| ACDT: Australian Central Daylight Time | |
| ACST: Australian Central Standard Time | |
| ACT: ASEAN Common Time | |
| ADT: Atlantic Daylight Time | |
| AEDT: Australian Eastern Daylight Time | |
| AEST: Australian Eastern Standard Time | |
| AFT: Afghanistan Time | |
| AKDT: Alaska Daylight Time | |
| AKST: Alaska Standard Time | |
| AMST: Armenia Summer Time |
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
| import("util.command"); | |
| import("math"); | |
| import("chat.tellraw"); | |
| fixed start = math.pi(); | |
| start *= -1; //start at -pi | |
| fixed stop = math.pi(); //stop at pi | |
| for(fixed i = start; i <= stop; i += 0.2) |
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
| import("util.command"); | |
| import("util.callAsync"); | |
| import("util.setTimeout"); | |
| import("chat.tellraw"); | |
| import("scoreboard"); | |
| static int base = 10; // try 2 or 16 | |
| static bool debug = false; | |
| object cursor = @e[type=ArmorStand,name=cursor]; |
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
| import("chat") | |
| import("math") | |
| import("debug") | |
| import("./calculator.js") | |
| command("gamerule sendCommandFeedback false") | |
| command("scoreboard objectives add calc dummy") | |
| command("scoreboard objectives add calcVal dummy") | |
| curr = score("@e[type=ArmorStand,x=0,y=5,z=-1,r=0]", "calc") |
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
| (function e(t, n, r) { | |
| function s(o, u) { | |
| if (!n[o]) { | |
| if (!t[o]) { | |
| var a = typeof require == "function" && require; | |
| if (!u && a) return a(o, !0); | |
| if (i) return i(o, !0); | |
| var f = new Error("Cannot find module '" + o + "'"); | |
| throw f.code = "MODULE_NOT_FOUND", f | |
| } |
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
| #!/bin/bash | |
| function printUsage | |
| { | |
| printf "Commands:\n h : show this help\n c : clear the screen\n\ | |
| q : quit\n r : restart player\n l : view player log\n\ | |
| <id> : add id to queue\n" | |
| } | |
| printUsage | |
| printf "\n" |
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
| if SERVER then | |
| util.AddNetworkString("deathrecap_show") | |
| util.AddNetworkString("deathrecap_hide") | |
| local recap = {} | |
| local startTime = 0 | |
| hook.Add("EntityTakeDamage", "deathrecap_takedmg", function(target, ev) | |
| if target:IsPlayer() then | |
| local name = target:GetName() | |
| recap[name] = recap[name] or {} |
OlderNewer