Update to 1.20.4

This commit is contained in:
Jonathan Coates committed 2024-01-31 20:55:14 +00:00
1 parent f26e443e81
commit fc834cd97f
217 files changed
+2303 -3027

No files matched your search

@@ -93,7 +93,7 @@ internal class SideProvider {
private fun fromAnnotationStream(annotations: Stream<out AnnotationMirror>) =
annotations.flatMap {
when (it.annotationType.toString()) {
"net.minecraftforge.api.distmarker.OnlyIn" -> {
"net.neoforged.api.distmarker.OnlyIn" -> {
val value = it.getValue("value", AnnotationGetters.enum<Side>())!!
Stream.of(value)
}
@@ -4,8 +4,8 @@
package cc.tweaked.linter;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
import net.neoforged.api.distmarker.Dist;
import net.neoforged.api.distmarker.OnlyIn;
@OnlyIn(Dist.CLIENT)
public class AnnotatedClientClass {