refactor: remove unnecessary boxing and rename non-ASCII identifiers
- Drop redundant Integer/Long/Boolean/Float/Double.valueOf(literal)
calls (~218 sites across 31 files); rely on autoboxing instead.
One chained Double.valueOf(...).toString() in AimAssist preserved.
- Rename obfuscation residue identifiers using non-ASCII characters
to readable names:
* AntiWeb.Phase.{Đ,Ŀ,Ł} -> {IDLE,PLACING,RECYCLING}
* AutoOffHand.ItemType.{Đ,Ŀ,Ł} -> {SNOWBALL,GAPPLE,NONE}
* FastUse.UseState.{Đ,Ŀ,Ł,ŧ} -> {IDLE,WAITING,SWAPPING,USING}
* BlurFactory.BlurType.{Đ,Ŀ,Ł,ŧ} -> {NORMAL,INNER,OUTER,SOLID}
* Rotation.Đ -> ASSERTIONS_DISABLED
* ESP.Pair.Đ -> of
* KeyBindsHud.KeyBindRow.Đ -> update
Co-Authored-By: Claude Opus 4.7 <[email protected]>
This commit is contained in:
1 parent
41f3d972b8
commit
38a9137691
38 files changed
+139
-141
No files matched your search
@@ -115,7 +115,7 @@ extends Module {
|
||||
RenderUtil.drawOutlineBox(aABB, poseStack);
|
||||
float fuseSeconds = (float)this.targetTnt.getFuse() / 20.0f;
|
||||
if (fuseSeconds > 0.0f) {
|
||||
String fuseLabel = String.format("%.1fs", new Object[]{Float.valueOf(fuseSeconds)});
|
||||
String fuseLabel = String.format("%.1fs", new Object[]{fuseSeconds});
|
||||
BlockPos tntPos = this.targetTnt.blockPosition();
|
||||
poseStack.pushPose();
|
||||
poseStack.translate((double)tntPos.getX() + 0.5 - vec3.x, (double)tntPos.getY() + 1.1 - vec3.y, (double)tntPos.getZ() + 0.5 - vec3.z);
|
||||
|
||||
Reference in new issue
Block a user