Added debug console output and more messing with obfuscated names
This commit is contained in:
parent
84ecd43af2
commit
b777834787
5 changed files with 12 additions and 4 deletions
|
@ -16,37 +16,45 @@ public class BOPBiomeTransitionSmoothing implements IClassTransformer
|
|||
{
|
||||
if (name.equals("net.minecraft.block.BlockFluid"))
|
||||
{
|
||||
System.out.println("Patching BlockFluid");
|
||||
return BlockFluid.patchColourMultiplier(newname, bytes, false);
|
||||
}
|
||||
if (name.equals("apc"))
|
||||
{
|
||||
System.out.println("Patching BlockFluid apc");
|
||||
return BlockFluid.patchColourMultiplier(newname, bytes, true);
|
||||
}
|
||||
|
||||
if (name.equals("net.minecraft.block.BlockGrass"))
|
||||
{
|
||||
System.out.println("Patching BlockGrass");
|
||||
return BlockGrass.patchColourMultiplier(newname, bytes, false);
|
||||
}
|
||||
if (name.equals("aon"))
|
||||
{
|
||||
System.out.println("Patching BlockGrass aon");
|
||||
return BlockGrass.patchColourMultiplier(newname, bytes, true);
|
||||
}
|
||||
|
||||
if (name.equals("net.minecraft.block.BlockLeaves"))
|
||||
{
|
||||
System.out.println("Patching BlockLeaves");
|
||||
return BlockLeaves.patchColourMultiplier(newname, bytes, false);
|
||||
}
|
||||
if (name.equals("aoz"))
|
||||
{
|
||||
System.out.println("Patching BlockLeaves aoz");
|
||||
return BlockLeaves.patchColourMultiplier(newname, bytes, true);
|
||||
}
|
||||
|
||||
if (name.equals("net.minecraft.block.BlockTallGrass"))
|
||||
{
|
||||
System.out.println("Patching BlockTallGrass");
|
||||
return BlockTallGrass.patchColourMultiplier(newname, bytes, false);
|
||||
}
|
||||
if (name.equals("aqv"))
|
||||
{
|
||||
System.out.println("Patching BlockTallGrass aqv");
|
||||
return BlockTallGrass.patchColourMultiplier(newname, bytes, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class BlockFluid
|
|||
String targetMethodName = "";
|
||||
|
||||
if (obfuscated)
|
||||
targetMethodName ="b";
|
||||
targetMethodName ="d";
|
||||
else
|
||||
targetMethodName ="colorMultiplier";
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ public class BlockGrass
|
|||
String targetMethodName = "";
|
||||
|
||||
if (obfuscated)
|
||||
targetMethodName ="b";
|
||||
targetMethodName ="c";
|
||||
else
|
||||
targetMethodName ="colorMultiplier";
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public class BlockLeaves
|
|||
String targetMethodName = "";
|
||||
|
||||
if (obfuscated)
|
||||
targetMethodName ="b";
|
||||
targetMethodName ="c";
|
||||
else
|
||||
targetMethodName ="colorMultiplier";
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ public class BlockTallGrass
|
|||
String targetMethodName = "";
|
||||
|
||||
if (obfuscated)
|
||||
targetMethodName ="b";
|
||||
targetMethodName ="c";
|
||||
else
|
||||
targetMethodName ="colorMultiplier";
|
||||
|
||||
|
|
Loading…
Reference in a new issue