Tags
Creators
Details
0.10.0+1.21.8
Compatibility
Required content
Changes
0.10.0 adds two observers: the Container Observer shows in Home Assistant what a chest, barrel, furnace or any other container holds, and the Entity Observer reports the entity in front of it, with its type, name, health and more. Both come for every Minecraft version from 1.21 to 26.3 on Fabric and NeoForge. Worlds and config files of 0.9.x load unchanged; the new config key takes its default.
For players
- Container Observer (new block): place it against a chest, barrel, furnace, hopper, shulker box or any other container, and Home Assistant shows how full it is. The fill (in percent) is the device's main sensor, with the items and their counts as attributes (the 64 most numerous kinds); Items, Slots used, Empty and Full come with it. It counts by item id only, so item names and other details stay in the game. It looks into the container twice a second and sends changes at most once a second. Crafted from smooth stone, a comparator and the Network Chip.
- Entity Observer (new block): reports the entity in front of its face to Home Assistant: its type (the main sensor, with details such as its custom name, baby, tamed, armor, sheep colour, villager profession and level, or a dropped item and its count as attributes), whether anything is there and how many, its name, health, maximum health and distance, and a Changed event when another entity becomes the nearest or the last one leaves. It watches the block space in front by default and up to 8 with Range; Detect picks everything, everything but players, or mobs. Its Raw Link sends the full data as JSON (with the entity's raw data, as
/data get entityshows it, without any UUID but the entity's own, player head profiles or book authors, at most 16 KiB), the entity id, the name or the count. A player in front is counted and shown as a player, named only after/mineqtt privacy share fullon a server that shares full data, and never with health, distance, position or raw data. Crafted from smooth stone, two observers, a spyglass and the Network Chip.
For server admins
- With a claim mod, a Container Observer reads a container only in its own claim, or while its owner is online and may open containers there, as the Block Placer does with the container behind it. Otherwise it reports
claimedand nothing the container holds. entityObserver.exportEntityData(new, default on): the Entity Observer's full Raw Link payload carries the entity's raw data, never a player's and never to Home Assistant; with a claim mod only for an entity in the observer's claim. Turn it off to send no raw data.
Known limitations
- Rooms and Home Assistant areas: Home Assistant puts a device into the suggested area of its room only when it first creates the device. A device it already knows keeps its area (or none) when you later make a room around it, so create the room first and then place the devices, or assign the area once in Home Assistant. MineQTT cannot change an existing device's area over MQTT.
Optional dependencies
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:Qqzh0xMO:QH1anTbU"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:Qqzh0xMO:QH1anTbU"
}

