mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-20 23:41:52 +01:00
Added Common Renderer
This commit is contained in:
parent
96a0623dab
commit
435b0f8266
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ public abstract class BogeyRenderer {
|
|||
this.render(bogeyData, wheelAngle, ms, 0, null, size);
|
||||
}
|
||||
|
||||
@OnlyIn(Dist.CLIENT)
|
||||
public abstract void renderCommon(CompoundTag bogeyData, float wheelAngle, PoseStack ms, int light,
|
||||
@Nullable VertexConsumer vb);
|
||||
|
||||
public static <B extends Transform<?>> void finalize(B b, PoseStack ms, int light, @Nullable VertexConsumer vb) {
|
||||
b.scale(1 - 1/512f);
|
||||
if (b instanceof SuperByteBuffer byteBuf && vb != null)
|
||||
|
|
Loading…
Add table
Reference in a new issue