Rollczi / LiteCommands

☄️ LiteCommands - Command framework for Velocity, Bukkit, Paper, BungeeCord, Minestom, Sponge, Fabric, JDA and future implementations.
https://docs.rollczi.dev/
Apache License 2.0
146 stars 21 forks source link

Make SchematicGeneratorSimpleImpl more `protected` #316

Closed Rollczi closed 11 months ago

Rollczi commented 11 months ago

https://github.com/Rollczi/LiteCommands/issues/305#issuecomment-1837193724

huanmeng-qwq commented 11 months ago

From my perspective, I want to specify that the name shown to the player should correspond to their language.

// just example
String buildSchematic(SchematicFormat format, SENDER user, Argument<SENDER> argument) {
     String argumentDisplayName = service.getArgumentName(user, argument);
     return format.prefix() + String.format(format.argumentFormat(), argumentDisplayName) + format.suffix();
}