public class LaserRenderer_BC8
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.client.renderer.vertex.VertexFormat |
FORMAT_ALL |
static net.minecraft.client.renderer.vertex.VertexFormat |
FORMAT_LESS |
| Constructor and Description |
|---|
LaserRenderer_BC8() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearModels() |
static int |
computeLightmap(double x,
double y,
double z,
int minBlockLight) |
static void |
renderLaserDynamic(LaserData_BC8 data,
net.minecraft.client.renderer.BufferBuilder buffer)
Assumes the buffer uses
DefaultVertexFormats.BLOCK |
static void |
renderLaserStatic(LaserData_BC8 data) |
public static final net.minecraft.client.renderer.vertex.VertexFormat FORMAT_LESS
public static final net.minecraft.client.renderer.vertex.VertexFormat FORMAT_ALL
public static void clearModels()
public static int computeLightmap(double x,
double y,
double z,
int minBlockLight)
public static void renderLaserStatic(LaserData_BC8 data)
public static void renderLaserDynamic(LaserData_BC8 data, net.minecraft.client.renderer.BufferBuilder buffer)
DefaultVertexFormats.BLOCK