#adventure-help
13047 messages · Page 14 of 14 (latest)
Chests and Ender Chests are treated the same
what about stairs, like oak_stairs
They use the base texture
(oak_planks in your example)
If you want to have the "best" sprite for a given material, you can have a look at my tool here: https://github.com/indyteo/MaterialSpritesGenerator
-# I need to come back to this soon to update it to latest version also...
Hi, will there ever be support for custom heads (from minecraft-heads for example) for this? https://docs.papermc.io/adventure/minimessage/format/#head
Check out #adventure-help message for how to implement it yourself
is it possible to add custom atlases via resource packs
ty
It is not possible, no
You can only append stuff to existing atlases
Eh?
The system is set up to be able to support arbitrary atlases in arbitrary namespaces, did they forget to wire something up on the client side?
iirc, yes
At least during my experiments I never maganed to show sprites for custom atlases
Which is, I think, the main reason someone would want to add an atlas
why are .properties files encoded as ISO 8859-1 by default this is pissing me off
like bro i'm localising my plugin i want other languages too not english only
if you're using intellij you can change this in file encoding settings
you can just tell ij or whatever editor you're using to not use that
yeah i figured it out, thanks
https://mcsrc.dev/1/26.1.2/net/minecraft/client/resources/model/sprite/AtlasManager#L58-65
It wouldn't take much to add support for custom atlases but as you can see, they're hardcoded right now (nowhere else are the maps modified)
https://pastes.dev/Hp05BccHtd
i'm proud of myself, i wrote this tool that loads locales from plugin jar and updates user locale files if it has missing messages
Hello, one question, to be able to use MiniMessage and Serializers in spigot platform, what dependencies should be shaded?
I would recommend just not using adventure if it is on Spigot, it isn't worth the effort to try and bridge the gap between the missing parts of adventure-platform-bukkit (which I think has been discontinued as of recently?)
besides the annoyance of constantly having to wrap things into audiences
This is the PaperMC discord, we wouldn't recommend using spigot. adventure is fine :p
I understand, still would appreciate some help with this, should adventure-platform and adventure-text-minimessage be required only?
you would have to get a fork of adventure-platform-bukkit that works on latest first (if there is one out there), but yes
this is not build tool support
Spigot in 2026? Nobody's really running it, making it not worth adding support for it.
I understand what you mean guys, I don't want to make a fully working fork for spigot, i just want to shade it so it doesnt fail in old versions (where bukkit platform was working, like 1.20 etc), I don't plan to make it work in 26.1.2, if it does good, if it doesn't, it doesnt matter, but the plugin need to launch without failing for missing class, hope you understand
yo im trying to properly serialize Component into NBT (Adventure NBT), I tried the Velocity method but it errors out
[13:53:11] [Render thread] [net.minecraft.class_8673/WARN]: Client disconnected with reason: Internal Exception: io.netty.handler.codec.DecoderException: Failed to decode: No matching codec found {color:"yellow",translate:"multiplayer.player.joined",with:[{clickEvent:{action:"suggest_command",command:"/tell {MINECRAFT_USERNAME} "},hoverEvent:{action:"show_entity",contents:{id:[L;-242501549L,24918355L,-1694497989L,-1219456181L],name:"{MINECRAFT_USERNAME}",type:"minecraft:player"}},insertion:"{MINECRAFT_USERNAME}",text:"{MINECRAFT_USERNAME}"}]}
is anyone able to help?
?
Hello, I have a dedicated Player microservice that stores the language the player has selected. Can I use this language instead of the one from the client? I would like to use Component.translatable.
No, not using the built-in translation system
Not yet, at least. There's a PR on this topic iirc, but in the mean time, you could try to do your own server-side translation based on what's inside that PR
Okay, thanks!
thx!
speaking of, would appreciate any thoughts anyone has on this pr - comments sparked a bit of a debate about how the api surface should look
I should probably downstream adventure-platform facet module to my adventure hytale implementation. Should I, and how would I do that following the license?
Is there a way I can get all audiences
that depends on your platform, on paper objects like Server and World are audiences
Yeah
I want to get all audiences on velocity
Audience audience = Audience.audience(server.getConsoleCommandSource(),
Audience.audience(server.getAllServers().toArray(new RegisteredServer[0]))); // servers forward to players``` I just do this rn