#adventure-help

13047 messages · Page 14 of 14 (latest)

tiny bone
#

o damn

sweet hornet
#

Chests and Ender Chests are treated the same

tiny bone
sweet hornet
#

They use the base texture

#

(oak_planks in your example)

woeful mirage
quaint monolith
valid summit
#

is it possible to add custom atlases via resource packs

quaint monolith
valid summit
#

ty

boreal orchid
#

You can only append stuff to existing atlases

quaint monolith
#

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?

sweet hornet
#

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

obsidian nimbus
#

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

valid summit
cloud vapor
#

you can just tell ij or whatever editor you're using to not use that

obsidian nimbus
#

yeah i figured it out, thanks

boreal orchid
obsidian nimbus
#

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

thorny flare
#

Hello, one question, to be able to use MiniMessage and Serializers in spigot platform, what dependencies should be shaded?

sterile rampart
#

whichever ones spigot doesn't ship with

#

we don't know what spigot does

boreal orchid
#

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

sterile rampart
#

This is the PaperMC discord, we wouldn't recommend using spigot. adventure is fine :p

thorny flare
#

I understand, still would appreciate some help with this, should adventure-platform and adventure-text-minimessage be required only?

boreal orchid
#

you would have to get a fork of adventure-platform-bukkit that works on latest first (if there is one out there), but yes

sterile rampart
#

this is not build tool support

wet kestrel
#

Spigot in 2026? Nobody's really running it, making it not worth adding support for it.

thorny flare
#

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

old ether
#

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?

#

?

loud saddle
#

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.

sweet hornet
#

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

loud saddle
#

Okay, thanks!

sweet hornet
cloud vapor
shadow wyvern
#

I should probably downstream adventure-platform facet module to my adventure hytale implementation. Should I, and how would I do that following the license?

patent fable
#

Is there a way I can get all audiences

sour totem
#

that depends on your platform, on paper objects like Server and World are audiences

patent fable
#

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
rare sage
#

velocity's ProxyServer instance will forward to all audiences

#

console and connected players

patent fable
#

oh cool

#

ty