Skip to content

Commit

Permalink
feat: #9 + Modrinth Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
manmaed committed Jun 6, 2024
1 parent 613112b commit ac5d47a
Show file tree
Hide file tree
Showing 75 changed files with 626 additions and 5 deletions.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ publishing {
}

publishMods {
dryRun = providers.environmentVariable("CURSE_DEPLOY").getOrNull() == null
dryRun = (providers.environmentVariable("CURSE_DEPLOY").getOrNull() || providers.environmentVariable("MODRINTH_DEPLOY").getOrNull()) == null
file = remapJar.archiveFile
modLoaders.add("fabric")
type = BETA
Expand All @@ -137,4 +137,12 @@ publishMods {
slug = 'fabric-api'
}
}
modrinth {
accessToken = providers.environmentVariable("MODRINTH_DEPLOY")
projectId = "${modrinth_id}"
minecraftVersions.add("${minecraft_version}")
requires {
slug = 'fabric-api'
}
}
}
10 changes: 6 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ yarn_mappings=build.1
loader_version=0.15.1

# Mod Properties
maven_group = net.manmaed
archives_base_name = antiblocksrechiseled
maven_group = net.manmaed
archives_base_name = antiblocksrechiseled

# Dependencies
fabric_version=0.91.1

#CurseForge Stuff
mod_name=antiblocksrechiseled
mod_name=AntiBlocksReChiseled
mod_version=0.7
curseforge_id=715567
curseforge_releasetype=beta

#Modrinth Stuff
modrinth_id=uLWeFJiL

#Other Mods
modmenu_pid=308702
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/black_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/blue_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/cyan_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/green_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/magenta_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/orange_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/red_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/white_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/bright/yellow_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/blue_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/brown_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/cyan_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/gray_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/green_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/light_blue_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/light_gray_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/lime_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/magenta_border"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "fusion:connecting",
"parent": "antiblocksrechiseled:block/full_bright",
"connections": {
"type": "fusion:or",
"predicates": [
{
"type": "fusion:is_same_block"
}
]
},
"loader": "fusion:model",
"textures": {
"color": "antiblocksrechiseled:block/wool/orange_border"
}
}
Loading

0 comments on commit ac5d47a

Please sign in to comment.