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

Commit d891443

Browse files
authored
Add access widener for SpawnRestriction.register (#135)
1 parent b2376b9 commit d891443

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

patchwork-registries/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ version = getSubprojectVersion(project, "0.3.0")
44
dependencies {
55
compile project(path: ':patchwork-fml', configuration: 'dev')
66
}
7+
8+
minecraft {
9+
accessWidener "src/main/resources/patchwork-registries.accesswidener"
10+
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"mixins": [
2121
"patchwork-registries.mixins.json"
2222
],
23+
"accessWidener": "patchwork-registries.accesswidener",
2324
"custom": {
2425
"modmenu:api": true,
2526
"modmenu:parent": "patchwork"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
accessWidener v1 named
2+
3+
accessible method net/minecraft/entity/SpawnRestriction register (Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/SpawnRestriction$Location;Lnet/minecraft/world/Heightmap$Type;Lnet/minecraft/entity/SpawnRestriction$class_4306;)V

0 commit comments

Comments
 (0)