Releases: SilkMC/silk
Releases · SilkMC/silk
1.10.7
1.10.6
1.10.5
1.10.4
- updated to Minecraft 1.20.5 by @MushroomMif
- Added
setItemName
function inItemBuilder
to easily setminecraft:item_name
item component using Silk text builder setPotion
function inItemBuilder
now takesHolder<Potion>
instead ofPotion
as potions are now registered usingregisterForHolder
method which returnsHolder<Potion>
- Sideboard internals was updated to remove scoreboard teams hack and use new
display
field instead - You can now specify which number format sideboard will use by new
numberFormat
property in thesideboard
function, it isBlankFormat
by default
- Added
- now using Kotlin 1.9.23
setSkullPlayer
now accepts a playeruuid
and/or playername
and/ortexture
(notably allowing you to set a skull texture just by name)- you can now specify any
BinaryFormat
insilk-network
(previously only Cbor)
Internal Changes
silk-network
now uses a FallbackProvider to inject a stream codec provided by each type of packet definition- each custom silk-network packet still corresponds exactly to a custom payload packet with the given idea
- duplicated packet IDs will now result in a warning if they clash on lookup
silk-persistence
now migrates the legacyfabrikmcData
tag from nbt and level data to the newsilkmc_persistent_data
tag
1.10.3
- updated to Minecraft 1.20.4 by @MushroomMif
- updated to Kotlin 1.9.21
- sideboards now use the new scoreboard API by @MushroomMif
- red numbers are no longer displayed on the right
1.10.2
- updated to Kotlin 1.9.10 and Minecraft 1.20.2
- added two entity events:
damageLivingEntity
(Called when a LivingEntity is being hurt. When this event occurs, at least one invulnerability check has already passed.)checkInvulnerability
(Called when a regular invulnerability check is being performed. This event allows listeners to modify the result of that check.)
- reworked player (network) events:
- split
quitDuringLogin
intoquitDuringLogin
andquitDuringConfiguration
(because of Minecraft now allowing for configuration at any time in-game) - added
reason
property to quit events
- split
- internal changes:
- silk-network packets now use the new payload based custom packets under the hood
- silk-persistence now uses a workaround for bypassing the datafixerupper from running on internal SavedData
1.10.1
1.10.0
- updated to Minecraft 1.20
- updated to Kotlin 1.8.21
Public API for server and player list access
-
added multiple properties to the
Silk
object:server
(nullable)serverOrThrow
(non-nullable)players
(non-nullable list, can be empty)
-
deprecated previous (delicate) property:
Silk.currentServer
-
added extension on
MinecraftServer
:server.players
Fixes
- fixed modmenu icon not showing up since rebranding - by @mooziii
- fixed sideboard ordering (sideboards do not use scores of zero anymore) - by @Krxwallo
Internal
- improved async event test
- marked
ReadWriteMutex
as@InternalSilkApi
silk-network
- removed usage of fabric-api from silk-network (now standalone)
- now sends custom payload packets directly
- each packet will now be sent on a channel of the same name as the packet identifier
- client to client packets can now be forwarded to multiple players at once
- it is now garuanteed that receivers won't be executed concurrently