Links
Tags
Creators
Details
Licensed MIT
Published last year
Updated last month
All versions
0.3
Beta
chrissi's Night Vision v0.311 months ago 18.2K
Compatibility
Minecraft: Java Edition
1.21.9–1.21.11
Platform
Fabric
Supported environments
Client-side
Required content
Any compatible version
Changes
Added
- Configuration system via JSON file (
config/chrissi-night-vision.json)resetOnDeath: Choose whether night vision resets on death (default: false)playSound: Toggle sound feedback on activation/deactivation (default: false)showStatusEffect: Control visibility of status effect icon and particles (default: true)persistState: Enable state persistence across world/server switches (default: true)lastEnabledState: Internal flag tracking last known state (default: false)
- State persistence system
- Night vision state now persists when switching worlds or servers
- State is saved when closing Minecraft and restored on next launch
- Automatically reapplies effect when rejoining if previously enabled
- Sound feedback (optional, disabled by default)
- High-pitched note block sound on activation
- Low-pitched bass sound on deactivation
- Configurable via
playSoundsetting
Changed
- Night vision no longer resets on death by default (configurable)
- Optimized codebase: Reduced total code by ~20%
- Updated License
Fixed
- State no longer incorrectly resets to OFF when switching worlds/servers
- Effect is now automatically reapplied after world join if persistence is enabled
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:um3io6U4:1H2BARvw"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:um3io6U4:1H2BARvw"
}

