|
9 | 9 | { |
10 | 10 | "patchType": "replace", |
11 | 11 | "scripts": { |
12 | | - "searchFor": "replace1.txt", |
13 | | - "replaceWith": "replace2.txt" |
| 12 | + "searchFor": "script1.txt", |
| 13 | + "replaceWith": "script2.txt" |
14 | 14 | }, |
15 | 15 | "path": "lunar/dD/lIlIIIlllIlllllllIlllllII", |
16 | 16 | "methodName": "IllIlllllIIllIllIIIlllllI(Lcom/google/gson/JsonObject;Ljava/util/function/Predicate;Llunar/aT/llllllIlIlIIlIIIllllIllIl;)V", |
|
22 | 22 | { |
23 | 23 | "patchType": "replace", |
24 | 24 | "scripts": { |
25 | | - "searchFor": "replace1.txt", |
26 | | - "replaceWith": "replace2.txt" |
| 25 | + "searchFor": "script1.txt", |
| 26 | + "replaceWith": "script2.txt" |
27 | 27 | }, |
28 | 28 | "path": "lunar/dD/lIlIIIlllIlllllllIlllllII", |
29 | 29 | "methodName": "run()V", |
30 | 30 | "searchFor": "LDC \"pinnedServers\"", |
31 | 31 | "replaceWith": "LDC \"removedBySolarTweaks\"" |
32 | 32 | } |
33 | 33 | ], |
| 34 | + "blogPosts": [ |
| 35 | + { |
| 36 | + "patchType": "replace", |
| 37 | + "scripts": { |
| 38 | + "searchFor": "script1.txt", |
| 39 | + "replaceWith": "script2.txt" |
| 40 | + }, |
| 41 | + "path": "lunar/dD/lIlIIIlllIlllllllIlllllII", |
| 42 | + "methodName": "run()V", |
| 43 | + "searchFor": "LDC \"blogPosts\"", |
| 44 | + "replaceWith": "LDC \"removedBySolarTweaks\"" |
| 45 | + } |
| 46 | + ], |
34 | 47 | "modspacket": [ |
35 | 48 | { |
36 | 49 | "patchType": "replace", |
37 | 50 | "scripts": { |
38 | | - "searchFor": "replace1.txt", |
39 | | - "replaceWith": "replace2.txt" |
| 51 | + "searchFor": "script1.txt", |
| 52 | + "replaceWith": "script2.txt" |
40 | 53 | }, |
41 | 54 | "path": "com/lunarclient/bukkitapi/nethandler/LCPacket", |
42 | 55 | "methodName": "<clinit>()V", |
43 | 56 | "searchFor": "AD:\nLINE AD 56\nBIPUSH 31\nLDC Lcom/lunarclient/bukkitapi/nethandler/client/LCPacketModSettings;\nINVOKESTATIC com/lunarclient/bukkitapi/nethandler/LCPacket.addPacket(ILjava/lang/Class;)V\nAE:", |
44 | 57 | "replaceWith": "AE:" |
45 | 58 | } |
46 | 59 | ], |
| 60 | + "mantle": [ |
| 61 | + { |
| 62 | + "patchType": "replace", |
| 63 | + "scripts": { |
| 64 | + "searchFor": "script1.txt", |
| 65 | + "replaceWith": "script2.txt" |
| 66 | + }, |
| 67 | + "path": "lunar/a/lIlIIIlllIlllllllIlllllII", |
| 68 | + "methodName": "<clinit>()V", |
| 69 | + "searchFor": "LDC \"http://s.optifine.net\"", |
| 70 | + "replaceWith": "LDC \"http://capes.mantle.gg\"" |
| 71 | + } |
| 72 | + ], |
47 | 73 | "levelHead": [ |
48 | 74 | { |
49 | 75 | "patchType": "replace", |
50 | 76 | "scripts": { |
51 | | - "searchFor": "replace1.txt", |
52 | | - "replaceWith": "replace2.txt" |
| 77 | + "searchFor": "script1.txt", |
| 78 | + "replaceWith": "script2.txt" |
53 | 79 | }, |
54 | 80 | "path": "lunar/bt/IllIlllllIIllIllIIIlllllI", |
55 | 81 | "methodName": "IllIlllllIIllIllIIIlllllI(Llunar/aK/lIIllIIlIllIIlIIllllllIIl;)V", |
|
61 | 87 | { |
62 | 88 | "patchType": "replace", |
63 | 89 | "scripts": { |
64 | | - "searchFor": "replace1.txt", |
65 | | - "replaceWith": "replace2.txt" |
| 90 | + "searchFor": "script1.txt", |
| 91 | + "replaceWith": "script2.txt" |
66 | 92 | }, |
67 | 93 | "path": "lunar/bt/IllIlllllIIllIllIIIlllllI", |
68 | 94 | "methodName": "IllIlllllIIllIllIIIlllllI(Llunar/aG/lIlIIIlllIlllllllIlllllII;)V", |
|
74 | 100 | { |
75 | 101 | "patchType": "replace", |
76 | 102 | "scripts": { |
77 | | - "searchFor": "replace1.txt", |
78 | | - "replaceWith": "replace2.txt" |
| 103 | + "searchFor": "script1.txt", |
| 104 | + "replaceWith": "script2.txt" |
79 | 105 | }, |
80 | 106 | "path": "lunar/bD/llllIIlllIlllIllIlIllIlll", |
81 | 107 | "methodName": "IIlIIllIlIllIlIIIIIlllllI(Z)Ljava/lang/String;", |
82 | 108 | "searchFor": "LDC \"You\"", |
83 | 109 | "replaceWith": "LDC \"$custom_text\"" |
84 | 110 | } |
| 111 | + ], |
| 112 | + "fps": [ |
| 113 | + { |
| 114 | + "patchType": "replace", |
| 115 | + "scripts": { |
| 116 | + "searchFor": "script1.txt", |
| 117 | + "replaceWith": "script2.txt" |
| 118 | + }, |
| 119 | + "path": "lunar/bn/IllIlllllIIllIllIIIlllllI", |
| 120 | + "methodName": "IIIllIIIlIIllIllIIIllllll()Ljava/lang/String;", |
| 121 | + "searchFor": "args[\"\\u0001 FPS\"]", |
| 122 | + "replaceWith": "args[\"\\u0001 $custom_text\"]" |
| 123 | + } |
| 124 | + ], |
| 125 | + "websocket": [ |
| 126 | + { |
| 127 | + "patchType": "replace", |
| 128 | + "scripts": { |
| 129 | + "searchFor": "script1.txt", |
| 130 | + "replaceWith": "script2.txt" |
| 131 | + }, |
| 132 | + "path": "lunar/au/IllIlllllIIllIllIIIlllllI", |
| 133 | + "methodName": "<init>(Ljava/util/Map;)V", |
| 134 | + "searchFor": "GETSTATIC lunar/as/lIlIIIlllIlllllllIlllllII.llIIlllIlIIllIIIIIIIlIIlI Ljava/lang/String;\nINVOKEDYNAMIC makeConcatWithConstants (Ljava/lang/String;)Ljava/lang/String; handle[H_INVOKESTATIC java/lang/invoke/StringConcatFactory.makeConcatWithConstants(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;] args[\"wss://assetserver.\\u0001/connect\"]\nINVOKESPECIAL java/net/URI.<init>(Ljava/lang/String;)V\nNEW org/java_websocket/drafts/Draft_6455\nDUP\nINVOKESPECIAL org/java_websocket/drafts/Draft_6455.<init>()V\nALOAD 1\nSIPUSH 30000\nINVOKESPECIAL org/java_websocket/client/WebSocketClient.<init>(Ljava/net/URI;Lorg/java_websocket/drafts/Draft;Ljava/util/Map;I)V", |
| 135 | + "replaceWith": "LDC \"$custom_text\"\nINVOKESPECIAL java/net/URI.<init>(Ljava/lang/String;)V\nNEW org/java_websocket/drafts/Draft_6455\nDUP\nINVOKESPECIAL org/java_websocket/drafts/Draft_6455.<init>()V\nCHECKCAST org/java_websocket/drafts/Draft\nALOAD 1\nSIPUSH 30000\nINVOKESPECIAL org/java_websocket/client/WebSocketClient.<init>(Ljava/net/URI;Lorg/java_websocket/drafts/Draft;Ljava/util/Map;I)V" |
| 136 | + } |
85 | 137 | ] |
86 | 138 | } |
87 | 139 | } |
0 commit comments