Skip to content

1.8.0

Compare
Choose a tag to compare
@jakobkmar jakobkmar released this 30 May 21:14
· 194 commits to main since this release
4ec8449
  • updated to Minecraft 1.19
    • this introduced major changes to Text / Component and commands, but they didn't require fabrikmc to change a lot
  • literalText now returns MutableComponent
  • new argument function inside command builder, which allows to create an ArgumentType from the CommandBuildContext, which gives registryAccess to the command types
  • new player.executeCommand(String) extension (server-side)
  • deprecated coroutineTask and replaced with mcCoroutineTask
    • the new function uses Duration instead of Long for delay and period, and has new scope and client arguments
  • added infiniteMcCoroutineTask function
  • added Entity.directionVector which returns a Vec3 for the exact direction the Entity is currently looking at
  • added Entity.blockPos for more consistent access for mojang mappings users
  • introduced InternalFabrikApi and DelicateFabrikApi annotations which will protect users from wrong use of certain components, but still allows them to do it if they really want
  • make markVelocityDirty more reliable
  • added Int.ticks extension which returns a kotlin.time.Duration for the amount of ticks specified
  • temporarily removed the fabrikmc-compose module, since it will be moved to a separate project
  • added Entity.modifyVelocity(Vec3) extension function
  • added UUID.toNbt() extension function to nbt conversion file
  • added initWithServerSync function which returns a Deferred<T> which will be completed when the server finished startup - this allows to initialize properties depending on the MinecraftServer in classes early