Implement Minotaur

This commit is contained in:
Andrew-71 2023-08-13 23:09:24 +03:00
parent 3ccd39e51a
commit 2dcf58e405
3 changed files with 35 additions and 37 deletions

41
TODO.md
View file

@ -1,38 +1,17 @@
# Блоки и функционал === Andrew71 agenda (14.08.23) ===
## Высокий приоритет * Minotaur publishing
Это критично прямо сейчас * Set up curse page and make something like minotaur there
* Добавить коричневые, жёлтые, красные и зелёные блоки. * Set up gitea maven
* Сделать datagen для ступеней и полублоков, затем добавить их * Fix GitHub mirror
* Make good README.md stuff
## Средний приоритет === STUFF TO ADD/FIX ===
Нужно до 1.0, но не полностью ломает мод
* Механика окон
* Двери с ключами
* Духовка
## Низкий приоритет
* Терминал
=== ADD BLOCKS/FEATURES ===
* Add brown+yellow+red+green blocks
* Add slab and stair variations * Add slab and stair variations
* Add doors and fences * Add fences
* Add windows * Add windows
* Add (with functionality) present appliance/furniture/electronics textures * 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 * Add achievement criterion for dice and advancements
* PO2 wall (fix)
=== 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.
=== ACHIEVEMENTS === === 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
=== Блоки и функционал ===

View file

@ -1,6 +1,8 @@
plugins { plugins {
id 'fabric-loom' version '1.2-SNAPSHOT' id 'fabric-loom' version '1.2-SNAPSHOT'
id 'maven-publish' id 'maven-publish'
id "com.modrinth.minotaur" version "2.+"
} }
version = project.mod_version version = project.mod_version
@ -79,7 +81,7 @@ jar {
} }
} }
// configure the maven publication // Configure the maven publication
publishing { publishing {
publications { publications {
mavenJava(MavenPublication) { 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. // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories { 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
} }
} }

View file

@ -14,4 +14,7 @@ maven_group=su.a71
mod_id=new_soviet mod_id=new_soviet
# Dependencies # Dependencies
fabric_version=0.83.0+1.20.1 fabric_version=0.83.0+1.20.1
# Modrinth publishing
modrinth_token=tokenhere