aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author alemi <me@alemi.dev>2023-02-13 18:26:00 +0100
committer alemi <me@alemi.dev>2023-02-13 18:26:00 +0100
commit4869fcb698a46a528331bd8d6348b4c18dab490b (patch)
treee877affa213e64439035126fc2637c132da0361c
parent4a4224042df69235b8871239056b12834344349f (diff)
chore!: added Access Transformers (rebuild env!)
-rw-r--r--build.gradle1
-rw-r--r--src/main/resources/META-INF/accesstransformer.cfg1
2 files changed, 2 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index c1514cb..8f73289 100644
--- a/build.gradle
+++ b/build.gradle
@@ -43,6 +43,7 @@ println('Java: ' + System.getProperty('java.version') + ' JVM: ' + System.getPro
minecraft {
mappings channel: 'official', version: minecraftVersion
+ accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
runs {
client {
workingDirectory project.file('run')
diff --git a/src/main/resources/META-INF/accesstransformer.cfg b/src/main/resources/META-INF/accesstransformer.cfg
new file mode 100644
index 0000000..42c84e2
--- /dev/null
+++ b/src/main/resources/META-INF/accesstransformer.cfg
@@ -0,0 +1 @@
+public net.minecraft.client.network.play.NetworkPlayerInfo field_178866_b