You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/adventure/minimessage/format.mdx
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -304,6 +304,32 @@ Preview
304
304
<imgstyle="max-height: 10rem;"alt="The result of parsing `<lang:commands.drop.success.single:'<red>1':'<blue>Stone'>!`, shown in-game in the Minecraft client's chat window in English"src={Translatable2.src} />
305
305
</div>
306
306
307
+
### Fallback
308
+
309
+
:::note
310
+
311
+
The fallback option is only available since Minecraft 1.19.4.
312
+
313
+
:::
314
+
315
+
Allows displaying minecraft messages using the player locale, or a fallback if no text is available
Copy file name to clipboardExpand all lines: src/content/docs/adventure/platform/fabric.mdx
+9-13Lines changed: 9 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ As with the rest of the Adventure projects, releases are distributed on Maven Ce
41
41
}
42
42
43
43
dependencies {
44
-
modImplementation include("net.kyori:adventure-platform-fabric:|mod_version|") // for Minecraft 1.21.2-1.21.4
44
+
modImplementation include("net.kyori:adventure-platform-fabric:|mod_version|") // for Minecraft 1.21.5
45
45
}
46
46
```
47
47
</TabItem>
@@ -58,7 +58,7 @@ As with the rest of the Adventure projects, releases are distributed on Maven Ce
58
58
}
59
59
60
60
dependencies {
61
-
modImplementation(include("net.kyori:adventure-platform-fabric:|modversion|")!!) // for Minecraft 1.21.2-1.21.4
61
+
modImplementation(include("net.kyori:adventure-platform-fabric:|modversion|")!!) // for Minecraft 1.21.5
62
62
}
63
63
```
64
64
</TabItem>
@@ -153,7 +153,7 @@ For more complex use cases, `FabricServerAudiences` or `FabricClientAudiences` p
153
153
154
154
## Server
155
155
156
-
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.
156
+
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.
157
157
158
158
All `AudienceProvider` interface methods are supported, except for the `permission` method. This will become supported as soon as Fabric gets a suitable permissions API.
159
159
@@ -162,9 +162,9 @@ To get started with Adventure, set up an audience provider like this:
0 commit comments