Search in sources :

Example 1 with VertexBuffer

use of net.minecraft.client.gl.VertexBuffer in project EdenClient by HahaOO7.

the class EntityEsp method build.

private void build() {
    wireframeBox = new VertexBuffer();
    Box bb = new Box(-0.5, 0, -0.5, 0.5, 1, 0.5);
    RenderUtils.drawOutlinedBox(bb, wireframeBox);
    solidBox = new VertexBuffer();
    RenderUtils.drawSolidBox(bb, solidBox);
}
Also used : VertexBuffer(net.minecraft.client.gl.VertexBuffer) Box(net.minecraft.util.math.Box)

Example 2 with VertexBuffer

use of net.minecraft.client.gl.VertexBuffer in project EdenClient by HahaOO7.

the class HeadHunt method build.

private void build() {
    foundHeads.clear();
    enabled = false;
    wireframeBox = new VertexBuffer();
    Box bb = new Box(0, 0, 0, 1, 1, 1);
    RenderUtils.drawOutlinedBox(bb, wireframeBox);
}
Also used : VertexBuffer(net.minecraft.client.gl.VertexBuffer)

Example 3 with VertexBuffer

use of net.minecraft.client.gl.VertexBuffer in project EdenClient by HahaOO7.

the class CubeRenderer method build.

private void build() {
    box = new VertexBuffer();
    Box bb = new Box(-0.5, -0.5, -0.5, 0.5, 0.5, 0.5);
    RenderUtils.drawOutlinedBox(bb, box);
}
Also used : VertexBuffer(net.minecraft.client.gl.VertexBuffer) Box(net.minecraft.util.math.Box)

Example 4 with VertexBuffer

use of net.minecraft.client.gl.VertexBuffer in project EdenClient by HahaOO7.

the class TileEntityEsp method build.

private void build() {
    wireframeBox = new VertexBuffer();
    Box bb = new Box(0, 0, 0, 1, 1, 1);
    RenderUtils.drawOutlinedBox(bb, wireframeBox);
}
Also used : VertexBuffer(net.minecraft.client.gl.VertexBuffer)

Example 5 with VertexBuffer

use of net.minecraft.client.gl.VertexBuffer in project EdenClient by HahaOO7.

the class GetTo method build.

private void build() {
    vb = new VertexBuffer();
    Box bb = new Box(0, 0, 0, 1, 1, 1);
    RenderUtils.drawOutlinedBox(bb, vb);
}
Also used : VertexBuffer(net.minecraft.client.gl.VertexBuffer)

Aggregations

VertexBuffer (net.minecraft.client.gl.VertexBuffer)8 Box (net.minecraft.util.math.Box)3 BufferBuilder (net.minecraft.client.render.BufferBuilder)1 GameRenderer (net.minecraft.client.render.GameRenderer)1 Tessellator (net.minecraft.client.render.Tessellator)1 Entry (net.minecraft.client.util.math.MatrixStack.Entry)1 Vec3d (net.minecraft.util.math.Vec3d)1 Inject (org.spongepowered.asm.mixin.injection.Inject)1