Skip to content

Commit fdddb75

Browse files
committed
实体类型
范围类型 资源命名空间ID
1 parent 203749f commit fdddb75

File tree

133 files changed

+5254
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+5254
-227
lines changed

src/main/java/top/mcfpp/mni/MCIntData.java

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
11
package top.mcfpp.mni;
22

3-
import kotlin.jvm.functions.Function4;
4-
import org.jetbrains.annotations.NotNull;
53
import top.mcfpp.annotations.MNIRegister;
6-
import top.mcfpp.lang.CanSelectMember;
74
import top.mcfpp.lang.JavaVar;
85
import top.mcfpp.lang.MCInt;
9-
import top.mcfpp.lang.Var;
106
import top.mcfpp.model.function.Function;
11-
import top.mcfpp.model.function.MNIMethodContainer;
127
import top.mcfpp.util.ValueWrapper;
138

14-
import java.util.HashMap;
15-
169
public class MCIntData {
1710

1811
@MNIRegister(caller = "int")
19-
public void test(MCInt caller) {
12+
public static void test(MCInt caller) {
2013
Function.Companion.addCommand("say " + caller);
2114
}
2215

2316
@MNIRegister(normalParams = {"int i"}, caller = "int", returnType = "JavaVar")
24-
public void qwq(MCInt i, MCInt caller, ValueWrapper<JavaVar> re){
17+
public static void qwq(MCInt i, MCInt caller, ValueWrapper<JavaVar> re){
2518
re.setValue(new JavaVar(caller, "qwq"));
2619
Function.Companion.addCommand("say i=" + i);
2720
Function.Companion.addCommand("say this=" + caller);

src/main/java/top/mcfpp/mni/SelectorConcreteData.java

Lines changed: 204 additions & 214 deletions
Large diffs are not rendered by default.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
package top.mcfpp.mni.resource;
4+
5+
import top.mcfpp.annotations.MNIRegister;
6+
7+
public class AdvancementConcreteData {
8+
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
package top.mcfpp.mni.resource;
3+
4+
import top.mcfpp.annotations.MNIRegister;
5+
6+
public class AdvancementData {
7+
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
package top.mcfpp.mni.resource;
4+
5+
import top.mcfpp.annotations.MNIRegister;
6+
7+
public class BiomeConcreteData {
8+
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
package top.mcfpp.mni.resource;
3+
4+
import top.mcfpp.annotations.MNIRegister;
5+
6+
public class BiomeData {
7+
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
package top.mcfpp.mni.resource;
4+
5+
import top.mcfpp.annotations.MNIRegister;
6+
7+
public class BlockConcreteData {
8+
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
package top.mcfpp.mni.resource;
3+
4+
import top.mcfpp.annotations.MNIRegister;
5+
6+
public class BlockData {
7+
8+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
3+
package top.mcfpp.mni.resource;
4+
5+
import top.mcfpp.annotations.MNIRegister;
6+
7+
public class BlockEntityConcreteData {
8+
9+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
package top.mcfpp.mni.resource;
3+
4+
import top.mcfpp.annotations.MNIRegister;
5+
6+
public class BlockEntityData {
7+
8+
}

0 commit comments

Comments
 (0)