Skip to content

Commit dd253c2

Browse files
authored
feat(adventure): update for 4.25.0 (#659)
1 parent f8552f9 commit dd253c2

File tree

2 files changed

+42
-6
lines changed

2 files changed

+42
-6
lines changed

src/content/docs/adventure/getting-started.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ To use snapshot builds, you will need to add the following repository:
3232
<TabItem label="Gradle (Kotlin)">
3333
```kotlin title="build.gradle.kts"
3434
repositories {
35-
maven(url = "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
36-
name = "sonatype-oss-snapshots"
35+
maven(url = "https://central.sonatype.com/repository/maven-snapshots/") {
36+
name = "central-snapshots"
3737
}
3838
}
3939
```
@@ -42,8 +42,8 @@ To use snapshot builds, you will need to add the following repository:
4242
```groovy title="build.gradle"
4343
repositories {
4444
maven {
45-
name = 'sonatype-oss-snapshots1'
46-
url = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
45+
name = 'central-snapshots'
46+
url = 'https://central.sonatype.com/repository/maven-snapshots/'
4747
}
4848
}
4949
```
@@ -52,8 +52,8 @@ To use snapshot builds, you will need to add the following repository:
5252
```xml title="pom.xml"
5353
<repositories>
5454
<repository>
55-
<id>sonatype-oss-snapshots1</id>
56-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
55+
<id>central-snapshots</id>
56+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
5757
</repository>
5858
</repositories>
5959
```

src/content/docs/adventure/minimessage/format.mdx

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,3 +523,39 @@ Examples
523523
Happy <pride>pride month</pride>!
524524
Kyori supports <pride:trans>trans rights</pride>!
525525
```
526+
527+
### Sprite
528+
529+
*(since v4.25.0)* Inserts a sprite.
530+
531+
Tag
532+
* `<sprite:[atlas]:<sprite>>`
533+
534+
Arguments
535+
* `atlas` the atlas to use, e.g. `minecraft:blocks`.
536+
* `sprite` the sprite to use, e.g. `item/emerald`.
537+
538+
Examples
539+
```mm
540+
Look at my <sprite:blocks:block/stone>!
541+
This item costs 10 x <sprite:"minecraft:items":item/porkchop>.
542+
```
543+
544+
### Head
545+
546+
*(since v4.25.0)* Inserts a player head.
547+
548+
Tag
549+
* `<head:<name|uuid|texture>:[outer_layer]>`
550+
551+
Arguments
552+
* `name|uuid|texture` the name, UUID or path to the texture of the skin to use to draw the head.
553+
* `outer_layer` either `true` or `false`, determines if the outer layer (or "hat" layer) should be drawn.
554+
Defaults to `true`.
555+
556+
Examples
557+
```mm
558+
My favorite dev is <head:1f085b2d-9548-4159-a8c7-f3ccdf0c2054>.
559+
Do you prefer <head:entity/player/wide/steve> Steve or <head:entity/player/slim/alex> Alex?
560+
Thanks <head:Strokkur24:false> for the docs!
561+
```

0 commit comments

Comments
 (0)