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
26 changes: 0 additions & 26 deletions .editorconfig

This file was deleted.

129 changes: 103 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,42 +1,119 @@
# gradle
# User-specific stuff
.idea/

.gradle/
build/
*.iml
*.ipr
*.iws

# IntelliJ
out/
classes/
# mpeltonen/sbt-idea plugin
.idea_modules/

# brachyura
# JIRA plugin
atlassian-ide-plugin.xml

.brachyura/
buildscript/build/
# Compiled class file
*.class

# eclipse
# Log file
*.log

*.launch
# BlueJ files
*.ctxt

# idea
# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

.idea/
*.iml
*.ipr
*.iws
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# vscode
*~

.settings/
.vscode/
bin/
.classpath
.project
# temporary files which can be created if a process still has a handle open of a deleted file
.fuse_hidden*

# macos
# KDE directory preferences
.directory

*.DS_Store
# Linux trash folder which might appear on any partition or disk
.Trash-*

# fabric
# .nfs files are created when an open file is removed but is still being accessed
.nfs*

run/
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# netbeans
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# Dump file
*.stackdump

# Folder config file
[Dd]esktop.ini

# Recycle Bin used on file shares
$RECYCLE.BIN/

# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# Windows shortcuts
*.lnk

.gradle
build/

# Ignore Gradle GUI config
gradle-app.setting

# Cache of project
.gradletasknamecache

**/build/

# Common working directory
run/
runs/

netbeans/
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
!gradle-wrapper.jar
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
MIT License

Copyright (c) 2021 Tyap-Lyap Modding Club!
Copyright (c) 2026 Flechazo

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Binary file removed brachyura-bootstrap-0.jar
Binary file not shown.
45 changes: 0 additions & 45 deletions brachyurabootstrapconf.txt

This file was deleted.

142 changes: 142 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
plugins {
id 'eclipse'
id 'idea'
id 'java-library'
id 'maven-publish'
id 'net.neoforged.moddev.legacyforge' version '2.0.91'
}

group = mod_group_id
version = mod_version

base {
archivesName = "${mod_name}-forge-${minecraft_version}"
}

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

legacyForge {
version = project.minecraft_version + '-' + project.forge_version
//
// parchment {
// mappingsVersion = project.parchment_mappings_version
// minecraftVersion = project.parchment_minecraft_version
// }

runs {
client {
client()

systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
}

server {
server()
programArgument '--nogui'
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
}

gameTestServer {
type = "gameTestServer"
systemProperty 'forge.enabledGameTestNamespaces', project.mod_id
}

data {
data()

programArguments.addAll '--mod', project.mod_id, '--all', '--output', file('src/generated/resources/').getAbsolutePath(), '--existing', file('src/main/resources/').getAbsolutePath()
}

configureEach {
systemProperty 'forge.logging.markers', 'REGISTRIES'
logLevel = org.slf4j.event.Level.DEBUG
}
}

mods {
"${mod_id}" {
sourceSet(sourceSets.main)
}
}
}

mixin {
add sourceSets.main, "${mod_id}.refmap.json"

config "${mod_id}.mixins.json"
}

jar {
manifest.attributes([
"MixinConfigs": "${mod_id}.mixins.json"
])
}

sourceSets.main.resources { srcDir 'src/generated/resources' }

repositories {
maven {
name = "Curse Maven"
url = "https://www.cursemaven.com"
content {
includeGroup "curse.maven"
}
}
maven {
url "https://maven.sighs.cc/repository/maven-releases/"
}
maven {
url "https://maven.sighs.cc/repository/maven-snapshots/"
}
}

dependencies {
annotationProcessor 'org.spongepowered:mixin:0.8.5:processor'

implementation 'org.jetbrains:annotations:24.0.0'

modImplementation ("curse.maven:jei-238222:7920915")
modImplementation ("curse.maven:curios-309927:6418456")
modImplementation 'cc.sighs.oelib:OELib-forge-1.20.1:0.3.0-SNAPSHOT'
}

// This block of code expands all declared replace properties in the specified resource targets.
// A missing property will result in an error. Properties are expanded using ${} Groovy notation.
// When "copyIdeResources" is enabled, this will also run before the game launches in IDE environments.
// See https://docs.gradle.org/current/dsl/org.gradle.language.jvm.tasks.ProcessResources.html
tasks.named('processResources', ProcessResources).configure {
var replaceProperties = [minecraft_version : minecraft_version, minecraft_version_range: minecraft_version_range,
forge_version : forge_version, forge_version_range: forge_version_range,
loader_version_range: loader_version_range,
mod_id : mod_id, mod_name: mod_name, mod_license: mod_license, mod_version: mod_version,
mod_authors : mod_authors, mod_description: mod_description,]

inputs.properties replaceProperties

filesMatching(['META-INF/mods.toml', 'pack.mcmeta']) {
expand replaceProperties + [project: project]
}
}

// Example for how to get properties into the manifest for reading at runtime.
tasks.named('jar', Jar).configure {
manifest {
attributes(["Specification-Title" : mod_id,
"Specification-Vendor" : mod_authors,
"Specification-Version" : "1", // We are version 1 of ourselves
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : mod_authors,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")])
}

// This is the preferred method to reobfuscate your jar file
finalizedBy 'reobfJar'
}

tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8' // Use the UTF-8 charset for Java compilation
}
17 changes: 0 additions & 17 deletions buildscript/buildscript.properties

This file was deleted.

Loading