Skip to content

Commit 012e0dc

Browse files
committed
Add dialog resource key to Brigadier registry argument documentation
1 parent ec0cd0e commit 012e0dc

File tree

2 files changed

+44
-39
lines changed

2 files changed

+44
-39
lines changed

src/content/docs/paper/dev/api/command-api/arguments/registry.mdx

Lines changed: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import ResourceChickenVariant from "./assets/registry-arguments/resource-chicken
1414
import ResourceCowVariant from "./assets/registry-arguments/resource-cow-variant.mp4";
1515
import ResourceDamageType from "./assets/registry-arguments/resource-damage-type.mp4";
1616
import ResourceDataComponentType from "./assets/registry-arguments/resource-data-component-type.mp4";
17+
import ResourceDialog from "./assets/registry-arguments/resource-dialog.mp4";
1718
import ResourceEnchantment from "./assets/registry-arguments/resource-enchantment.mp4";
1819
import ResourceEntityType from "./assets/registry-arguments/resource-entity-type.mp4";
1920
import ResourceFluid from "./assets/registry-arguments/resource-fluid.mp4";
@@ -197,42 +198,43 @@ input and be able to retrieve the backed instance without much trouble, that is
197198

198199
The following `RegistryKeys` exist:
199200

200-
| RegistryKeys Field | Return Value | Preview Video |
201-
|------------------------|------------------------|---------------------------------------------|
202-
| ATTRIBUTE | Attribute | [Attribute](#attribute) |
203-
| BANNER_PATTERN | PatternType | [Banner Pattern](#banner-pattern) |
204-
| BIOME | Biome | [Biome](#biome) |
205-
| BLOCK | BlockType | [Block](#block) |
206-
| CAT_VARIANT | Cat.Type | [Cat Variant](#cat-variant) |
207-
| CHICKEN_VARIANT | Chicken.Variant | [Chicken Variant](#chicken-variant) |
208-
| COW_VARIANT | Cow.Variant | [Cow Variant](#cow-variant) |
209-
| DAMAGE_TYPE | DamageType | [Damage Type](#damage-type) |
210-
| DATA_COMPONENT_TYPE | DataComponentType | [Data Component Type](#data-component-type) |
211-
| ENCHANTMENT | Enchantment | [Enchantment](#enchantment) |
212-
| ENTITY_TYPE | EntityType | [Entity Type](#entity-type) |
213-
| FLUID | Fluid | [Fluid](#fluid) |
214-
| FROG_VARIANT | Frog.Variant | [Frog Variant](#frog-variant) |
215-
| GAME_EVENT | GameEvent | [Game Event](#game-event) |
216-
| INSTRUMENT | MusicInstrument | [Instrument](#instrument) |
217-
| ITEM | ItemType | [Item](#item) |
218-
| JUKEBOX_SONG | JukeboxSong | [Jukebox Song](#jukebox-song) |
219-
| MAP_DECORATION_TYPE | MapCursor.Type | [Map Decoration Type](#map-decoration-type) |
220-
| MEMORY_MODULE_TYPE | MemoryKey\<?> | [Memory Module Type](#memory-module-type) |
221-
| MENU | MenuType | [Menu](#menu) |
222-
| MOB_EFFECT | PotionEffectType | [Mob effect](#mob-effect) |
223-
| PAINTING_VARIANT | Art | [Painting variant](#painting-variant) |
224-
| PARTICLE_TYPE | Particle | [Particle](#particle) |
225-
| PIG_VARIANT | Pig.Variant | [Pig Variant](#pig-variant) |
226-
| POTION | PotionType | [Potion](#potion) |
227-
| SOUND_EVENT | Sound | [Sound](#sound) |
228-
| STRUCTURE | Structure | [Structure](#structure) |
229-
| STRUCTURE_TYPE | StructureType | [Structure Type](#structure-type) |
230-
| TRIM_MATERIAL | TrimMaterial | [Trim Material](#trim-material) |
231-
| TRIM_PATTERN | TrimPattern | [Trim Pattern](#trim-pattern) |
232-
| VILLAGER_PROFESSION | Villager.Profession | [Villager Profession](#villager-profession) |
233-
| VILLAGER_TYPE | Villager.Type | [Villager Type](#villager-type) |
234-
| WOLF_SOUND_VARIANT | Wolf.SoundVariant | [Wolf Sound Variant](#wolf-sound-variant) |
235-
| WOLF_VARIANT | Wolf.Variant | [Wolf Variant](#wolf-variant) |
201+
| RegistryKeys Field | Return Value | Preview Video |
202+
|---------------------|---------------------|---------------------------------------------|
203+
| ATTRIBUTE | Attribute | [Attribute](#attribute) |
204+
| BANNER_PATTERN | PatternType | [Banner Pattern](#banner-pattern) |
205+
| BIOME | Biome | [Biome](#biome) |
206+
| BLOCK | BlockType | [Block](#block) |
207+
| CAT_VARIANT | Cat.Type | [Cat Variant](#cat-variant) |
208+
| CHICKEN_VARIANT | Chicken.Variant | [Chicken Variant](#chicken-variant) |
209+
| COW_VARIANT | Cow.Variant | [Cow Variant](#cow-variant) |
210+
| DAMAGE_TYPE | DamageType | [Damage Type](#damage-type) |
211+
| DATA_COMPONENT_TYPE | DataComponentType | [Data Component Type](#data-component-type) |
212+
| DIALOG | Dialog | [Dialog](#dialog) |
213+
| ENCHANTMENT | Enchantment | [Enchantment](#enchantment) |
214+
| ENTITY_TYPE | EntityType | [Entity Type](#entity-type) |
215+
| FLUID | Fluid | [Fluid](#fluid) |
216+
| FROG_VARIANT | Frog.Variant | [Frog Variant](#frog-variant) |
217+
| GAME_EVENT | GameEvent | [Game Event](#game-event) |
218+
| INSTRUMENT | MusicInstrument | [Instrument](#instrument) |
219+
| ITEM | ItemType | [Item](#item) |
220+
| JUKEBOX_SONG | JukeboxSong | [Jukebox Song](#jukebox-song) |
221+
| MAP_DECORATION_TYPE | MapCursor.Type | [Map Decoration Type](#map-decoration-type) |
222+
| MEMORY_MODULE_TYPE | MemoryKey\<?> | [Memory Module Type](#memory-module-type) |
223+
| MENU | MenuType | [Menu](#menu) |
224+
| MOB_EFFECT | PotionEffectType | [Mob effect](#mob-effect) |
225+
| PAINTING_VARIANT | Art | [Painting variant](#painting-variant) |
226+
| PARTICLE_TYPE | Particle | [Particle](#particle) |
227+
| PIG_VARIANT | Pig.Variant | [Pig Variant](#pig-variant) |
228+
| POTION | PotionType | [Potion](#potion) |
229+
| SOUND_EVENT | Sound | [Sound](#sound) |
230+
| STRUCTURE | Structure | [Structure](#structure) |
231+
| STRUCTURE_TYPE | StructureType | [Structure Type](#structure-type) |
232+
| TRIM_MATERIAL | TrimMaterial | [Trim Material](#trim-material) |
233+
| TRIM_PATTERN | TrimPattern | [Trim Pattern](#trim-pattern) |
234+
| VILLAGER_PROFESSION | Villager.Profession | [Villager Profession](#villager-profession) |
235+
| VILLAGER_TYPE | Villager.Type | [Villager Type](#villager-type) |
236+
| WOLF_SOUND_VARIANT | Wolf.SoundVariant | [Wolf Sound Variant](#wolf-sound-variant) |
237+
| WOLF_VARIANT | Wolf.Variant | [Wolf Variant](#wolf-variant) |
236238

237239
### Attribute
238240
<Video src={ResourceAttributes} />
@@ -258,15 +260,18 @@ The following `RegistryKeys` exist:
258260
### Damage type
259261
<Video src={ResourceDamageType} />
260262

263+
### Data component type
264+
<Video src={ResourceDataComponentType} />
265+
266+
### Dialog
267+
<Video src={ResourceDialog} />
268+
261269
### Enchantment
262270
<Video src={ResourceEnchantment} />
263271

264272
### Entity type
265273
<Video src={ResourceEntityType} />
266274

267-
### Data component type
268-
<Video src={ResourceDataComponentType} />
269-
270275
### Fluid
271276
<Video src={ResourceFluid} />
272277

0 commit comments

Comments
 (0)