Skip to content

Instantly share code, notes, and snippets.

View Podshot's full-sized avatar

Ben Gothard Podshot

  • Rose-Hulman Institute of Technology
  • Terre Haute, IN
View GitHub Profile
@Ryex
Ryex / PygletWX.py
Last active November 11, 2023 08:28
wxPython + Pyglet
"""
LICENSE
Copyright (c) 2014, Rachel Powers All rights reserved.
This program is free software; you can redistribute it and/or modify it under
the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause
"""
import wx
# Anywhere in your filter as long as it is not inside a function. Should be on the same column as "displayName"
VERSION = "<Filter Version. Checked against the Update Page's version>"
UPDATE_URL = "<URL that points to the filters update page. This should be in the Page Format above>"
WIP_URL = "<!!Optional!! URL that points to the filters Work In Progress update page. This should be in the Page Format above. When the 'Include WIP versions' option is set to true or this version is a WIP and the specified URL leads to a valid filter updates page, the update filter will always use this URL instead!>"
WIP = "<'True' if this is a Work In Progress version, otherwise 'False'>"
# Rest of filter
/sayraw {"text":"Want to reset the current minigame? ", "extra": [{"text":"Click here!", "clickEvent":{"action":"run_command", "value":"/scoreboard players set minigame_resetting 1"}}]}
{
"text": "Want to reset the current minigame? ",
"extra": [
{
"text": "Click here!",
"clickEvent": {
"action": "run_command",
package net.minecraft.launcher.authentication;
import net.minecraft.launcher.Http;
import java.io.IOException;
import java.net.Proxy;
import java.net.URL;
import java.util.HashMap;
import java.util.Map;