Skip to content

Releases: SilkMC/silk

1.7.2

28 Feb 17:52
e855ea7
Compare
Choose a tag to compare

fabrikmc 1.7.2

  • compatiblity with Minecraft 1.18.2
  • logging now uses com.mojang.logging
  • internal: project switched to mojang mappings - due to some remapping issues which need to be fixed in fabric-loom there might be issues with this release when used with yarn mappings

1.7.1

18 Jan 00:52
b99d820
Compare
Choose a tag to compare

fabrikmc 1.7.1

  • added fabrikmc-compose (currently server-side only, client-side will follow) which allows you to use compose for creating guis in Minecraft
  • fixed scrolling for compose gui
  • provide composable for all Minecraft icons, McImage function and McIcons object
  • added more requires functions to command builder
  • the command builder now allows multiple requires and runs functions and merges them
  • added c2c packet to fabrikmc-network

1.5.1

16 Oct 14:50
8dedb31
Compare
Choose a tag to compare

fabrikmc 1.5.1

New network module
The network module (currently) allows you to send any serializable class as custom packets. This makes custom packets easy to use, but fast to serialize (using kotlinx.serialization) at the same time.
See https://jakobkmar.github.io/fabrikmc/fabrikmc-network/index.html fore more details.

Other

  • the register parameter of clientCommand is now set to true by default
  • fabric-language-kotlin 1.6.0+kotlin.1.5.0 or higher is now required for this mod

1.5.0

25 Sep 14:57
bcfbba6
Compare
Choose a tag to compare

fabrikmc 1.5.0

  • new circle and sphere generators
    • filled and hollow circle
    • fast thanks to rasterization
  • general and safe changePos function for entities
  • touchedBlock and touchedBlockNoAir value for entities
  • posUnder value for entities
  • logger() function as a shortcut for LogManager.getLogger()
  • new component operator functions for Minecraft vector classes for destructuring
  • added mcClientCoroutineDispatcher for execution on the client game thread
  • isCollidable extension value for Block
  • added basic positions Pos2i and Pos3i (used by geometrical sphere generators)
  • added cooldown utilities
    • in new module fabrikmc-game

package structure changes

  • moved FabrikPosition and PosInChunk (renamed from PositionInChunk)
  • sideboard api is now in the new fabrikmc-game module
  • nbt serialization moved from net.axay.fabrik.nbt to net.axay.fabrik.nbt.serialization and nbt dsl moved from net.axay.fabrik.nbt to net.axay.fabrik.nbt.dsl

Docs

  • background for code blocks
  • new persistence and cooldown docs

1.4.2

17 Sep 16:11
a0c88b7
Compare
Choose a tag to compare

fabrikmc 1.4.2

  • ServerWorld now has support for PersistentCompound
  • the compound functions now accept all GuiList variants
  • GuiProperty::set and GuiList::mutate now only suspend until the value has been updated, not until the gui has been updated

1.4.1

16 Sep 22:52
65b6cb1
Compare
Choose a tag to compare

fabrikmc 1.4.1 (small fix release)

  • GuiList and GuiMutableList now have a common supertype AbstractGuiList

1.4.0

16 Sep 21:36
84fbb86
Compare
Choose a tag to compare

fabrikmc 1.4.0

Improved command DSL

  • new argument resolve functionality, see docs for more details
  • imports for functions such as literal and argument are no longer needed
  • more argument function variants
  • added hasPermissionLevel function and PermissionLevel enum - you don't have to remember the levels anymore

igui improvements

  • GuiProperty and GuiList now are implemented using suspending functions
  • most event callbacks are now suspending
  • added MutableGuiList, the default gui list is no longer mutable

IDE support

  • gui and command DSL are now colored and pinned in the IDE completions and highlighting

Docs

  • a new guide for the command DSL is available in the docs

1.3.1

13 Sep 17:06
a90d56e
Compare
Choose a tag to compare

fabrikmc 1.3.1

  • FabrikPosition now has default values for x y z
  • added Entity.modifyVelocity extensions
  • added operator functions for modifying Vec3d, Vec3f and Vec3i (this includes BlockPos)

1.3.0

01 Sep 19:17
72d8af3
Compare
Choose a tag to compare

fabrikmc 1.3.0

Command API improvements

  • simpleExecutes is now deprecated and has been replaced with runs
  • simpleSuggests is now deprecated and has multiple alternatives
  • the runs function is an infix function, and can be used directly after a literal or argument definition
    The command API will see more changes in the future.

Scoreboard Fix

  • displaying a scoreboard to a player now cannot lead to synchronization issues anymore

Docs
The docs are versioned now.

1.2.2

27 Aug 19:16
0950214
Compare
Choose a tag to compare

Changes

  • added documentation under https://jakobkmar.github.io/fabrikmc/index.html
  • moved sideboard API to package net.axay.fabrik.core.sideboard
  • compound keys now require and identifier upon creation (this helps to reduce the amount of conflicts)
  • added customCompoundKey which allows you to specify custom conversion or serialization logic
  • now supports previously missing Identifier as a default argument type for the argument function
  • moved manual command registration to its own package net.axay.fabrik.commands.registration
  • lots of new functions for PersistentCompound modification, such as getOrPut, getAndRemove
  • you can now configure the Nbt instance for NBT serialization using the Nbt { } function

Internal

  • improved in-memory storage of persistent compound values (faster now, better garbage collection)