Releases: SilkMC/silk
Releases · SilkMC/silk
1.7.2
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
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 andMcIcons
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
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 ofclientCommand
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
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
andtouchedBlockNoAir
value for entitiesposUnder
value for entitieslogger()
function as a shortcut forLogManager.getLogger()
- new component operator functions for Minecraft vector classes for destructuring
- added
mcClientCoroutineDispatcher
for execution on the client game thread isCollidable
extension value forBlock
- added basic positions
Pos2i
andPos3i
(used by geometrical sphere generators) - added cooldown utilities
- in new module
fabrikmc-game
- in new module
package structure changes
- moved
FabrikPosition
andPosInChunk
(renamed fromPositionInChunk
) - sideboard api is now in the new
fabrikmc-game
module - nbt serialization moved from
net.axay.fabrik.nbt
tonet.axay.fabrik.nbt.serialization
and nbt dsl moved fromnet.axay.fabrik.nbt
tonet.axay.fabrik.nbt.dsl
Docs
- background for code blocks
- new persistence and cooldown docs
1.4.2
1.4.1
1.4.0
fabrikmc 1.4.0
Improved command DSL
- new argument resolve functionality, see docs for more details
- imports for functions such as
literal
andargument
are no longer needed - more
argument
function variants - added
hasPermissionLevel
function andPermissionLevel
enum - you don't have to remember the levels anymore
igui improvements
GuiProperty
andGuiList
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
1.3.0
fabrikmc 1.3.0
Command API improvements
simpleExecutes
is now deprecated and has been replaced withruns
simpleSuggests
is now deprecated and has multiple alternatives- the
runs
function is an infix function, and can be used directly after aliteral
orargument
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
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 theargument
function - moved manual command registration to its own package
net.axay.fabrik.commands.registration
- lots of new functions for
PersistentCompound
modification, such asgetOrPut
,getAndRemove
- you can now configure the
Nbt
instance for NBT serialization using theNbt { }
function
Internal
- improved in-memory storage of persistent compound values (faster now, better garbage collection)