https://kotlinlang.org logo
Join SlackCommunities
Powered by
# knbt
  • b

    Ben Woodworth

    10/13/2022, 4:48 PM
    set the channel topic: https://github.com/BenWoodworth/knbt
  • b

    Ben Woodworth

    10/13/2022, 4:48 PM
    set the channel description: Minecraft NBT library for kotlinx.serialization
  • b

    Ben Woodworth

    10/13/2022, 4:50 PM
    set the channel topic: Minecraft NBT library for kotlinx.serialization
  • b

    Ben Woodworth

    10/13/2022, 4:50 PM
    set the channel description: https://github.com/BenWoodworth/knbt
  • a

    Ayfri

    11/29/2022, 12:14 PM
    Hey, it would be nice to have every
    put
    functions set as
    operator fun
    so we can have an even fancier syntax :) Also create
    operator fun plus
    for NbtList
    b
    • 2
    • 3
  • a

    Ayfri

    01/02/2023, 3:21 PM
    Hi, is there a way to mutate a NbtCompound ? I need dynamic modifyable nbt data.
    b
    • 2
    • 6
  • a

    Ayfri

    04/06/2023, 10:39 PM
    As polymorphic serialization isn't supported, what are the alternatives for doing it ? Do I have to create serializers for all my objects ?
    b
    • 2
    • 7
  • a

    Ayfri

    03/10/2024, 12:23 AM
    Hello, I really need polymorphic serialization for a specific thing (or maybe a
    JsonAsNBTSerializer
    ), is there any progress on this ?
    b
    • 2
    • 33
  • b

    Ben Woodworth

    03/25/2024, 1:24 AM
    @Ayfri Continuing this as a new thread to keep the other thread on topic :) https://kotlinlang.slack.com/archives/C046BGVBJEP/p1711295347859809?thread_ts=1710030185.126079&cid=C046BGVBJEP
    👍 1
    a
    • 2
    • 7
  • a

    Ayfri

    04/01/2024, 2:35 PM
    Hey, I'm trying to create a complex serializer, it should work but don't with NBTEncoder because it's enclosed in an NBTCompound named after the serializer Serial Name, code in 🧵
    b
    • 2
    • 69
  • a

    Ayfri

    05/09/2024, 12:51 AM
    Hello ! Why is it not possible to create a NBTList<NbtTag> ?
    b
    • 2
    • 6