From 2dcf58e405ce7d73ebf1d1276fdb1f65337f688e Mon Sep 17 00:00:00 2001 From: Andrew-71 Date: Sun, 13 Aug 2023 23:09:24 +0300 Subject: [PATCH] Implement Minotaur --- TODO.md | 41 ++++++++++------------------------------- build.gradle | 26 +++++++++++++++++++++----- gradle.properties | 5 ++++- 3 files changed, 35 insertions(+), 37 deletions(-) diff --git a/TODO.md b/TODO.md index 5f2ff0d..34b1548 100644 --- a/TODO.md +++ b/TODO.md @@ -1,38 +1,17 @@ -# Блоки и функционал -## Высокий приоритет -Это критично прямо сейчас -* Добавить коричневые, жёлтые, красные и зелёные блоки. -* Сделать datagen для ступеней и полублоков, затем добавить их +=== Andrew71 agenda (14.08.23) === +* Minotaur publishing +* Set up curse page and make something like minotaur there +* Set up gitea maven +* Fix GitHub mirror +* Make good README.md stuff -## Средний приоритет -Нужно до 1.0, но не полностью ломает мод -* Механика окон -* Двери с ключами -* Духовка - -## Низкий приоритет -* Терминал - - -=== ADD BLOCKS/FEATURES === -* Add brown+yellow+red+green blocks +=== STUFF TO ADD/FIX === * Add slab and stair variations -* Add doors and fences +* Add fences * Add windows * Add (with functionality) present appliance/furniture/electronics textures -* Figure out what to do with "NII wall", nii floor, tilled block * Add achievement criterion for dice and advancements - -=== FIX STUFF === -* PO2 wall -* Crate (likely cheap shulker box with small capacity) - -=== NON-GAME CHANGES === -* Minotaur publishing to modrinth and something similar for curse -* git.a71.su maven -* Good README.md and icon, assets, screenshots etc. +* PO2 wall (fix) === ACHIEVEMENTS === -Kolkhoz warrior - kill a zombie, skeleton, creeper and spider with a sickle - -=== Блоки и функционал === +Kolkhoz warrior - kill a zombie, skeleton, creeper and spider with a sickle \ No newline at end of file diff --git a/build.gradle b/build.gradle index 70c84cb..f6111f4 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,8 @@ plugins { id 'fabric-loom' version '1.2-SNAPSHOT' id 'maven-publish' + + id "com.modrinth.minotaur" version "2.+" } version = project.mod_version @@ -79,7 +81,7 @@ jar { } } -// configure the maven publication +// Configure the maven publication publishing { publications { mavenJava(MavenPublication) { @@ -89,9 +91,23 @@ publishing { // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. repositories { - // Add repositories to publish to here. - // Notice: This block does NOT have the same function as the block in the top level. - // The repositories here will be used for publishing your artifact, not for - // retrieving dependencies. + } +} + +// Publishing to Modrinth +modrinth { + token = System.getenv(modrinth_token) // DO NOT REVEAL THE TOKEN!!! + projectId = mod_id + versionNumber = mod_version + versionType = "beta" // `release`, `beta`, `alpha` + uploadFile = remapJar // With Loom, this MUST be set to `remapJar` instead of `jar`! + gameVersions = ["1.20", "1.20.1"] + loaders = ["fabric"] + dependencies { + // scope.type + // The scope can be `required`, `optional`, `incompatible`, or `embedded` + // The type can either be `project` or `version` + required.project "fabric-api" // Creates a new required dependency on Fabric API +// optional.version "sodium", "mc1.19.3-0.4.8" // Creates a new optional dependency on this specific version of Sodium } } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index ff6c045..ad52bad 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,4 +14,7 @@ maven_group=su.a71 mod_id=new_soviet # Dependencies -fabric_version=0.83.0+1.20.1 \ No newline at end of file +fabric_version=0.83.0+1.20.1 + +# Modrinth publishing +modrinth_token=tokenhere \ No newline at end of file