Skip to content

Commit 5551e1f

Browse files
committed
initial commit
0 parents  commit 5551e1f

17 files changed

Lines changed: 666 additions & 0 deletions

File tree

.gitattributes

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Automatically build the project and run any configured tests for every push
2+
# and submitted pull request. This can help catch issues that only occur on
3+
# certain platforms or Java versions, and provides a first line of defence
4+
# against bad commits.
5+
6+
name: build
7+
on: [pull_request, push]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-24.04
12+
steps:
13+
- name: checkout repository
14+
uses: actions/checkout@v6
15+
- name: validate gradle wrapper
16+
uses: gradle/actions/wrapper-validation@v6
17+
- name: setup jdk
18+
uses: actions/setup-java@v5
19+
with:
20+
java-version: '25'
21+
distribution: 'microsoft'
22+
- name: make gradle wrapper executable
23+
run: chmod +x ./gradlew
24+
- name: build
25+
run: ./gradlew build
26+
- name: capture build artifacts
27+
uses: actions/upload-artifact@v7
28+
with:
29+
name: Artifacts
30+
path: build/libs/

.gitignore

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# gradle
2+
3+
.gradle/
4+
build/
5+
out/
6+
classes/
7+
8+
# eclipse
9+
10+
*.launch
11+
12+
# idea
13+
14+
.idea/
15+
*.iml
16+
*.ipr
17+
*.iws
18+
19+
# vscode
20+
21+
.settings/
22+
.vscode/
23+
bin/
24+
.classpath
25+
.project
26+
27+
# macos
28+
29+
*.DS_Store
30+
31+
# fabric
32+
33+
run/
34+
35+
# java
36+
37+
hs_err_*.log
38+
replay_*.log
39+
*.hprof
40+
*.jfr

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 canon250
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Maxed Vanilla Difficulty
2+
3+
Regional difficulty is a value between 0.00 and 6.75 that the game calculates by considering the world difficulty setting, the inhabited time of a chunk, the total daytime in the world, and the phase of the moon.
4+
5+
The clamped regional difficulty is a value between 0.00 and 1.00 based on regional difficulty.
6+
7+
Both of these values affect the difficulty of gameplay and are core mechanics of the vanilla game.
8+
9+
This mod sets them to their respective maximum value.
10+
11+
---
12+
13+
## Expected Changes
14+
15+
* Zombies are more likely to be able to break wooden doors.
16+
* Phantoms spawn more frequently.
17+
* Spiders can naturally spawn with status effects.
18+
* Lightning strikes are more likely to spawn a skeleton trap horse.
19+
* Burning zombies are more likely to set their target on fire, and the burn duration is longer.
20+
* The Hunger effect caught from being attacked by a husk lasts longer.
21+
* Illusioners can cast blindness.
22+
* Skeletons can shoot flaming arrows.
23+
* Skeletons and zombies are more likely to have the ability to pick up dropped items.
24+
* Zombies are more likely to have a greater follow distance.
25+
* Zombies are more likely to be "leader zombies" (gaining a bonus to max HP, a bonus to the chance to spawn reinforcements, and the ability to break doors).
26+
* Mobs are more likely to spawn with armor.
27+
* Mobs that spawn with weapons are more likely to have enchantments.
28+
* Mobs that spawn with armor are more likely to have enchantments.
29+
* Mobs that spawn with enchanted equipment have higher levels of enchantments.
30+
* Slimes are more likely to be bigger.
31+
* Slimes are more likely to spawn in swamp biomes.
32+
* Illager patrol size will be Regional Difficulty + 1 rounded up.
33+
34+
## Requirements
35+
36+
Fabric Loader only. Fabric API is not needed.
37+
38+
## Setup
39+
40+
Install: place the .jar in your mods folder and launch the game.
41+
42+
Uninstall: delete the .jar file from your mods folder and the worlds will return to normal.

build.gradle

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
plugins {
2+
id 'net.fabricmc.fabric-loom' version "${loom_version}"
3+
id 'maven-publish'
4+
}
5+
6+
repositories {
7+
// Add repositories to retrieve artifacts from in here.
8+
// You should only use this when depending on other mods because
9+
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
10+
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
11+
// for more information about repositories.
12+
}
13+
14+
dependencies {
15+
// To change the versions see the gradle.properties file
16+
minecraft "com.mojang:minecraft:${project.minecraft_version}"
17+
implementation "net.fabricmc:fabric-loader:${project.loader_version}"
18+
}
19+
20+
processResources {
21+
def version = project.version
22+
inputs.property "version", version
23+
24+
filesMatching("fabric.mod.json") {
25+
expand "version": version
26+
}
27+
}
28+
29+
tasks.withType(JavaCompile).configureEach {
30+
it.options.release = 25
31+
}
32+
33+
java {
34+
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
35+
// if it is present.
36+
// If you remove this line, sources will not be generated.
37+
withSourcesJar()
38+
39+
sourceCompatibility = JavaVersion.VERSION_25
40+
targetCompatibility = JavaVersion.VERSION_25
41+
}
42+
43+
jar {
44+
def projectName = project.name
45+
inputs.property "projectName", projectName
46+
47+
from("LICENSE") {
48+
rename { "${it}_$projectName"}
49+
}
50+
}
51+
52+
// configure the maven publication
53+
publishing {
54+
publications {
55+
create("mavenJava", MavenPublication) {
56+
from components.java
57+
}
58+
}
59+
60+
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
61+
repositories {
62+
// Add repositories to publish to here.
63+
// Notice: This block does NOT have the same function as the block in the top level.
64+
// The repositories here will be used for publishing your artifact, not for
65+
// retrieving dependencies.
66+
}
67+
}

gradle.properties

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Done to increase the memory available to gradle.
2+
org.gradle.jvmargs=-Xmx1G
3+
org.gradle.parallel=true
4+
5+
# IntelliJ IDEA is not yet fully compatible with configuration cache, see: https://github.com/FabricMC/fabric-loom/issues/1349
6+
org.gradle.configuration-cache=false
7+
8+
# Fabric Properties
9+
# check these on https://fabricmc.net/develop
10+
minecraft_version=26.2
11+
loader_version=0.19.3
12+
loom_version=1.17-SNAPSHOT
13+
14+
# Mod Properties
15+
version=1.0.0
16+
group=canon250.maxedvanilladifficulty

gradle/wrapper/gradle-wrapper.jar

47.3 KB
Binary file not shown.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
4+
networkTimeout=10000
5+
retries=0
6+
retryBackOffMs=500
7+
validateDistributionUrl=true
8+
zipStoreBase=GRADLE_USER_HOME
9+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)