This commit is contained in:
craisinlord committed 2026-10-26 16:52:32 -05:00
1 parent 5a8cb58cb0
commit 8626d205f7
132 files changed
+18 -931

No files matched your search

-4
View File
@@ -38,7 +38,6 @@ base {
archivesName = "${mod_id}-forge-1.20.1"
}
// Handle duplicates from common-1.20.1 in all copy tasks
tasks.withType(AbstractCopyTask).configureEach {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}
@@ -78,9 +77,6 @@ minecraft {
}
}
// Add common-1.20.1's sources directly. Path is relative because forge-1.20.1 is its
// own Gradle build (ForgeGradle 6 can't run on the root's Gradle 9) — there is no
// `:common-1.20.1` project here.
sourceSets {
main {
java {
@@ -13,7 +13,6 @@ import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
/** Protects virtual position calls made before the drone constructor has finished. */
@Pseudo
@Mixin(targets = "me.desht.pneumaticcraft.common.util.fakeplayer.DroneFakePlayer", remap = false)
public abstract class DroneFakePlayerConstructionMixin extends FakePlayer {
@@ -29,8 +28,6 @@ public abstract class DroneFakePlayerConstructionMixin extends FakePlayer {
antarchy$droneConstructionComplete = true;
}
// Explicit Mojmap/SRG selectors: the optional target is unavailable to the
// annotation processor, but its Minecraft overrides are reobfuscated by Forge.
@Inject(method = {"position()Lnet/minecraft/world/phys/Vec3;", "m_20182_()Lnet/minecraft/world/phys/Vec3;"},
at = @At("HEAD"), cancellable = true, remap = false, require = 0)
private void antarchy$positionDuringConstruction(CallbackInfoReturnable<Vec3> cir) {