Skip to content

Commit

Permalink
Oh The Biomes We've Gone
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph T. McQuigg <[email protected]>
  • Loading branch information
JT122406 committed Jul 28, 2024
0 parents commit 18aa409
Show file tree
Hide file tree
Showing 8,874 changed files with 204,191 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
47 changes: 47 additions & 0 deletions .github/workflows/gradle-publishtomaven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle

name: Gradle Publish to Maven

on:
push:
branches:
- master
- Release

jobs:
gradle:
strategy:
matrix:
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 17
cache: gradle

- name: Store gradle.properties secrets
env:
MAVEN_REPO_PROPERTIES: ${{ secrets.REPO_LOGIN }}
shell: bash
run: |
mkdir -p ~/.gradle/
echo "GRADLE_USER_HOME=${HOME}/.gradle" >> $GITHUB_ENV
echo "${MAVEN_REPO_PROPERTIES}" > ~/.gradle/gradle.properties
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Change wrapper permissions
run: chmod +x ./gradlew

- name: Execute Gradle build and Publish to Maven
run: ./gradlew publish publishAllPublicationsToJTDev-Maven-RepositoryRepository
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
build/
*.ipr
run/
*.iws
out/
*.iml
.gradle/
output/
bin/
libs/

.classpath
.project
.idea/
classes/
.metadata
.vscode
.settings
*.launch

*.cache
*.log
Empty file added CHANGELOG.md
Empty file.
44 changes: 44 additions & 0 deletions Common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
architectury {
common("forge", "fabric")
platformSetupLoomIde()
}

val minecraftVersion = project.properties["minecraft_version"] as String

loom.accessWidenerPath.set(file("src/main/resources/biomeswevegone.accesswidener"))

sourceSets.main.get().resources.srcDir("src/main/generated/resources")

dependencies {
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader
modImplementation("net.fabricmc:fabric-loader:${project.properties["fabric_loader_version"]}")

modCompileOnly("com.github.glitchfiend:TerraBlender-common:$minecraftVersion-${project.properties["terrablender_version"]}")
modCompileOnly("corgitaco.corgilib:corgilib-fabric:$minecraftVersion-${project.properties["corgilib_version"]}")
modCompileOnly("dev.corgitaco:Oh-The-Trees-Youll-Grow-common:$minecraftVersion-${project.properties["ohthetreesyoullgrow_version"]}")
modCompileOnly("software.bernie.geckolib:geckolib-fabric-$minecraftVersion:${project.properties["geckolib_version"]}")

modCompileOnly("mcp.mobius.waila:wthit-api:fabric-${project.properties["WTHIT"]}")
}

publishing {
publications.create<MavenPublication>("mavenCommon") {
artifactId = "${project.properties["archives_base_name"]}" + "-Common"
from(components["java"])
}

repositories {
mavenLocal()
maven {
val releasesRepoUrl = "https://maven.jt-dev.tech/releases"
val snapshotsRepoUrl = "https://maven.jt-dev.tech/snapshots"
url = uri(if (project.version.toString().endsWith("SNAPSHOT") || project.version.toString().startsWith("0")) snapshotsRepoUrl else releasesRepoUrl)
name = "JTDev-Maven-Repository"
credentials {
username = project.properties["repoLogin"]?.toString()
password = project.properties["repoPassword"]?.toString()
}
}
}
}
3 changes: 3 additions & 0 deletions Common/src/main/generated/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# GSON uses LF only, this prevents annoyance on Windows where only EOLs differ
*.json eol=lf
*.zs eol=lf
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/allium_flower_bush"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/allium_petal_block"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/aloe_vera"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/alpine_bellflower"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/amaranth"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/angelica"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"variants": {
"age=0": {
"model": "biomeswevegone:block/apple_fruit_stage0"
},
"age=1": {
"model": "biomeswevegone:block/apple_fruit_stage1"
},
"age=2": {
"model": "biomeswevegone:block/apple_fruit_stage2"
},
"age=3": {
"model": "biomeswevegone:block/apple_fruit_stage3"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/araucaria_leaves"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/araucaria_sapling"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/aspen_bookshelf"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"variants": {
"face=ceiling,facing=east,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"x": 180,
"y": 270
},
"face=ceiling,facing=east,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"x": 180,
"y": 270
},
"face=ceiling,facing=north,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"x": 180,
"y": 180
},
"face=ceiling,facing=north,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"x": 180,
"y": 180
},
"face=ceiling,facing=south,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"x": 180
},
"face=ceiling,facing=south,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"x": 180
},
"face=ceiling,facing=west,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"x": 180,
"y": 90
},
"face=ceiling,facing=west,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"x": 180,
"y": 90
},
"face=floor,facing=east,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"y": 90
},
"face=floor,facing=east,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"y": 90
},
"face=floor,facing=north,powered=false": {
"model": "biomeswevegone:block/aspen_button"
},
"face=floor,facing=north,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed"
},
"face=floor,facing=south,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"y": 180
},
"face=floor,facing=south,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"y": 180
},
"face=floor,facing=west,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"y": 270
},
"face=floor,facing=west,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"y": 270
},
"face=wall,facing=east,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=east,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"uvlock": true,
"x": 90,
"y": 90
},
"face=wall,facing=north,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"uvlock": true,
"x": 90
},
"face=wall,facing=north,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"uvlock": true,
"x": 90
},
"face=wall,facing=south,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=south,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"uvlock": true,
"x": 90,
"y": 180
},
"face=wall,facing=west,powered=false": {
"model": "biomeswevegone:block/aspen_button",
"uvlock": true,
"x": 90,
"y": 270
},
"face=wall,facing=west,powered=true": {
"model": "biomeswevegone:block/aspen_button_pressed",
"uvlock": true,
"x": 90,
"y": 270
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "biomeswevegone:block/aspen_crafting_table"
}
}
}
Loading

0 comments on commit 18aa409

Please sign in to comment.