Skip to content

Instantly share code, notes, and snippets.

View Phoenix616's full-sized avatar
πŸ”₯
πŸ‘€

Max Lee Phoenix616

πŸ”₯
πŸ‘€
View GitHub Profile
@Phoenix616
Phoenix616 / GithubReturnLightThemedHeader.user.css
Created December 8, 2020 19:52
Userstyle to return GitHub's light-themend header (in light mode)
/* ==UserStyle==
@name Github Return Light Themed Header
@namespace https://phoenix616.dev
@preprocessor less
@version 0.1.0
@author Phoenix616 aka Max Lee (https://phoenix616.dev)
@homepageURL https://gist.github.com/Phoenix616/3be078a482e50f5e9cc4cd8e0d7272b7/
@updateURL https://gist.github.com/Phoenix616/3be078a482e50f5e9cc4cd8e0d7272b7/raw/37c94748eaec6dec1d3f1bd10460d7159f4b1ea0/GithubReturnLightThemedHeader.user.css
==/UserStyle== */
@Phoenix616
Phoenix616 / ObjectIndex.java
Last active February 17, 2021 18:42
A class that can index objects based on some parameters. Used in https://github.com/RedstoneWorld/RedAction/tree/action-index/
package de.themoep.utils;
/*
* Copyright 2021 Max Lee ([email protected])
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
/**
* Copyright (C) 2016 Max Lee (https://github.com/Phoenix616/)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
@Phoenix616
Phoenix616 / generate_anti_xray.sh
Last active January 23, 2025 22:18
Generate an anti xray pack for a specific version (https://modrinth.com/resourcepack/anti-xray-pack)
read -p "Enter the Minecraft version: " version
read -p "Enter the pack format: " pack_format
if [ ! -f ~/.minecraft/versions/$version/$version.jar ]; then
echo "$version not found!"
exit 1
fi
echo "Unzipping version $version"
@Phoenix616
Phoenix616 / minecraftComponent.js
Last active January 23, 2025 21:50
Create HTML text from Minecraft text components. (does not support special stuff like translatables and entity/item data)
/**
* Copyright (c) 2025 Phoenix616 ([email protected])
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*