docs: Update version matrix in README

dependabot/gradle/org.projectlombok-lombok-1.18.34
William 5 months ago
parent 37b65f3b5c
commit 25ad664a36
No known key found for this signature in database

@ -22,11 +22,11 @@ Uniform _currently_ targets the following platforms:
| Platform | Artifact | Minecraft | Java | | Platform | Artifact | Minecraft | Java |
|---------------|--------------------|:----------:|:------:| |---------------|--------------------|:----------:|:------:|
| Common | `uniform-common` | - | \>`17` | | Common | `uniform-common` | - | \>`17` |
| Bukkit | `uniform-bukkit` | \>`1.17.1` | \>`17` |
| Paper | `uniform-paper` | \>`1.17.1` | \>`21` | | Paper | `uniform-paper` | \>`1.17.1` | \>`21` |
| Velocity | `uniform-velocity` | \>`3.3.0` | \>`17` | | Velocity | `uniform-velocity` | \>`3.3.0` | \>`17` |
| Fabric 1.20.1 | `uniform-fabric` | =`1.20.1` | \>`17` | | Fabric 1.20.1 | `uniform-fabric` | =`1.20.1` | \>`17` |
| Fabric 1.20.6 | `uniform-fabric` | =`1.20.6` | \>`21` | | Fabric 1.20.6 | `uniform-fabric` | =`1.20.6` | \>`21` |
| Bukkit | `uniform-bukkit` | \>`1.17.1` | \>`17` |
</p> </p>
@ -100,7 +100,7 @@ public class ExampleCrossPlatCommand extends Command {
final Audience user = command.getUser(context.getSource()).getAudience(); final Audience user = command.getUser(context.getSource()).getAudience();
user.sendMessage(Component.text("Hello, world!")); user.sendMessage(Component.text("Hello, world!"));
}); });
// Add syntax to the command // Add syntax to the command
command.addSyntax((context) -> { command.addSyntax((context) -> {
final Audience user = command.getUser(ctx.getSource()).getAudience(); final Audience user = command.getUser(ctx.getSource()).getAudience();
@ -108,7 +108,7 @@ public class ExampleCrossPlatCommand extends Command {
String arg = context.getArgument("message", String.class); String arg = context.getArgument("message", String.class);
user.sendMessage(MiniMessage.miniMessage().deserialize(arg)); user.sendMessage(MiniMessage.miniMessage().deserialize(arg));
}, stringArg("message")); }, stringArg("message"));
// Sub-commands, too // Sub-commands, too
command.addSubCommand("subcommand", (sub) -> { command.addSubCommand("subcommand", (sub) -> {
sub.setDefaultExecutor((context) -> { sub.setDefaultExecutor((context) -> {

Loading…
Cancel
Save