Skip to content
This repository has been archived by the owner on Apr 22, 2021. It is now read-only.

Update HoleESP.java #113

Closed
wants to merge 1 commit into from
Closed

Update HoleESP.java #113

wants to merge 1 commit into from

Conversation

chell-dev
Copy link
Contributor

Settings to change color and opacity

Customizable color and opacity
@5HT2 5HT2 mentioned this pull request Nov 23, 2019
Copy link
Contributor

@Deauthorized Deauthorized left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

epic

Copy link
Contributor

@x4e x4e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤥

@Crystallinqq

This comment has been minimized.

@5HT2 5HT2 added this to the v1.1.0 milestone Nov 27, 2019
@5HT2 5HT2 mentioned this pull request Nov 28, 2019
20 tasks
@5HT2
Copy link
Member

5HT2 commented Nov 30, 2019

I did this better with my own implementation, but thanks for the pull, I appreciate it.

    public void onWorldRender(RenderEvent event) {
        int colorObby = (a.getValue() & 0xff) << 24 | (r.getValue() & 0xff) << 16 | (g.getValue() & 0xff) << 8 | (b.getValue() & 0xff);
        int colorBedr = (a2.getValue() & 0xff) << 24 | (r2.getValue() & 0xff) << 16 | (g2.getValue() & 0xff) << 8 | (b2.getValue() & 0xff);

        KamiTessellator.prepare(GL11.GL_QUADS);
        this.holesObby.forEach(blockPos -> KamiTessellator.drawBox((BlockPos) blockPos, colorObby, GeometryMasks.Quad.ALL));
        this.holesBedr.forEach(blockPos -> KamiTessellator.drawBox((BlockPos) blockPos, colorBedr, GeometryMasks.Quad.ALL));
        KamiTessellator.release();
    }

This is what I'm using now

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants