com.parzivail.util.client.screen.blit.BlittableAsset Maven / Gradle / Ivy
package com.parzivail.util.client.screen.blit;
import net.minecraft.class_2960;
import net.minecraft.class_332;
public record BlittableAsset(class_2960 source, int u, int v, int width, int height, int sourceWidth, int sourceHeight) implements IBlittable
{
@Override
public void blit(class_332 context, int destX, int destY)
{
blit(context, destX, destY, width, height);
}
@Override
public void blit(class_332 context, int destX, int destY, int destWidth, int destHeight)
{
context.method_25293(source, destX, destY, destWidth, destHeight, u, v, width, height, sourceWidth, sourceHeight);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy