@Environment(value=CLIENT) public class SpriteIdentifier extends Object
Modifier and Type | Field and Description |
---|---|
private Identifier |
atlas |
private RenderLayer |
layer |
private Identifier |
texture |
Constructor and Description |
---|
SpriteIdentifier(Identifier atlas,
Identifier texture) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Identifier |
getAtlasId() |
RenderLayer |
getRenderLayer(Function<Identifier,RenderLayer> layerFactory) |
Sprite |
getSprite() |
Identifier |
getTextureId() |
VertexConsumer |
getVertexConsumer(VertexConsumerProvider vertexConsumers,
Function<Identifier,RenderLayer> layerFactory) |
int |
hashCode() |
VertexConsumer |
method_30001(VertexConsumerProvider vertexConsumerProvider,
Function<Identifier,RenderLayer> function,
boolean bool) |
String |
toString() |
private final Identifier atlas
private final Identifier texture
@Nullable private RenderLayer layer
public SpriteIdentifier(Identifier atlas, Identifier texture)
public Identifier getAtlasId()
public Identifier getTextureId()
public Sprite getSprite()
public RenderLayer getRenderLayer(Function<Identifier,RenderLayer> layerFactory)
public VertexConsumer getVertexConsumer(VertexConsumerProvider vertexConsumers, Function<Identifier,RenderLayer> layerFactory)
public VertexConsumer method_30001(VertexConsumerProvider vertexConsumerProvider, Function<Identifier,RenderLayer> function, boolean bool)