Skip to content
HypeRatePublic

About

❤️ Real heart rates in Minecraft: a beating heart in the HUD and the HypeBlock that turns your pulse into redstone, powered by HypeRate

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

HypeBlock

Your real heart rate in Minecraft, powered by HypeRate.

Website: minecraft.hyperate.io

A heart of redstone lamps beating with the player's pulse

Install the mod, type /hr <your HypeRate ID> once, and your heart rate appears in the top left corner, beating in time. Place a HypeBlock and it turns your heart rate, or your group's, into a redstone signal: lamps that blink with your pulse, doors that only open when you are calm, traps that go off when the group gets too excited.

The HypeBlock

Crafting: iron ingots in the four corners, redstone on the four sides, a redstone comparator in the middle. It is also in the Redstone Blocks tab in creative mode.

Right-click it to open the settings:

Setting Options
Heart rate Owner only (whoever placed it) or the participants
Group value Average or highest heart rate of the participants
Output Threshold (15 when the rule is met), signal strength (1-15 across a BPM range), heartbeat (a short pulse at the current BPM)
Threshold Above or below a BPM value
Delay The threshold must hold this many seconds before the signal turns on

Players join or leave a HypeBlock themselves with the button in the screen; nobody can sign up someone else. The owner (and server operators) can change the settings and remove participants.

The texture shows the state: grey heart = a needed heart rate is missing (output off), dark red = ready, orange = threshold met, delay running, bright red = signal on. Look at the block to see the state and the current BPM under the crosshair.

If a participant's heart rate goes missing (sensor off, player left), the block turns off its output and starts over once every value is back. The heartbeat output is calculated from the BPM; it does not reproduce the individual measured beats.

What you get

Signal strength: a row of lamps that grows with the pulse Calm door: opens after five calm seconds
Signal strength. The higher the pulse, the more lamps light up. Calm door. Opens only after five seconds below 80 BPM.
HypeBridge: warning lamp over 110 BPM HypeBridge: the bridge opens after five seconds over 110 BPM
HypeBridge. Over 110 BPM the warning lamp goes on ... ... and after five seconds over 110 the bridge opens above the lava.
Command block writing heart rates into the scoreboard sidebar HypeBlock settings screen
For experts. A command block puts every player's BPM into the scoreboard. Settings. Source, group value, output, threshold, delay, participants.

All pictures come from the HypeBlock Showcase sample world (see below).

Requirements

  • Minecraft Java 26.3 with Fabric Loader and Fabric API (the CurseForge app installs both).
  • HypeRate on your smartwatch, phone or chest strap, and your HypeRate ID.
  • Multiplayer: the server needs the mod too. Players without a sensor only need the mod.

Commands

Command What it does
/hr <ID> Connect with your HypeRate ID (saved for next time)
/hr Show the connection status
/hr off Disconnect and forget the ID
/hr fake <bpm> / /hr fake off Test value without a sensor
/hr share on / off Share your heart rate with the server (default: on)
/hr hud on / off / top_left / top_right / bottom_left / bottom_right Heart rate display
/hypeblock list Server: who currently shares a heart rate
/hypeblock bpm <player> That player's BPM as the command result (fails if there is none)
/hypeblock value <x y z> The group BPM a HypeBlock currently uses

For experts: heart rates in commands

The bpm and value commands return the heart rate as their result, so command blocks and data packs can use it:

scoreboard objectives add bpm dummy "Heart rate"
scoreboard objectives setdisplay sidebar bpm
# repeating command block, always active:
execute as @a store result score @s bpm run hypeblock bpm @s
# e.g. give everyone over 130 BPM a short glow:
execute as @a[scores={bpm=130..}] run effect give @s glowing 2 0 true

A HypeBlock also works with a comparator: it reads the same signal the block outputs, so in signal strength mode a comparator chain can compare heart rates.

Settings live in config/hypeblock.json. The server only keeps shared values in memory while you are online.

Sample world

HypeBlock Showcase is a flat creative world with five stations along a walkway, each with a sign: heartbeat heart, signal strength bar, calm door, HypeBridge and the command block scoreboard. Every HypeBlock in it is ownerless and set to "participants": right-click it and press Join. Install it by unpacking the ZIP into your saves folder.

The world is generated by code, so it can be rebuilt after changes (also retakes the pictures):

HYPEBLOCK_SAMPLE_WORLD=1 ./gradlew runClientGameTest

The save lands in build/run/sample-world/HypeBlock Showcase/, the screenshots in build/run/clientGameTest/screenshots/.

Building

Java 25 is required.

export JAVA_HOME=/opt/homebrew/opt/openjdk@25
./gradlew build

The jar lands in build/libs/. Builds need a HypeRate API key to connect: put it into hyperate-api-key.txt in the repository root (git-ignored) or into the environment variable HYPERATE_API_KEY. Without a key the build still works but cannot connect to HypeRate.

./gradlew runClient starts a dev client, ./gradlew runClientGameTest runs the automated in-game test.

Website

site/ is the landing page for https://minecraft.hyperate.io/: one static index.html with assets/, no build step (same setup as among-us.hyperate.io and geometry-dash.hyperate.io), so it can be served as a static site. Preview locally with:

python3 -m http.server 8766 --directory site

English is the text in the page, German lives in the T.de table in the script; keep both in sync. The FAQ is repeated in the JSON-LD, llms.txt and ai/faq.json. Screenshots in site/assets/shots/ are the same as docs/screenshots/; block textures in site/assets/blocks/ come from the mod.

License

MIT, see LICENSE. Minecraft is a game by Mojang Studios; HypeBlock is a fan-made mod and not affiliated with or endorsed by Mojang or Microsoft.

About

❤️ Real heart rates in Minecraft: a beating heart in the HUD and the HypeBlock that turns your pulse into redstone, powered by HypeRate

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages