public class WorldRenderer
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| class  | WorldRenderer.State | 
| Modifier and Type | Field and Description | 
|---|---|
| private java.nio.ByteBuffer | byteBuffer | 
| private int | drawMode | 
| private java.nio.ShortBuffer | field_181676_c | 
| private VertexFormatElement | field_181677_f | 
| private int | field_181678_g | 
| private boolean | isDrawing | 
| private boolean | needsUpdateBoolean for whether this renderer needs to be updated or not | 
| private java.nio.FloatBuffer | rawFloatBuffer | 
| private java.nio.IntBuffer | rawIntBuffer | 
| private int | vertexCount | 
| private VertexFormat | vertexFormat | 
| private double | xOffset | 
| private double | yOffset | 
| private double | zOffset | 
| Constructor and Description | 
|---|
| WorldRenderer(int bufferSizeIn) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addVertexData(int[] vertexData) | 
| void | begin(int p_181668_1_,
     VertexFormat p_181668_2_) | 
| WorldRenderer | color(float p_181666_1_,
     float p_181666_2_,
     float p_181666_3_,
     float p_181666_4_) | 
| WorldRenderer | color(int p_181669_1_,
     int p_181669_2_,
     int p_181669_3_,
     int p_181669_4_) | 
| void | endVertex() | 
| void | finishDrawing() | 
| private int | func_181664_j() | 
| private static float | func_181665_a(java.nio.FloatBuffer p_181665_0_,
             float p_181665_1_,
             float p_181665_2_,
             float p_181665_3_,
             int p_181665_4_,
             int p_181665_5_) | 
| private void | func_181667_k() | 
| private void | func_181670_b(int p_181670_1_) | 
| WorldRenderer.State | func_181672_a() | 
| void | func_181674_a(float p_181674_1_,
             float p_181674_2_,
             float p_181674_3_) | 
| java.nio.ByteBuffer | getByteBuffer() | 
| private int | getColorIndex(int p_78909_1_)Takes in the pass the call list is being requested for. | 
| int | getDrawMode() | 
| int | getVertexCount() | 
| VertexFormat | getVertexFormat() | 
| WorldRenderer | lightmap(int p_181671_1_,
        int p_181671_2_) | 
| void | markDirty()Marks the current renderer data as dirty and needing to be updated. | 
| WorldRenderer | normal(float p_181663_1_,
      float p_181663_2_,
      float p_181663_3_) | 
| WorldRenderer | pos(double p_181662_1_,
   double p_181662_3_,
   double p_181662_5_) | 
| void | putBrightness4(int p_178962_1_,
              int p_178962_2_,
              int p_178962_3_,
              int p_178962_4_) | 
| private void | putColor(int argb,
        int p_178988_2_) | 
| void | putColor4(int argb) | 
| void | putColorMultiplier(float red,
                  float green,
                  float blue,
                  int p_178978_4_) | 
| void | putColorRGB_F(float red,
             float green,
             float blue,
             int p_178994_4_) | 
| void | putColorRGB_F4(float red,
              float green,
              float blue) | 
| private void | putColorRGBA(int index,
            int red,
            int p_178972_3_,
            int p_178972_4_,
            int p_178972_5_) | 
| void | putNormal(float x,
         float y,
         float z) | 
| void | putPosition(double x,
           double y,
           double z) | 
| void | reset() | 
| void | setTranslation(double x,
              double y,
              double z) | 
| void | setVertexState(WorldRenderer.State state) | 
| WorldRenderer | tex(double p_181673_1_,
   double p_181673_3_) | 
private java.nio.ByteBuffer byteBuffer
private java.nio.IntBuffer rawIntBuffer
private java.nio.ShortBuffer field_181676_c
private java.nio.FloatBuffer rawFloatBuffer
private int vertexCount
private VertexFormatElement field_181677_f
private int field_181678_g
private boolean needsUpdate
private int drawMode
private double xOffset
private double yOffset
private double zOffset
private VertexFormat vertexFormat
private boolean isDrawing
private void func_181670_b(int p_181670_1_)
public void func_181674_a(float p_181674_1_,
                          float p_181674_2_,
                          float p_181674_3_)
public WorldRenderer.State func_181672_a()
private int func_181664_j()
private static float func_181665_a(java.nio.FloatBuffer p_181665_0_,
                                   float p_181665_1_,
                                   float p_181665_2_,
                                   float p_181665_3_,
                                   int p_181665_4_,
                                   int p_181665_5_)
public void setVertexState(WorldRenderer.State state)
public void reset()
public void begin(int p_181668_1_,
                  VertexFormat p_181668_2_)
public WorldRenderer tex(double p_181673_1_, double p_181673_3_)
public WorldRenderer lightmap(int p_181671_1_, int p_181671_2_)
public void putBrightness4(int p_178962_1_,
                           int p_178962_2_,
                           int p_178962_3_,
                           int p_178962_4_)
public void putPosition(double x,
                        double y,
                        double z)
private int getColorIndex(int p_78909_1_)
public void putColorMultiplier(float red,
                               float green,
                               float blue,
                               int p_178978_4_)
private void putColor(int argb,
                      int p_178988_2_)
public void putColorRGB_F(float red,
                          float green,
                          float blue,
                          int p_178994_4_)
private void putColorRGBA(int index,
                          int red,
                          int p_178972_3_,
                          int p_178972_4_,
                          int p_178972_5_)
public void markDirty()
public WorldRenderer color(float p_181666_1_, float p_181666_2_, float p_181666_3_, float p_181666_4_)
public WorldRenderer color(int p_181669_1_, int p_181669_2_, int p_181669_3_, int p_181669_4_)
public void addVertexData(int[] vertexData)
public void endVertex()
public WorldRenderer pos(double p_181662_1_, double p_181662_3_, double p_181662_5_)
public void putNormal(float x,
                      float y,
                      float z)
private void func_181667_k()
public WorldRenderer normal(float p_181663_1_, float p_181663_2_, float p_181663_3_)
public void setTranslation(double x,
                           double y,
                           double z)
public void finishDrawing()
public java.nio.ByteBuffer getByteBuffer()
public VertexFormat getVertexFormat()
public int getVertexCount()
public int getDrawMode()
public void putColor4(int argb)
public void putColorRGB_F4(float red,
                           float green,
                           float blue)