- OffsetPoint centerPoint = new OffsetPoint(center)
- .add(0.5, 0.5, 0.5);
- double radius = boundingBox.getRadius();
- if (ConfigManager.renderMobSpawnerSpawnArea.getBoolean()) {
- renderBoundingBox(boundingBox);
- } else {
- renderCuboid(new AxisAlignedBB(center, center).expand(1, 1, 1), color, fill());
+
+ renderCuboid(new OffsetBox(coords, coords), color);
+
+ if (ConfigManager.renderMobSpawnerActivationLines.get()) {
+ renderActivationLine(new OffsetPoint(coords).offset(0.5, 0.5, 0.5));