Skip to content

Instantly share code, notes, and snippets.

@Ellivers
Ellivers / mcfunction-precompilers.md
Last active November 10, 2024 13:52
Minecraft function precompilers

Minecraft function precompilers

An attempt to make a definitive list of all (at least somewhat finished) projects that compile to MCFunction (Minecraft function) code for Minecraft: Java Edition. Each category is very roughly ordered from most to least usable/well-known. Categories and notes in parentheses may not be entirely accurate.

Modern

@Ellivers
Ellivers / youtube-search-options.user.js
Last active June 23, 2024 16:44
Better YouTube Search Control
// ==UserScript==
// @name Better Search Result Control
// @namespace YouTube Search Options
// @match https://www.youtube.com/*
// @downloadURL https://gist.github.com/Ellivers/9d7beaa66590ce719c1d8c333d6cfaa1/raw/youtube-search-options.user.js
// @grant GM_getValue
// @grant GM_setValue
// @version 1.4
// @author Ellivers
// @description 2022-09-06, 19:00:54
@Ellivers
Ellivers / anime-tracker.user.js
Last active December 26, 2024 03:24
AnimePahe Improvements
// ==UserScript==
// @name AnimePahe Improvements
// @namespace https://gist.github.com/Ellivers/f7716b6b6895802058c367963f3a2c51
// @downloadURL https://gist.github.com/Ellivers/f7716b6b6895802058c367963f3a2c51/raw/anime-tracker.user.js
// @match https://animepahe.com/*
// @match https://animepahe.org/*
// @match https://animepahe.ru/*
// @match https://kwik.*/e/*
// @match https://kwik.*/f/*
// @grant GM_getValue
@Ellivers
Ellivers / main.md
Last active December 29, 2024 02:08
Practices and Tricks

Good Data Pack Practices and Common Tricks

Structuring and Consistency

An organized structure to your data pack's folders and file names always helps you understand your code better and leads to less bugs. Place files that have something in common in the same folder, and name them based on what their purpose is.

Consistency in naming stuff like tags, files, and scores can help keep you sane. Always have a clear structure in place, such as prefixing tag and objective names with your namespace (namespace.name) and giving tags different categories (namespace.entity.name, namespace.block.name).

If you are unsure of how a good structure could look, you could take a look at some vanilla assets, such as the lang file or the built-in data pack, as well as get ideas from looking at data packs that other people have made.