Add compatibility notes, resource-provider and hook checks, and payload bundling script. Remove generated engine mixin stubs, engine target lists and prebuilt binaries now produced by the build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
53 lines
1.2 KiB
Java
53 lines
1.2 KiB
Java
package dev.zprestige.prestige.data;
|
|
|
|
import dev.zprestige.prestige.world.MeshBuilder;
|
|
import net.minecraft.client.render.VertexConsumer;
|
|
|
|
public record OutlineCaptureConsumer(MeshBuilder writer) implements VertexConsumer {
|
|
@Override
|
|
public VertexConsumer vertex(float x, float y, float z) {
|
|
this.writer.putVertex(x, y, z);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public VertexConsumer color(int red, int green, int blue, int alpha) {
|
|
this.writer.putColor(-16776961);
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public VertexConsumer color(int argb) {
|
|
this.writer.putColor(-16776961);
|
|
return this;
|
|
}
|
|
|
|
//? if >=1.21.11 {
|
|
@Override
|
|
public VertexConsumer lineWidth(float width) {
|
|
return this;
|
|
}
|
|
|
|
//? }
|
|
@Override
|
|
public VertexConsumer texture(float u, float v) {
|
|
this.writer.putFloats(new float[]{u, v});
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public VertexConsumer overlay(int u, int v) {
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public VertexConsumer light(int u, int v) {
|
|
return this;
|
|
}
|
|
|
|
@Override
|
|
public VertexConsumer normal(float x, float y, float z) {
|
|
return this;
|
|
}
|
|
}
|