Status: RESOLVED
This file contains 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 org.bukkit.Bukkit; | |
import org.bukkit.plugin.Plugin; | |
import java.util.concurrent.ConcurrentLinkedQueue; | |
/** | |
* Facilitates Control Flow for the Bukkit Scheduler to easily jump between | |
* Async and Sync tasks without deeply nested callbacks, passing the response of the | |
* previous task to the next task to use. | |
* |
This file contains 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
##!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
"""yggdrasil.py | |
A tool for debugging and exploring yggdrasil, Minecraft's new | |
authentication system. | |
Usage: | |
yggdrasil.py login <username> [--password=<password>] | |
yggdrasil.py migrated <username> |
This file contains 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 inspect | |
# Callable class to wrap functions | |
class F: | |
def __init__(self, func, *args): | |
self.func = func | |
self.args = args | |
# Currying |
This file contains 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
#!/usr/bin/env python | |
# import the pygame module, so you can use it | |
import pygame | |
from pygame.locals import * | |
#Main class | |
class Main: | |
scale = 1 | |
basewidth = 320 |