public class ModelBox
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
boxName |
float |
posX1 |
float |
posX2 |
float |
posY1 |
float |
posY2 |
float |
posZ1 |
float |
posZ2 |
private TexturedQuad[] |
quadList |
private PositionTextureVertex[] |
vertexPositions |
Constructor and Description |
---|
ModelBox(ModelRenderer renderer,
int texU,
int texV,
float x,
float y,
float z,
int dx,
int dy,
int dz,
float delta) |
ModelBox(ModelRenderer renderer,
int texU,
int texV,
float x,
float y,
float z,
int dx,
int dy,
int dz,
float delta,
boolean mirror) |
Modifier and Type | Method and Description |
---|---|
void |
render(BufferBuilder renderer,
float scale) |
ModelBox |
setBoxName(java.lang.String name) |
private final PositionTextureVertex[] vertexPositions
private final TexturedQuad[] quadList
public final float posX1
public final float posY1
public final float posZ1
public final float posX2
public final float posY2
public final float posZ2
public java.lang.String boxName
public ModelBox(ModelRenderer renderer, int texU, int texV, float x, float y, float z, int dx, int dy, int dz, float delta)
public ModelBox(ModelRenderer renderer, int texU, int texV, float x, float y, float z, int dx, int dy, int dz, float delta, boolean mirror)
public void render(BufferBuilder renderer, float scale)
public ModelBox setBoxName(java.lang.String name)