Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 94d0092

Browse files
authored
Publicized MinecraftClient#textureManager (#190)
* Added the `patchwork-access-modifications` module and publicized `MinecraftClient#textureManager`. * Fixed requested changes * Moved Access Widener to patchwork-fml. Didn't bump the version * Fixed
1 parent 1c8fd2a commit 94d0092

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

patchwork-fml/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
archivesBaseName = "patchwork-fml"
22
version = getSubprojectVersion(project, "0.4.0")
33

4+
loom {
5+
accessWidener "src/main/resources/patchwork-fml.accesswidener"
6+
}
7+
48
dependencies {
59
implementation 'com.electronwill.night-config:toml:3.6.2'
610

patchwork-fml/src/main/resources/fabric.mod.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,6 @@
2424
"custom": {
2525
"modmenu:api": true,
2626
"modmenu:parent": "patchwork"
27-
}
27+
},
28+
"accessWidener": "patchwork-fml.accesswidener"
2829
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
accessWidener v1 named
2+
accessible field net/minecraft/client/MinecraftClient textureManager Lnet/minecraft/client/texture/TextureManager;

0 commit comments

Comments
 (0)