MCFPP icon indicating copy to clipboard operation
MCFPP copied to clipboard

MCFPP is a brand new objected-oriented language that can be compiled into Minecraft Datapack.

Results 12 MCFPP issues
Sort by recently updated
recently updated
newest added

Most of them are not suitable for others or useless.

Re-format code Depends-on: #30

在Linux下路径支持不是很好,会出现'out\xxx'为名称的文件夹, 相对目录也有一些问题 (先开个issue 我再改改

bug

1. mcfpp 要有面向对象和函数式编程的范型思想以及足够书面化却又能让人一眼看出是哪些 nbt 对象的特性。 2. 要有 nbt 数据类型验证,可以为 1.13 以后的版本建立一个数据类型验证库,同时版本差异也会导致数据类型验证有所差异。 3. 考虑到 mcfpp 是用于 Minecraft 数据包编写,而 Minecraft 数据包通常需要频繁调试和修改,建议将 mcfpp 设计为解释型语言,以便更方便地查看效果并进行调试。当然,具体选择还要根据需求和偏好来决定。 有幸在编译领域摸爬滚打四年,记得当初退坑 mc 还是因为 1.13 指令大改… 多年后看到数据包以及 mcf 能做到这么多事情,感到非常振奋。昨天碰巧发现了 mcfpp...

``` func main() { int i = 0; while (i < 5) { print(i); i = i + 1; } } ``` 上述代码编译在MC 1.20.6中会输出一堆0 ![image](https://github.com/MinecraftFunctionPlusPlus/MCFPP/assets/20784591/c5507b0b-6049-4209-9b6b-39f2c5deae92) 若使用dynamic修饰后, 执行后无响应

在编译 `for (int i = 0; i < 5; i++)` 时会报错 将 `i++` 替换为 `i = i+1` 通过编译 可能这部分存在一些问题 ``` func main() { for (int i = 0; i <...

org.gradle.api.plugins.UnknownPluginException: Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.9.20'] was not found in any of the following sources: - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) - Plugin Repositories (could not...

### 描述 生成的数据包函数调用存在错误 ### 复现步骤 1. 创建以下 MCFPP 代码: ```mcfpp # example.mcfpp func foo() -> int{ /say hello world } func hello { foo(); } ``` 2. 编译生成对应的函数文件 ### 期望行为...