No description
Find a file
2025-09-19 07:17:54 +02:00
gradle/wrapper init 2025-09-14 22:21:47 +02:00
sanetests custom testing framework 2025-09-17 21:57:26 +02:00
src/main fix PNP breaking 2025-09-18 22:01:57 +02:00
.gitignore init 2025-09-14 22:21:47 +02:00
build.gradle.kts wip multiblocks 2025-09-17 23:44:05 +02:00
gradle.properties wip multiblocks 2025-09-17 23:44:05 +02:00
LICENSE.txt change license (from this commit on) 2025-09-15 07:39:50 +02:00
README.md DUDE WTF WHY IS Y NOT UP??? WTF IS HAPPENING 2025-09-18 15:55:21 +02:00
settings.gradle.kts custom testing framework 2025-09-17 21:57:26 +02:00

Development

JVM 21 for gradle, but can use JVM 17 for building

Code Conventions

  • don't use external libraries for things we can easily do ourselves
  • try to keep code that will probably have to be modified in a minecraft update, in one place
  • write as much code as possible in kotlin
  • use "standard" Kotlin code conventions
  • remember that kotlin files can contain multiple classes, so DONT CREATE 200 FILES FOR ONE FEATURE

Performance:

  • use packed data types: Vec3s, Aabb3s, ... wherever possible
  • use blitz RefVec<T> over List<T>

Mixins:

  • give mixins either descriptive names, or put them into a descriptive package
  • create separate mixin classes for separate features, even if they mixin into the same class

Also:

  • make the code JVM 17 compatible.
  • release builds have to use JVM 17