1.0.0
Compatibility
Changes
Demir's Night Vision Mod
A simple Minecraft Fabric mod that adds a toggleable Night Vision effect. Extract the build-gradle-src.zip file to access the Build, Gradle, and src directories. Features
š Toggle Night Vision with the N key
āļø Configurable keybind in Options > Controls > Key Binds
š¬ On-screen notifications when toggling
š® Client-side only - no server required
Requirements
Minecraft 1.21.1
Fabric Loader 0.16.9+
Fabric API
Installation
Install Fabric Loader for Minecraft 1.21.1
Download Fabric API and place it in your mods folder
Download the mod JAR file and place it in your mods folder
Launch Minecraft with the Fabric profile
Usage
Enter a world
Press N to enable Night Vision (you'll see "Night Vision: ON" in green)
Press N again to disable (you'll see "Night Vision: OFF" in red)
Changing the Keybind
Go to Options > Controls > Key Binds
Find "Demir's Night Vision" category
Click on "Toggle Night Vision"
Press your desired key
Building from Source
Clone the repository
git clone hhttps://github.com/demirgitbuh/demirnightvision.git cd nightvisiondemir
Build the mod
./gradlew build
Find the JAR in build/libs/
License
MIT License - feel free to use and modify! Tested only on Minecraft 1.21.11; may not work on other 1.21.x versions.
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:99iWbeVS:k03tajns"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:99iWbeVS:k03tajns"
}

