Skip to content

Instantly share code, notes, and snippets.

package nofloats;
import org.objectweb.asm.*;
// TODO:
// - Annotations
public class ClassFloatRemover extends ClassVisitor {
public ClassFloatRemover(ClassVisitor cv) {
super(Opcodes.ASM7, cv);
}
package net.minecraft.client.render;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.render.model.BakedQuad;
import net.minecraft.client.util.math.Matrix4f;
import net.minecraft.client.util.math.Vector3f;
import net.minecraft.client.util.math.Vector4f;
import net.minecraft.util.math.MathHelper;
import net.minecraft.util.math.Vec3i;
net/minecraft/village/Trader (bhw)
net/minecraft/village/TradeOffer (bhx)
net/minecraft/village/TraderOfferList (bhy)
net/minecraft/world/CommandBlockExecutor (bia)
net/minecraft/world/MobSpawnerLogic (bib)
net/minecraft/world/ExtendedBlockView (bic) <-------------------
net/minecraft/server/world/BlockAction (bid)
net/minecraft/world/BlockView (bie) <-------------------
net/minecraft/block/BlockRenderLayer (bif)
net/minecraft/util/math/ChunkPos (big)
ArrayLevelPropagator lp = new ArrayLevelPropagator(10, 10, 10);
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
9 9 9 9 9 9 9 9 9 9
package lp;
import it.unimi.dsi.fastutil.longs.LongArrayList;
import it.unimi.dsi.fastutil.longs.LongList;
import java.util.Arrays;
public class ArrayLevelPropagator extends LevelPropagator {
private static final int MARKER = -1;
private final int[][] data;
package lp;
import it.unimi.dsi.fastutil.longs.Long2ByteFunction;
import it.unimi.dsi.fastutil.longs.Long2ByteOpenHashMap;
import it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet;
/**
* Maintains a smooth gradient of some small value (the "level") in a (possibly infinite)
* graph. The gradient must be increasing away from the manually set states, meaning that
* manual level updates must only be able to lower the level, or raise it in a (previously
package lp;
import it.unimi.dsi.fastutil.longs.Long2ByteFunction;
import it.unimi.dsi.fastutil.longs.Long2ByteOpenHashMap;
import it.unimi.dsi.fastutil.longs.LongLinkedOpenHashSet;
/**
* Maintains a smooth gradient of some small value (the "level") in a (possibly infinite)
* graph. The gradient must be increasing away from the manually set states, meaning that
* manual level updates must only be able to lower the level, or raise it in a (previously
import com.google.caja.lexer.*;
import com.google.caja.parser.*;
import com.google.caja.parser.js.*;
import com.google.caja.render.JsPrettyPrinter;
import com.google.caja.reporting.EchoingMessageQueue;
import com.google.caja.reporting.MessageContext;
import com.google.caja.reporting.RenderContext;
import com.google.caja.util.Pair;
import java.io.FileReader;
import org.objectweb.asm.*;
import java.io.FileOutputStream;
import java.util.Collections;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.JarOutputStream;
public class AnnotationRemover {
private static final String INPUT = "remapped.jar";
com.mojang.realmsclient
com/mojang/realmsclient/KeyCombo (cvf)
com/mojang/realmsclient/MainRealmsScreen (cvg)
com.mojang.realmsclient.????
com/mojang/realmsclient/network/RealmsDownloadClient (cvh)
com/mojang/realmsclient/network/RealmsUploadClient (cvi)
com/mojang/realmsclient/network/RegionPinger (cvj) <-- ????
com.mojang.realmsclient.dto (?)