add ESP highlight
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m14s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m14s
This commit is contained in:
parent
309ea94bbb
commit
952dfc158d
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,9 @@ public class ESP extends Feature {
|
|||
return "ESP";
|
||||
}
|
||||
|
||||
@Config("Highlight")
|
||||
public boolean highlight;
|
||||
|
||||
@Config("Entities")
|
||||
public boolean entities;
|
||||
|
||||
|
@ -102,6 +105,11 @@ public class ESP extends Feature {
|
|||
renderer.accept(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos));
|
||||
}
|
||||
}
|
||||
|
||||
if(highlight) {
|
||||
BlockPos pos = mc.objectMouseOver.getBlockPos();
|
||||
RenderAdapter.drawAABBNow(mc.world.getBlockState(pos).getBoundingBox(mc.world, pos).offset(pos));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue