Skip to content

Instantly share code, notes, and snippets.

View Lothrazar's full-sized avatar

- Lothrazar

View GitHub Profile
@Steveplays28
Steveplays28 / distant_horizons_shader_compatibility_information.md
Last active November 17, 2024 13:27
Distant Horizons shader compatibility info

Distant Horizons shader compatibility information

Distant Horizons v2.0.0 (and up) shader compatibility information.

v2

Install guide

Fabric

@ChampionAsh5357
ChampionAsh5357 / 1194-120-primer.md
Last active September 4, 2024 17:53
Minecraft 1.19.4 -> 1.20 Mod Migration Primer

Minecraft 1.19.4 -> 1.20 Mod Migration Primer

This is a high level, non-exhaustive overview on how to migrate your mod from 1.19.4 to 1.20 using Forge.

This primer is licensed under the Creative Commons Attribution 4.0 International, so feel free to use it as a reference and leave a link so that other readers can consume the primer.

If there's any incorrect or missing information, please leave a comment below. Thanks!

Pack Changes

@Shadows-of-Fire
Shadows-of-Fire / 10_CompoundTag.js
Last active May 20, 2024 09:59
Gateways To Eternity JSON Schema
"string" // [Mandatory] || Mojangson string representation of a Compound Tag -- See https://github.com/aramperes/Mojangson for spec
OR
Object // [Mandatory] || Object representation of a Compound Tag, which is just write a JSON object that maps to your desired nbt.
// A string representation of CompoundTag implies -> "nbt": "{Data:0}"
// The object representation implies -> "nbt": { "Data": 0 }
// Either form is valid, and the object form is easier.
import com.mojang.datafixers.util.Function3;
import com.mojang.serialization.Codec;
import com.mojang.serialization.codecs.RecordCodecBuilder;
import net.minecraft.block.BlockState;
import java.util.List;
public class CodecExample {
public static final Codec<CodecExample> CODEC = RecordCodecBuilder.create(
instance -> instance.group(
@williewillus
williewillus / primer.md
Last active September 23, 2024 02:37
1.13/1.14 update primer

This primer is licensed under CC0, do whatever you want.

BUT do note that this can be updated, so leave a link here so readers can see the updated information themselves.

1.13 and 1.14 are lumped together in this doc, you're on your own if you just want to go to 1.13 and not 1.14, for some reason.

1.15 stuff: https://gist.github.com/williewillus/30d7e3f775fe93c503bddf054ef3f93e

Things in Advance

  • ResourceLocation now throw on non-snake-case names instead of silently lowercasing for you, so you probably should go and change all those string constants now. More precisely, domains must only contain alphanumeric lowercase, underscore (_), dash (-), or dot (.). Paths have the same restrictions, but can also contain forward slashes (/).
@Darkhax
Darkhax / gist:a2002a40114d60a5a27ed5bf4fb7c110
Created May 25, 2016 07:28
Minecraft 1.9.4 vanilla loot tables
minecraft:entities/sheep/light_blue
main
Name: minecraft:wool weight: 1 Quality: 0 Item: Wool Type: LootEntryItem
pool1
Name: minecraft:entities/sheep weight: 1 Quality: 0 Type: LootEntryTable
minecraft:entities/ocelot
minecraft:entities/silverfish
minecraft:chests/stronghold_corridor
main
Name: minecraft:ender_pearl weight: 10 Quality: 0 Item: Ender Pearl Type: LootEntryItem
@williewillus
williewillus / primer.md
Last active December 20, 2020 08:13
1.8.9 to 1.9 quick primer
@phred
phred / pedantically_commented_playbook.yml
Last active June 27, 2024 13:39
Very complete Ansible playbook, showing off all the options
---
####
#### THIS IS OLD AND OUTDATED
#### LIKE, ANSIBLE 1.0 OLD.
####
#### PROBABLY HIT UP https://docs.ansible.com MY DUDES
####
#### IF IT BREAKS I'M JUST SOME GUY WITH
#### A DOG, OK, SORRY
####