Package net.minecraft.client.renderer
Class SpriteAwareVertexBuilder
- java.lang.Object
-
- net.minecraft.client.renderer.SpriteAwareVertexBuilder
-
- All Implemented Interfaces:
IVertexBuilder
,IForgeVertexBuilder
public class SpriteAwareVertexBuilder extends java.lang.Object implements IVertexBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private IVertexBuilder
delegate
private TextureAtlasSprite
sprite
-
Fields inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
LOGGER
-
-
Constructor Summary
Constructors Constructor Description SpriteAwareVertexBuilder(IVertexBuilder p_i225999_1_, TextureAtlasSprite p_i225999_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IVertexBuilder
color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
void
endVertex()
IVertexBuilder
normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
IVertexBuilder
overlayCoords(int p_225585_1_, int p_225585_2_)
IVertexBuilder
uv(float p_225583_1_, float p_225583_2_)
IVertexBuilder
uv2(int p_225587_1_, int p_225587_2_)
IVertexBuilder
vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
void
vertex(float p_225588_1_, float p_225588_2_, float p_225588_3_, float p_225588_4_, float p_225588_5_, float p_225588_6_, float p_225588_7_, float p_225588_8_, float p_225588_9_, int p_225588_10_, int p_225588_11_, float p_225588_12_, float p_225588_13_, float p_225588_14_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeVertexBuilder
addVertexData, addVertexData, addVertexData, addVertexData, applyBakedLighting, applyBakedNormals, getVertexBuilder
-
Methods inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
color, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex
-
-
-
-
Field Detail
-
delegate
private final IVertexBuilder delegate
-
sprite
private final TextureAtlasSprite sprite
-
-
Constructor Detail
-
SpriteAwareVertexBuilder
public SpriteAwareVertexBuilder(IVertexBuilder p_i225999_1_, TextureAtlasSprite p_i225999_2_)
-
-
Method Detail
-
vertex
public IVertexBuilder vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
- Specified by:
vertex
in interfaceIVertexBuilder
-
color
public IVertexBuilder color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
- Specified by:
color
in interfaceIVertexBuilder
-
uv
public IVertexBuilder uv(float p_225583_1_, float p_225583_2_)
- Specified by:
uv
in interfaceIVertexBuilder
-
overlayCoords
public IVertexBuilder overlayCoords(int p_225585_1_, int p_225585_2_)
- Specified by:
overlayCoords
in interfaceIVertexBuilder
-
uv2
public IVertexBuilder uv2(int p_225587_1_, int p_225587_2_)
- Specified by:
uv2
in interfaceIVertexBuilder
-
normal
public IVertexBuilder normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
- Specified by:
normal
in interfaceIVertexBuilder
-
endVertex
public void endVertex()
- Specified by:
endVertex
in interfaceIVertexBuilder
-
vertex
public void vertex(float p_225588_1_, float p_225588_2_, float p_225588_3_, float p_225588_4_, float p_225588_5_, float p_225588_6_, float p_225588_7_, float p_225588_8_, float p_225588_9_, int p_225588_10_, int p_225588_11_, float p_225588_12_, float p_225588_13_, float p_225588_14_)
- Specified by:
vertex
in interfaceIVertexBuilder
-
-