介绍
Z# Language
This mod allows you to code Minecraft mods using Z# made by ZombieOS.
What is Z#?
Z# (pronounced Z Sharp) is an open sourced coding language made by ZombieOS. It has easy to read and learn syntax, with examples on the official GitHub repository.
What can this mod do?
With this mod, you can create blocks, items, entities, recipes, commands, events, and more!
How Do I get Started?
To get started, you will need to add this mod as a dependency in your build.gradle (Gradle) or pom.xml (Maven).
After you do this, you will need to create your Z# project. To do this, you create a new file inside of your projects main directory named project.zsettings. Below is a template for your mod, you can adjust things how you need.
zsharp = type.settings
Project: "Mod Name":
PID: "mod_id":
Version: [1.0.0.0]:
Authors: ["Author1", "Author2"]:
Description: "Mod Description":
ZSharp: [1.4.0.0]: // replace this with whatever version of Z# that the Z# Language mod supports in the build you're using
Dependencies ():
After you make this file, you will create a folder named zsharp inside of your src folder, looking like:
YourMod/
project.zsettings
src/main/zsharp/
MyMod.zsharp
Java, Kotlin, and Z# do not smoothly communicate. This is meant by Z# cannot call functions made by Java or Kotlin, and Kotlin and Java cannot call functions made by Z#.
This mod will stay up to date with the latest versions of Z#. If you want to use versions from Z1 (Z# generation 1), install the v1 series, if you want to use versions from Z2 (Z# generation 2), install the v2 series, and so on.
For Developers
When using Z# to make your mod, we recommend setting the dependency version for this mod minimum of what youre going to be using, and maximum of the next generational update (ex: v1 to v2 (or Z1 to Z2)). Reason for this is small updates (like v1.0.0.0 to 1.0.0.1) do bug fixes and add some new things, whereas generational updates (like Z1 to Z2) change existing syntax a little bit and some of your code might break in between updates. We label everything changed in the Discord between generational updates.
常见问题
Z# Language 支持哪些 Minecraft 版本?
Z# Language 支持 Minecraft Java 版 1.19.3–26.3,共 26 个版本,可用的加载器:Fabric / Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Z# Language 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric / Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
评论
登录后评论和评分