(PoseStack stack, IPlayerContext ctx, Goal goal, float partialTicks, Color color)
| 216 | } |
| 217 | |
| 218 | public static void drawGoal(PoseStack stack, IPlayerContext ctx, Goal goal, float partialTicks, Color color) { |
| 219 | drawGoal(null, stack, ctx, goal, partialTicks, color, true); |
| 220 | } |
| 221 | |
| 222 | private static void drawGoal(@Nullable BufferBuilder bufferBuilder, PoseStack stack, IPlayerContext ctx, Goal goal, float partialTicks, Color color, boolean setupRender) { |
| 223 | if (!setupRender && bufferBuilder == null) { |
no test coverage detected