Skip to content

Commit ca4f407

Browse files
committed
bump versions
adventure: 4.21.0 adventure-platform: 4.4.0 adventure-platform-mod: 6.4.0
1 parent cc9dca5 commit ca4f407

File tree

5 files changed

+21
-20
lines changed

5 files changed

+21
-20
lines changed

source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@
2828
# The short X.Y versions
2929

3030
# The latest version of the Adventure api
31-
api_version = '4.20.0'
31+
api_version = '4.21.0'
3232

3333
# The latest versions of adventure-platform builds
34-
platform_version = '4.3.4'
35-
platform_mod_version = '6.3.0'
34+
platform_version = '4.4.0'
35+
platform_mod_version = '6.4.0'
3636

3737
# The latest version of the ansi library
3838
ansi_version = '1.1.1'

source/platform/bukkit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Bukkit
33
======
44

55
The Adventure platform implementation for Bukkit targets Paper, Spigot, and Bukkit for
6-
Minecraft 1.7.10 through 1.20.6.
6+
Minecraft 1.7.10 through 1.21.5.
77

88
.. warning::
99

source/platform/fabric.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ First, add the repository:
6666
:substitutions:
6767
6868
dependencies {
69-
modImplementation include("net.kyori:adventure-platform-fabric:|mod_version|") // for Minecraft 1.21.2-1.21.4
69+
modImplementation include("net.kyori:adventure-platform-fabric:|mod_version|") // for Minecraft 1.21.5
7070
}
7171
7272
@@ -77,7 +77,7 @@ First, add the repository:
7777
:substitutions:
7878
7979
dependencies {
80-
modImplementation(include("net.kyori:adventure-platform-fabric:|modversion|")!!) // for Minecraft 1.21.2-1.21.4
80+
modImplementation(include("net.kyori:adventure-platform-fabric:|modversion|")!!) // for Minecraft 1.21.5
8181
}
8282
8383
The Fabric platform requires *fabric-api-base* in order to provide the locale change event, *fabric-command-api-v2* for the callback click event, and can optionally use Colonel_ (or *fabric-networking-api-v1*) to allow the ``Component`` and ``Key`` argument types to be used on clients without the mod installed. There are no other dependencies.
@@ -165,7 +165,7 @@ For more complex use cases, :java:`FabricServerAudiences` or :java:`FabricClient
165165
Server
166166
------
167167

168-
The logical-server side of the Fabric platform can be accessed any time a server is available, through a ``FabricServerAudiences`` instance. By default, translatable components will be rendered with the global translator, but a custom renderer can be passed when initializing the platform.
168+
The logical-server side of the Fabric platform can be accessed any time a server is available, through a ``MinecraftServerAudiences`` instance. By default, translatable components will be rendered with the global translator, but a custom renderer can be passed when initializing the platform.
169169

170170
All ``AudienceProvider`` interface methods are supported, except for the ``permission`` method. This will become supported as soon as Fabric gets a suitable permissions API.
171171

@@ -174,11 +174,11 @@ To get started with Adventure, set up an audience provider like this:
174174
.. code:: java
175175
176176
public class MyMod implements ModInitializer {
177-
private volatile FabricServerAudiences adventure;
177+
private volatile MinecraftServerAudiences adventure;
178178
179-
public FabricServerAudiences adventure() {
180-
FabricServerAudiences ret = this.adventure;
181-
if(ret == null) {
179+
public MinecraftServerAudiences adventure() {
180+
MinecraftServerAudiences ret = this.adventure;
181+
if (ret == null) {
182182
throw new IllegalStateException("Tried to access Adventure without a running server!");
183183
}
184184
return ret;
@@ -190,7 +190,7 @@ To get started with Adventure, set up an audience provider like this:
190190
// This will ensure any platform data is cleared between game instances
191191
// This is important on the integrated server, where multiple server instances
192192
// can exist for one mod initialization.
193-
ServerLifecycleEvents.SERVER_STARTING.register(server -> this.adventure = FabricServerAudiences.of(server));
193+
ServerLifecycleEvents.SERVER_STARTING.register(server -> this.adventure = MinecraftServerAudiences.of(server));
194194
ServerLifecycleEvents.SERVER_STOPPED.register(server -> this.adventure = null);
195195
}
196196
}
@@ -235,13 +235,13 @@ Client
235235
236236
Special for the Fabric platform, purely client-side operations are supported. The setup is less involved than it is for the server, since the client is a singleton, and there is only one subject that can be acted on: the client's player.
237237
238-
This means that for most users the ``FabricClientAudiences`` object can be treated as a singleton. The only exception is users using a custom renderer. This makes using Adventure audiences fairly simple, as this code example shows:
238+
This means that for most users the ``MinecraftClientAudiences`` object can be treated as a singleton. The only exception is users using a custom renderer. This makes using Adventure audiences fairly simple, as this code example shows:
239239
240240
.. code:: java
241241
242242
void doThing() {
243243
// Get the audience
244-
final Audience client = FabricClientAudiences.of().audience();
244+
final Audience client = MinecraftClientAudiences.of().audience();
245245
246246
// Do something. This will only work when the player is ingame.
247247
client.sendMessage(Component.text("meow", NamedTextColor.DARK_PURPLE));

source/platform/modded.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ First, add the repository:
7070
7171
dependencies {
7272
// Loom project
73-
modCompileOnly("net.kyori:adventure-platform-mod-shared-fabric-repack:|mod_version|") // for Minecraft 1.21.2-1.21.4
73+
modCompileOnly("net.kyori:adventure-platform-mod-shared-fabric-repack:|mod_version|") // for Minecraft 1.21.5
7474
7575
// NeoGradle/ModDevGradle/VanillaGradle project
76-
compileOnly("net.kyori:adventure-platform-mod-shared:|mod_version|") // for Minecraft 1.21.2-1.21.4
76+
compileOnly("net.kyori:adventure-platform-mod-shared:|mod_version|") // for Minecraft 1.21.5
7777
}
7878
7979
@@ -85,10 +85,10 @@ First, add the repository:
8585
8686
dependencies {
8787
// Loom project
88-
modCompileOnly("net.kyori:adventure-platform-mod-shared-fabric-repack:|mod_version|") // for Minecraft 1.21.2-1.21.4
88+
modCompileOnly("net.kyori:adventure-platform-mod-shared-fabric-repack:|mod_version|") // for Minecraft 1.21.5
8989
9090
// NeoGradle/ModDevGradle/VanillaGradle project
91-
compileOnly("net.kyori:adventure-platform-mod-shared:|mod_version|") // for Minecraft 1.21.2-1.21.4
91+
compileOnly("net.kyori:adventure-platform-mod-shared:|mod_version|") // for Minecraft 1.21.2-1.21.5
9292
}
9393
9494
@@ -101,6 +101,7 @@ First, add the repository:
101101
================= ================= ===========================================================
102102
Minecraft Version Adventure version ``adventure-platform-(mod-shared|fabric|neoforge)`` version
103103
================= ================= ===========================================================
104+
1.21.2-1.21.4 4.20.0 6.3.0
104105
1.21-1.21.1 4.17.0 6.0.0
105106
================= ================= ===========================================================
106107

source/platform/neoforge.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ First, add the repository:
5858
:substitutions:
5959
6060
dependencies {
61-
implementation jarJar("net.kyori:adventure-platform-neoforge:|mod_version|") // for Minecraft 1.21.2-1.21.4
61+
implementation jarJar("net.kyori:adventure-platform-neoforge:|mod_version|") // for Minecraft 1.21.5
6262
}
6363
6464
@@ -69,7 +69,7 @@ First, add the repository:
6969
:substitutions:
7070
7171
dependencies {
72-
implementation(jarJar("net.kyori:adventure-platform-neoforge:|mod_version|")!!) // for Minecraft 1.21.2-1.21.4
72+
implementation(jarJar("net.kyori:adventure-platform-neoforge:|mod_version|")!!) // for Minecraft 1.21.5
7373
}
7474
7575

0 commit comments

Comments
 (0)