Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AGENTS

This repository hosts **Identity**, a Minecraft Forge 1.20.1 mod written in Java.
This repository hosts **Identity**, a Minecraft Forge 1.21.1 mod written in Java.

## Coding Guidelines
- Use four spaces for indentation.
Expand All @@ -11,17 +11,17 @@ This repository hosts **Identity**, a Minecraft Forge 1.20.1 mod written in Java
- The project uses Gradle. The wrapper is not included, so use the system `gradle` command.
- Run `gradle build` from the repository root after any changes. This is the current programmatic check. The build may fail if external dependencies cannot be resolved.
- No test suite exists yet.
- Build with **JDK 17**. Ensure the PATH and `java` command reference JDK 17 before running Gradle.
- Build with **JDK 21**. Ensure the PATH and `java` command reference JDK 21 before running Gradle.

## Environment Setup
- Install `apt-utils` to prevent debconf warnings:
```bash
sudo apt-get update && sudo apt-get install -y apt-utils
```
- Install the JDK 17 package if it isn't present:
- Install the JDK 21 package if it isn't present:
```bash
sudo apt-get install -y openjdk-17-jdk
sudo apt-get install -y openjdk-21-jdk
sudo dpkg --configure -a
```
- Set `java` and `javac` to the OpenJDK 17 binaries via `update-alternatives` and ensure they appear first in `PATH` when building.
- Set `java` and `javac` to the OpenJDK 21 binaries via `update-alternatives` and ensure they appear first in `PATH` when building.

15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
# Identity

*Identity* is a mod inspired by [Morph](https://www.curseforge.com/minecraft/mc-mods/morph), built for both Fabric and Forge mod loader.
*Identity* is a Minecraft Forge mod inspired by [Morph](https://www.curseforge.com/minecraft/mc-mods/morph).
This version is actively maintained and updated by me, as the original creator seems to have stepped away from further development.


---

**Versions**:

| | Fabric | Forge |
|--------| ----------- | ----------- |
| 1.20.1 | ✅ | ✅ |
| | Forge |
|--------|-------|
| 1.21.1 | ✅ |

**Required Libraries (1.20.1):**

Fabric => [Architectury API (Fabric)](https://www.curseforge.com/minecraft/mc-mods/architectury-fabric)

Forge => [Architectury API (Forge)](https://www.curseforge.com/minecraft/mc-mods/architectury-forge)
This project targets Minecraft 1.21.1 on Forge and builds using JDK 21.

---

Expand All @@ -39,3 +35,4 @@ To unlock an *Identity*, kill a nearby mob. You'll see a notification above your
### License

Identity is licensed under MIT.

81 changes: 1 addition & 80 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,83 +1,4 @@
plugins {
id 'java-library'
id 'dev.architectury.loom' version '1.7-SNAPSHOT' apply false
id 'architectury-plugin' version '3.4-SNAPSHOT'
id 'com.github.johnrengelman.shadow' version '8.1.1' apply false
id 'base'
}

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

architectury {
minecraft = rootProject.minecraft_version
}

subprojects {
apply plugin: 'dev.architectury.loom'
apply plugin: 'architectury-plugin'
apply plugin: 'maven-publish'

dependencies {
minecraft "com.mojang:minecraft:${rootProject.minecraft_version}"
mappings "net.fabricmc:yarn:${rootProject.yarn_mappings}:v2"


}
}

allprojects {
apply plugin: "java"
apply plugin: "architectury-plugin"
apply plugin: "maven-publish"

java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}

archivesBaseName = rootProject.archives_base_name
version = rootProject.mod_version + "-" + rootProject.minecraft_version
group = rootProject.maven_group

repositories {
// Add repositories to retrieve artifacts from in here.
// You should only use this when depending on other mods because
// Loom adds the essential maven repositories to download Minecraft and libraries from automatically.
// See https://docs.gradle.org/current/userguide/declaring_repositories.html
// for more information about repositories.
maven {
name = "Citadel & Alex's Mobs"
url = "https://dl.cloudsmith.io/public/tslat/systems/maven/"
}
maven {
name = "CurseMaven"
url = "https://cursemaven.com"
}
maven {
url = "https://api.modrinth.com/maven"
}
maven {
name = 'GeckoLib'
url 'https://dl.cloudsmith.io/public/geckolib3/geckolib/maven/'
content {
includeGroupByRegex("software\\.bernie.*")
includeGroup("com.eliotlash.mclib")
}
}
maven { url "https://maven.shedaniel.me/" }
flatDir { dir 'libs' }
}

tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.release = 17
}

java {
withSourcesJar()
}
}
1 change: 0 additions & 1 deletion common/.architectury-transformer/debug.log

This file was deleted.

82 changes: 0 additions & 82 deletions common/build.gradle

This file was deleted.

124 changes: 0 additions & 124 deletions common/src/main/java/draylar/identity/Identity.java

This file was deleted.

Loading