Skip to content

Commit 631dd1f

Browse files
committed
Fix ATs.
1 parent 6c76fe2 commit 631dd1f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

build.gradle

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(17)
1414

1515
println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
1616

17-
minecraft.accessTransformers.entry 'public net.minecraft.world.entity.item.FallingBlockEntity blockState'
18-
minecraft.accessTransformers.entry 'public net.minecraft.world.level.material.MapColor MATERIAL_COLORS'
17+
minecraft.accessTransformers.file 'src/main/resources/META-INF/accesstransformers.cfg'
1918

2019
runs {
2120
configureEach {
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
public net.minecraft.world.entity.item.FallingBlockEntity blockState
2+
public net.minecraft.world.level.material.MapColor MATERIAL_COLORS

src/main/resources/META-INF/mods.toml

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ credits = "Thanks TobiBenzi for the logo and some textures, Thanks XFactHD for i
1414
authors = "PlatinPython"
1515
displayURL = "https://www.curseforge.com/minecraft/mc-mods/rgb-blocks-forge"
1616

17+
[[accessTransformers]]
18+
file = "META-INF/accesstransformers.cfg"
19+
1720
[[dependencies.rgbblocks]]
1821
modId = "neoforge"
1922
versionRange = "[20.4,)"

0 commit comments

Comments
 (0)