-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Grant Shotwell edited this page Jul 21, 2020
·
10 revisions
The syntax for MCSharp has been designed to be as close as possible to C# syntax.
Structs represent a set of variables, while classes represent a set of variables within an entity. (Note: classes have not been implemented yet.)
Structs can be made the same way as C# structs.
public struct MyStruct {
...
}
Members (fields, properties, methods) can be defined the same way as C# members.
Many types are built-in to run the various commands Minecraft has.