Skip to content

Commit

Permalink
Nyan-Work 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendrix-Shen committed Jun 10, 2023
1 parent e8c8f4f commit cafc278
Show file tree
Hide file tree
Showing 13 changed files with 298 additions and 168 deletions.
34 changes: 28 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,31 @@
.gradle
.settings
bin/
# gradle

.gradle/
build/
eclipse/
logs/
out/
classes/

# eclipse

*.launch

# idea

.idea/
*.iml
*.ipr
*.iws

# vscode

.settings/
.vscode/
bin/
.classpath
.project
build.number

# fabric

run/

publish/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# ⚠️This is a third-party port, currently based on old code, so if you find any bugs, please do not report them to Masa.⚠️
Get Malilib from [here](https://github.com/Nyan-Work/malilib/releases/tag/1.20).

Mini HUD
==============
Mini HUD is a tiny client-side mod for Minecraft. that adds the coordinates, looking angle and current speed to the screen.
Expand Down
25 changes: 24 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'fabric-loom' version '1.1-SNAPSHOT'
id 'fabric-loom' version '1.2-SNAPSHOT'
id 'maven-publish'
}

sourceCompatibility = JavaVersion.VERSION_17
Expand All @@ -9,6 +10,7 @@ repositories {
maven { url 'https://masa.dy.fi/maven' }
maven { url 'https://maven.terraformersmc.com/releases/' }
// maven { url 'https://maven.quiltmc.org/repository/release/' }
mavenLocal()
}

dependencies {
Expand Down Expand Up @@ -58,3 +60,24 @@ tasks.withType(JavaCompile).configureEach {
// Minecraft 1.18 (1.18-pre2) upwards uses Java 17.
it.options.release = 17
}

tasks.publish.dependsOn build
publishing {
publications {
mavenJava(MavenPublication) {
artifactId project.archivesBaseName

// add all the jars that should be included when publishing to maven
//artifact(jar) { builtBy remapJar }
from components.java
}
}

repositories {
maven {
url "$projectDir/publish"
}

mavenLocal()
}
}
14 changes: 7 additions & 7 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ author = masa
mod_file_name = minihud-fabric

# Current mod version
mod_version = 0.26.2
mod_version = 0.26.2-nyan.1

# Required malilib version
malilib_version = 0.15.2
malilib_version = 0.15.4-nyan.1

# Minecraft, Fabric and mappings versions
minecraft_version_out = 1.19.4
minecraft_version = 1.19.4
mappings_version = 1.19.4+build.1
minecraft_version_out = 1.20.0
minecraft_version = 1.20
mappings_version = 1.20+build.1

fabric_loader_version = 0.14.17
mod_menu_version = 6.1.0-rc.4
fabric_loader_version = 0.14.21
mod_menu_version = 7.0.0
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 1 addition & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#Mon Aug 22 17:36:22 EDT 2016
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit cafc278

Please sign in to comment.