Skip to content

Commit

Permalink
Merge branch 'legacy/1.12.2' into legacy/1.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Grayray75 committed Sep 22, 2023
2 parents 941c84b + 2d5d4c5 commit 1dfd6f3
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 60 deletions.
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[*]
charset = utf-8
indent_style = space
indent_size = 4
tab_width = 4
insert_final_newline = true
max_line_length = 160

[*.json]
max_line_length = 20

[*.yml]
indent_style = space
indent_size = 2
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ plugins {
id "maven-publish"
}

sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

archivesBaseName = project.archives_base_name
base.archivesName = project.archives_base_name
version = "${project.mod_version}+${project.minecraft_version}"
group = project.maven_group

Expand Down Expand Up @@ -39,6 +36,9 @@ tasks.withType(JavaCompile).configureEach {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8

withSourcesJar()
}

Expand Down Expand Up @@ -67,7 +67,6 @@ modrinth {
versionNumber = "${project.mod_version}"
versionName = "Phosphor-Legacy v${project.mod_version} (1.8.9)"
versionType = "beta"
changelog = "Initial release"

uploadFile = remapJar
gameVersions = ["1.8.9"]
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn_mappings_build=529
loader_version=0.14.22

# Mod Properties
mod_version=0.1.2
mod_version=0.1.3
maven_group=io.grayray75.mods
archives_base_name=phosphor-legacy

Expand Down
58 changes: 29 additions & 29 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"schemaVersion": 1,
"id": "phosphor-legacy",
"version": "${version}",
"name": "Phosphor-Legacy",
"description": "Phosphor is a Minecraft mod aiming to save your CPU cycles and improve performance by optimizing one of Minecraft's most inefficient areas: the lighting engine.",
"authors": [
"JellySquid",
"Grayray75"
],
"contact": {
"homepage": "https://github.com/Grayray75/phosphor-legacy",
"sources": "https://github.com/Grayray75/phosphor-legacy",
"issues": "https://github.com/Grayray75/phosphor-legacy/issues"
},
"license": "LGPL-3.0-only",
"icon": "assets/phosphor-legacy/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"me.jellysquid.mods.phosphor.mod.PhosphorMod"
]
},
"mixins": [
"phosphor.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.0",
"minecraft": "1.8.9"
}
"schemaVersion": 1,
"id": "phosphor-legacy",
"version": "${version}",
"name": "Phosphor-Legacy",
"description": "Phosphor is a Minecraft mod aiming to save your CPU cycles and improve performance by optimizing one of Minecraft's most inefficient areas: the lighting engine.",
"authors": [
"JellySquid",
"Grayray75"
],
"contact": {
"homepage": "https://github.com/Grayray75/phosphor-legacy",
"sources": "https://github.com/Grayray75/phosphor-legacy",
"issues": "https://github.com/Grayray75/phosphor-legacy/issues"
},
"license": "LGPL-3.0-only",
"icon": "assets/phosphor-legacy/icon.png",
"environment": "*",
"entrypoints": {
"main": [
"me.jellysquid.mods.phosphor.mod.PhosphorMod"
]
},
"mixins": [
"phosphor.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.0",
"minecraft": "1.8.9"
}
}
50 changes: 25 additions & 25 deletions src/main/resources/phosphor.mixins.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"required": true,
"minVersion": "0.8",
"package": "me.jellysquid.mods.phosphor.mixins",
"compatibilityLevel": "JAVA_8",
"mixins": [
"common.ChunkDataS2CPacketMixin",
"common.ChunkMixin",
"common.ChunkMixin$Vanilla",
"common.ChunkSectionMixin",
"common.DirectionAccessor",
"common.ServerChunkProviderAccessor",
"common.ServerChunkProviderMixin",
"common.ThreadedAnvilChunkStorageMixin",
"common.WorldMixin"
],
"client": [
"client.MinecraftClientMixin",
"common.ClientChunkProviderAccessor"
],
"injectors": {
"defaultRequire": 1
},
"overwrites": {
"conformVisibility": true
}
"required": true,
"minVersion": "0.8",
"package": "me.jellysquid.mods.phosphor.mixins",
"compatibilityLevel": "JAVA_8",
"mixins": [
"common.ChunkDataS2CPacketMixin",
"common.ChunkMixin",
"common.ChunkMixin$Vanilla",
"common.ChunkSectionMixin",
"common.DirectionAccessor",
"common.ServerChunkProviderAccessor",
"common.ServerChunkProviderMixin",
"common.ThreadedAnvilChunkStorageMixin",
"common.WorldMixin"
],
"client": [
"client.MinecraftClientMixin",
"common.ClientChunkProviderAccessor"
],
"injectors": {
"defaultRequire": 1
},
"overwrites": {
"conformVisibility": true
}
}

0 comments on commit 1dfd6f3

Please sign in to comment.