2 package com.irtimaled.bbor.client.renderers;
4 import com.irtimaled.bbor.client.models.BoundingBoxFlowerForest;
5 import com.irtimaled.bbor.common.models.Coords;
6 import net.minecraft.client.util.math.MatrixStack;
8 public class FlowerForestRenderer extends AbstractRenderer<BoundingBoxFlowerForest> {
10 public void render(MatrixStack matrixStack, BoundingBoxFlowerForest boundingBox) {
11 Coords coords = boundingBox.getCoords();
12 int x = coords.getX();
13 int y = coords.getY();
14 int z = coords.getZ();
15 renderCuboid(matrixStack, new OffsetBox(new OffsetPoint(x, y + 0.01d, z),
16 new OffsetPoint(x + 1, y + 0.01d, z + 1)),
17 boundingBox.getColor(), true, 127);