Skip to content

Simple Input Files

Marc Hermans edited this page Jun 8, 2021 · 1 revision

Enter the following text in the following files under the input folder in the repository root (the names of files do not matter, but the names of the directories do matter):

official/test.txt

package com/mojang/blaze3d
    Root package for the Blaze3D rendering library.

    Yes, a multiline debugging format because I'm not writing JSON over and over again, thank you very much.
package net/minecraft/client
    The client-only classes for Minecraft.
class com/mojang/math/Matrix3f
    A class. I dunno, this is obfuscated. :P
    field m00 F
        A field in this class. Contains a float.
    method <init> (Lcom/mojang/math/Matrix4f;)V
        Copy constructor for this class.
        param 1 other
            The instance to copy from

obf/test.txt

class a
    method a (FF)Lcom/mojang/datafixers/util/Pair;
        Why am I not getting documented
        param 0 float
            first float

srg/test.txt

class net/minecraft/util/math/vector/Matrix4f
    4-wide float matrix
    method func_195879_b (Ljava/nio/FloatBuffer;)V
        A method. Not static
        param 0 buffer
            A float buffer

Then, run the createStagingFromInputs task to generate the staging data from the production data and input files. You may inspect the staging data if you wish. Afterwards, run the promoteStagingToProduction task to move the newly-modified staging data to the production data folder.

Clone this wiki locally