Skip to content

Commit

Permalink
switch to our own maven repo so we can use Gaming32/bingo#18
Browse files Browse the repository at this point in the history
  • Loading branch information
RasmusAntons committed May 25, 2024
1 parent f6d510a commit ba5e474
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ repositories {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
maven {
name = "3po"
url = "https://mvn.3po.ch/maven"
}
}

dependencies {
Expand All @@ -33,7 +37,7 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"

modImplementation "maven.modrinth:bingo-mod:1.1.8+fabric"
modImplementation "io.github.gaming32:bingo:1.1.8+enigmatics+fabric"
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ public String getName() {
}

private void addDifficulties(Consumer<BingoDifficulty.Holder> difficultyAdder) {
difficultyAdder.accept(BingoDifficulty.builder(EnigmaticsDifficultyGoalProvider.ENIGMATICS).number(5).build());
difficultyAdder.accept(BingoDifficulty.builder(EnigmaticsDifficultyGoalProvider.ENIGMATICS)
.number(5)
.distribution(0, 0, 0, 0, 0, 25)
.build());
}
}

0 comments on commit ba5e474

Please sign in to comment.