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