You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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