All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Block Counter

Block Counter

by azula • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Note: Versions 1.21.5-11 will look a bit different with Iris as you may notice some flickering when highlighting on blocks. This is expected and may, or may not, be fixed in the future.

Version 2.0.0!

Block Counter 2.0.0 includes the ability to measure lines in the usual single axis-aligned as version 1.0.0, but additionally adds support for dual-axis lines (similar to Terraria's ruler) as well as non-axis-aligned lines! Not only are there new line types, but you now have the ability to "place" these lines in the world to view them as a way of having a guide. For more details, view the screenshots below as well as the Usage. Lastly, there is a new option for displaying all related messages above the hotbar instead of the chat for a cleaner feel, or if your chat is busy.

Join the Discord here!

Block Counter

Block Counter is a client-side mod that allows you to count the number of block in a line selection while visualizing that selection. This mod will work in single player as well as multiplayer servers.

Requirements

  • Fabric API
  • Cloth Config API
  • Mod Menu
    • Optional, but you probably will not like the default settings and will want to change them...

Usage

Video and Details

Watch this video or read below before trying to use the mod since it may seem a bit unintuitive.

Activation

Standing

Upon activation, the block (including air) below the player's feet will become selected. After moving some distance and activating again, the new block below the player's feet will serve as the end point.

Click

Upon activation, the block (including air) the player is looking at within a five block distance will be selected. Moving your crosshair will change the lastly selected block. Activating again will choose that block currently being looked at as the end point.

Line Types

Non-axis-aligned

This acts as a "free-form" line that does not align to a single, or double, axis. It will create a line from the first selected position to the second selected position.

Axis-aligned, single-axis

This is the default line form in which the line is created by the axis of the largest difference between the two points selected.

Axis-aligned, double-axis

This is similar to the previously mentioned line, but with a caviot. Instead of having just one line, there are essentially two lines formed from the two axes that have the largest difference out of the three total from the two selected points. If you are familiar with Terraria's ruler tool, it would be most similar to that. If you are still confused, refer to the screenshots.

Placeable

Lines are now "placeable" in the world. With this option enabled, the line will stay in place after selecting the second position. Additionally, there will be sliders to offset the line in any of the three axes. Just remember, if you alter the offset, it will STAY until you either reset it or turn off the placeable option. I say this in case you go to place a new line and do not see anything, the offset will still be active when placing a line.

Why?

Essentially, I got tired of having to manually count blocks or doing math between coordinates while also wanting to test my programming skills. There is not a real purpose of this mod other than me messing around and wanting to create something that is "Quality of Life".

How to Install Block Counter (Mod)

Block Counter by azula is verified for Fabric across Minecraft versions 1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9 (latest release: 26.3+2.2.0, file size: 52 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.21.10, 1.21.11, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded Block Counter file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
3mo ago 1
26.1.x
Fabric
3mo ago 1
1.21.11
Fabric
3mo ago 1
1.21.10
Fabric
3mo ago 1
1.21.9
Fabric
3mo ago 1
26.2
Fabric
4mo ago 1
26.2
Fabric
5mo ago 1
26.1.x
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
1.21.10
Fabric
10mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.9
Fabric
11mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.4
Fabric
11mo ago 1
1.21.5
Fabric
11mo ago 1
1.21.x
Fabric
11mo ago 1
1.21.10
Fabric
11mo ago 1
1.21.x
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
  • Port to 26.3
  • Compatible with OpenGL, Iris, and Vulkan (Note: Iris only works with OpenGL)
Fixed keybinding creation that caused some keybind mods to not detect Block Counter
Fixed keybinding creation that caused some keybind mods to not detect Block Counter
Fixed keybinding creation that caused some keybind mods to not detect Block Counter
Fixed keybinding creation that caused some keybind mods to not detect Block Counter
Fixed keybinding creation that caused some keybind mods to not detect Block Counter
Release version bump.
No functional changes.
  • Version Bump to 26.2
Note: This version should be compatible with both Vulkan AND OpenGL rendering APIs. Additionally, Iris compatibility is still ensured (although Iris only uses OpenGL now). If you have any issues, reach out via Github or in the Discord server.
Version bump
  • Fixed crash when activating and looking/hitting an entity
  • Port to 26.1
  • Better Iris compatibility to remove flickering.
  • Control category translation key fix
  • Control category label fix
  • Config menu sliders fix
  • Removed external rendering library
  • This shouldn't cause any noticable difference, just smaller file size
  • Iris compatibility
  • Port to 1.21.11
Block Counter Icon
Download Block Counter
Select game version
Select platform