Skip to content

Instantly share code, notes, and snippets.


Néstor Amador amadornes

View GitHub Profile
amadornes /
Last active Oct 1, 2022
1.19 client refactor auto-remap guide

Welcome to the 1.19 client refactor auto-remap guide!

Forge 41.0.64 for Minecraft 1.19 introduces several breaking changes to client code and 41.0.94 makes several additional renames.

In this guide we'll set up, configure and run SizableShrimp's automatic remapping tool to go through your code and take care of a large number of changes for you. This will only work if your mod is written in Java, so if it isn't, skip to the manual porting guide.

This guide works regardless of the mappings you're using.

Here's what we'll do:

  1. Ensure the mod compiles
View exportpng.jsx
// Exports a saved multi-layered file as a .png in the same directory.
function exportPNG() {
// Confirm the document has already been saved and so has a path to use
try {;
} catch(e) {
alert("Could not export PNG as the document is not saved.\nPlease save and try again.")
amadornes /
Last active Jun 6, 2018
Modded Minecraft Panel @ Minecon Earth 2018

Here's a list of all the people who applied to be on the Modded Minecraft panel sorted alphabetically. Be sure to check out everyone's projects! :)

Also, friendly reminder when voting that this panel is oriented towards PLAYERS (predominantly kids) who may never have heard of or interacted with modded Minecraft. This is not a tech summit.
Having higher technical knowledge or experience doesn't make someone more qualified to represent the modded community at Minecon.

115kino - Modder

I started taking an interest in modding when a friend showed me a Minecraft mod that sparked it all; The Aether. The first mod I’ve ever played had inspired me to make my own mods. I started meeting people along the way and eventually forming my own group called Modding Legacy. We now strive, as a team and a family, to create new exciting mods that bring interesting ideas that were never seen in a Minecraft mod. We also strive to revive the classic mods of old back into newer Minecraft versions.


Aether L

package mcjty.immcraft.config;
import mcjty.immcraft.items.BookType;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.common.config.ConfigCategory;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
import net.minecraftforge.fml.common.registry.GameRegistry;
amadornes /
Last active Jun 18, 2017
Quick guide to MCMultiPart 2

Hey! So you have a 1.11 mod and want to have a go at supporting MCMultiPart 2? Great! Let's get started!

I should first of all note that the API is NOT final, though the changes to it won't be very big and most likely won't affect you. Still, I would recommend doing this in a separate branch.

Depending on MCMP2

The first thing you'll want to do is add MCMP to your dev environment. You can read about that here:
You'll need to use experimental builds because there is no stable build yet.

Creating an addon


Keybase proof

I hereby claim:

  • I am amadornes on github.
  • I am amadornes ( on keybase.
  • I have a public key whose fingerprint is 871B 88BA 3676 A015 4B13 08ED 3603 A504 2E7E 6797

To claim this, I am signing this object:

amadornes / .htaccess
Last active Aug 29, 2015
Screenshot wrapper
View .htaccess
Options -Indexes
RewriteEngine On
RewriteRule ^([A-Za-z0-9-]+)/?$ wrap.php?img=$1 [NC,L]
View gist:572bda434b7dd15ce910
private boolean avoidLoops = false;
public String getUnlocalizedName() {
if (avoidLoops)
return "tile." + ModInfo.MODID + ":" + id;
avoidLoops = true;
boolean same = getLocalizedName().equals(getUnlocalizedName() + ".name");
amadornes / gist:17f9d65b9d0e365990ff
Created May 2, 2015
Micro Builder's Wand part handler
View gist:17f9d65b9d0e365990ff
package com.amadornes.microtools.api;
import net.minecraft.entity.player.EntityPlayer;
import codechicken.lib.raytracer.ExtendedMOP;
import codechicken.lib.vec.BlockCoord;
import codechicken.multipart.TMultiPart;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
View gist:ddf6dc8684c89e39ad33
[16:18:51] [Client thread/INFO] [STDOUT/]: [cpw.mods.fml.client.SplashProgress:start:89]: ---- Minecraft Crash Report ----
// Shall we play a game?
Time: 4/21/15 4:18 PM
Description: Loading screen debug info
at cpw.mods.fml.client.SplashProgress.start(
at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(
at net.minecraft.client.Minecraft.func_71384_a(