mojang mapped vanilla goals

This commit is contained in:
MiniDigger | Martin
2021-06-16 01:24:22 +02:00
parent 11e98528e9
commit e3fac1cbe3
2 changed files with 224 additions and 147 deletions

View File

@@ -964,7 +964,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+public class VanillaMobGoalTest {
+
+ /* TODO: FIX THIS
+ @Test
+ public void testKeys() {
+ List<GoalKey<?>> deprecated = new ArrayList<>();
@@ -1024,7 +1023,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ if (shouldFail) Assert.fail("See above");
+ }
+ */
+
+ private static boolean hasNoEnclosingClass(Class<?> clazz) {
+ return clazz.getEnclosingClass() == null || hasNoEnclosingClass(clazz.getSuperclass());