Skip to content

Commit

Permalink
remove unneeded stuff
Browse files Browse the repository at this point in the history
- remove BoxMixin as it's the same with MixinAABB (lmao)
- refactor MixinAABB's loaction
- disable problematic mixins for now
  • Loading branch information
Taiyou06 committed Jul 7, 2024
1 parent a0100cd commit 0dbf375
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 132 deletions.
46 changes: 0 additions & 46 deletions build-logic/src/main/kotlin/mod.base-conventions.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ plugins {

id("io.github.goooler.shadow")
id("io.papermc.paperweight.userdev")
id("com.diffplug.spotless")
id("maven-publish")
}

Expand Down Expand Up @@ -39,48 +38,3 @@ tasks {
dependsOn(reobfJar)
}
}

spotless {
format("misc") {
target(project.files("*.gradle.kts", "gradle.properties", "settings.gradle.kts", "gradle/libs.versions.toml"))

trimTrailingWhitespace()
indentWithSpaces(4)
endWithNewline()
}

java {
licenseHeaderFile("LICENSE_header.txt")
}
}

var jarFile = file("build/libs/%s-%s.jar".format(project.name, project.version))
var jarArtifact = artifacts.add("default", jarFile) {
type = "jar"
builtBy("jar")
}

publishing {
publications {
create<MavenPublication>("mavenJava") {
artifact(jarArtifact)
group = "plugins"
}
}

repositories {
maven {
name = "gensorepo"
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
// url to the releases maven repository
url = uri("https://repo.gensokyoreimagined.net/")
}
}
}

tasks.named("publishMavenJavaPublicationToGensorepoRepository") {
dependsOn("reobfJar")
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
package net.gensokyoreimagined.nitori.mixin;
package net.gensokyoreimagined.nitori.mixin.math.fast_util;

import net.minecraft.core.Direction;
import net.minecraft.world.phys.AABB;
Expand Down
8 changes: 2 additions & 6 deletions src/main/resources/mixins.core.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"server": [
"ChunkMapMixin",
"ChunkMapMixin$TrackedEntity",
"MixinAABB",
"math.fast_util.MixinAABB",
"MixinBlock",
"MixinBlockPos",
"MixinChunkEntitySlices",
Expand All @@ -35,11 +35,7 @@
"util.MixinLevelBlockEntityRetrieval",
"cached_hashcode.BlockNeighborGroupMixin",
"shapes.blockstate_cache.BlockMixin",
"world.inline_height.WorldChunkMixin",
"math.fast_blockops.DirectionMixin",
"math.fast_blockops.BlockPosMixin",
"math.fast_util.AxisCycleDirectionMixin.BackwardMixin",
"math.fast_util.AxisCycleDirectionMixin.ForwardMixin",
"math.fast_util.BoxMixin"
"math.fast_blockops.BlockPosMixin"
]
}

0 comments on commit 0dbf375

Please sign in to comment.