Yay for forgetting to account for things!
This commit is contained in:
parent
658c5b3184
commit
84ecd43af2
4 changed files with 16 additions and 4 deletions
|
@ -70,6 +70,9 @@ public class BlockFluid
|
||||||
toInject.add(new VarInsnNode(ILOAD, 2));
|
toInject.add(new VarInsnNode(ILOAD, 2));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 3));
|
toInject.add(new VarInsnNode(ILOAD, 3));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 4));
|
toInject.add(new VarInsnNode(ILOAD, 4));
|
||||||
|
if (obfuscated)
|
||||||
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getWaterColourMultiplier", "(Lacf;III)I"));
|
||||||
|
else
|
||||||
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getWaterColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getWaterColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
||||||
toInject.add(new InsnNode(IRETURN));
|
toInject.add(new InsnNode(IRETURN));
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,9 @@ public class BlockGrass
|
||||||
toInject.add(new VarInsnNode(ILOAD, 2));
|
toInject.add(new VarInsnNode(ILOAD, 2));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 3));
|
toInject.add(new VarInsnNode(ILOAD, 3));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 4));
|
toInject.add(new VarInsnNode(ILOAD, 4));
|
||||||
|
if (obfuscated)
|
||||||
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lacf;III)I"));
|
||||||
|
else
|
||||||
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
||||||
toInject.add(new InsnNode(IRETURN));
|
toInject.add(new InsnNode(IRETURN));
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,9 @@ public class BlockLeaves
|
||||||
toInject.add(new VarInsnNode(ILOAD, 2));
|
toInject.add(new VarInsnNode(ILOAD, 2));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 3));
|
toInject.add(new VarInsnNode(ILOAD, 3));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 4));
|
toInject.add(new VarInsnNode(ILOAD, 4));
|
||||||
|
if (obfuscated)
|
||||||
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getLeavesColourMultiplier", "(Lacf;III)I"));
|
||||||
|
else
|
||||||
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getLeavesColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getLeavesColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
||||||
toInject.add(new InsnNode(IRETURN));
|
toInject.add(new InsnNode(IRETURN));
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,9 @@ public class BlockTallGrass
|
||||||
toInject.add(new VarInsnNode(ILOAD, 2));
|
toInject.add(new VarInsnNode(ILOAD, 2));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 3));
|
toInject.add(new VarInsnNode(ILOAD, 3));
|
||||||
toInject.add(new VarInsnNode(ILOAD, 4));
|
toInject.add(new VarInsnNode(ILOAD, 4));
|
||||||
|
if (obfuscated)
|
||||||
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lacf;III)I"));
|
||||||
|
else
|
||||||
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
toInject.add(new MethodInsnNode(INVOKESTATIC, "biomesoplenty/asm/smoothing/BOPBiomeTransitionSmoothing", "getGrassColourMultiplier", "(Lnet/minecraft/world/IBlockAccess;III)I"));
|
||||||
toInject.add(new InsnNode(IRETURN));
|
toInject.add(new InsnNode(IRETURN));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue