added show_entities option
@@ -186,6 +186,12 @@ public class Markers extends ToggleMod implements BlockModelRenderListener {
.defaultTo(0)
.build();
+ public final Setting<Boolean> show_entities = getCommandStub().builders().<Boolean>newSettingBuilder()
+ .name("show_entities")
+ .description("Mark entities that contain blocks, such as mine carts.")
+ .defaultTo(true)
+ .build();
+
public Markers() {
super(Category.RENDER, "Markers", false, "Renders a box around a block");
}
@@ -591,6 +597,7 @@ public class Markers extends ToggleMod implements BlockModelRenderListener {
//
//
+ if(show_entities.get()) {
// draw markers around entities that have blocks inside them
GlStateManager.pushMatrix();
@@ -639,6 +646,7 @@ public class Markers extends ToggleMod implements BlockModelRenderListener {
GL11.glDisable(GL11.GL_LINE_SMOOTH);
GlStateManager.popMatrix();
+ }
//
//
