diff options
author | Ninjune x <enderknight537@gmail.com> | 2022-11-17 16:56:06 -0600 |
---|---|---|
committer | Ninjune x <enderknight537@gmail.com> | 2022-11-17 16:56:06 -0600 |
commit | fb63481d2c5b7b468df6c5ebdee30178bc9155f5 (patch) | |
tree | 3ec467f8acb9594c7b5547426a3b640856dc7e37 /render/bobombOverlay.js | |
parent | 9085ac77ce364572b14f132b64ead5cde2194607 (diff) | |
download | coleweight-fb63481d2c5b7b468df6c5ebdee30178bc9155f5.tar.gz coleweight-fb63481d2c5b7b468df6c5ebdee30178bc9155f5.tar.bz2 coleweight-fb63481d2c5b7b468df6c5ebdee30178bc9155f5.zip |
1.6.0 Changelog in releasesv1.6.1
Diffstat (limited to 'render/bobombOverlay.js')
-rw-r--r-- | render/bobombOverlay.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/render/bobombOverlay.js b/render/bobombOverlay.js new file mode 100644 index 0000000..02526bd --- /dev/null +++ b/render/bobombOverlay.js @@ -0,0 +1,22 @@ +/*import RenderLib from "../../RenderLib/index.js"; +Disabled. +register('renderWorld', () => { + try{ + if(Player.getHeldItem().getItemNBT().getTag('tag').getTag('ExtraAttributes').getTag("id").toString() != `"BOB_OMB"`) return + } catch(e) {return} + + const boxR = 0.3, + boxB = 0.5, + boxG = 0, + boxAlpha = 0.3 + + let x = Math.floor(Player.getX()) + 0.5, + y = Math.floor(Player.getY()) + z = Math.floor(Player.getZ()) + 0.5 + + + + RenderLib.drawInnerEspBox(x, y - 1, z - 8, 1, 1, boxR, boxB, boxG, boxAlpha, true) + RenderLib.drawInnerEspBox(x + 1, y + 1, z - 7, 1, 1, boxR, boxB, boxG, boxAlpha, true) + RenderLib.drawInnerEspBox(x + 1, y + 1, z - 7, 1, 1, boxR, boxB, boxG, boxAlpha, true) +})*/
\ No newline at end of file |