22title : Registry
33description : Documentation for arguments retrieving registry values.
44slug : paper/dev/command-api/arguments/registry
5+ version : 1.21.5
56---
67
78import ResourceAttributes from " ./assets/registry-arguments/resource-attributes.mp4" ;
89import ResourceBannerPattern from " ./assets/registry-arguments/resource-banner-pattern.mp4" ;
910import ResourceBiome from " ./assets/registry-arguments/resource-biome.mp4" ;
1011import ResourceBlock from " ./assets/registry-arguments/resource-block.mp4" ;
1112import ResourceCatVariant from " ./assets/registry-arguments/resource-cat-variant.mp4" ;
13+ import ResourceChickenVariant from " ./assets/registry-arguments/resource-chicken-variant.mp4" ;
14+ import ResourceCowVariant from " ./assets/registry-arguments/resource-cow-variant.mp4" ;
1215import ResourceDamageType from " ./assets/registry-arguments/resource-damage-type.mp4" ;
1316import ResourceDataComponentType from " ./assets/registry-arguments/resource-data-component-type.mp4" ;
1417import ResourceEnchantment from " ./assets/registry-arguments/resource-enchantment.mp4" ;
@@ -25,13 +28,15 @@ import ResourceMenu from "./assets/registry-arguments/resource-menu.mp4";
2528import ResourceMobEffect from " ./assets/registry-arguments/resource-mob-effect.mp4" ;
2629import ResourcePaintingVariant from " ./assets/registry-arguments/resource-painting-variant.mp4" ;
2730import ResourceParticleType from " ./assets/registry-arguments/resource-particle-type.mp4" ;
31+ import ResourcePigVariant from " ./assets/registry-arguments/resource-pig-variant.mp4" ;
2832import ResourcePotion from " ./assets/registry-arguments/resource-potion.mp4" ;
2933import ResourceSoundEvent from " ./assets/registry-arguments/resource-sound-event.mp4" ;
3034import ResourceStructureType from " ./assets/registry-arguments/resource-structure-type.mp4" ;
3135import ResourceTrimMaterial from " ./assets/registry-arguments/resource-trim-material.mp4" ;
3236import ResourceTrimPattern from " ./assets/registry-arguments/resource-trim-pattern.mp4" ;
3337import ResourceVillagerProfession from " ./assets/registry-arguments/resource-villager-profession.mp4" ;
3438import ResourceVillagerType from " ./assets/registry-arguments/resource-villager-type.mp4" ;
39+ import ResourceWolfSoundVariant from " ./assets/registry-arguments/resource-wolf-sound-variant.mp4" ;
3540import ResourceWolfVariant from " ./assets/registry-arguments/resource-wolf-variant.mp4" ;
3641
3742import ResourceKeyItem from " ./assets/registry-arguments/resourcekey-item.mp4" ;
@@ -190,7 +195,7 @@ input and be able to retrieve the backed instance without much trouble, that is
190195
191196## Registry key previews
192197
193- At the time of writing, the following RegistryKeys exist:
198+ The following ` RegistryKeys ` exist:
194199
195200| RegistryKeys Field | Return Value | Preview Video |
196201| ------------------------| ------------------------| ---------------------------------------------|
@@ -199,6 +204,8 @@ At the time of writing, the following RegistryKeys exist:
199204| BIOME | Biome | [ Biome] ( #biome ) |
200205| BLOCK | BlockType | [ Block] ( #block ) |
201206| 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 ) |
202209| DAMAGE_TYPE | DamageType | [ Damage Type] ( #damage-type ) |
203210| DATA_COMPONENT_TYPE | DataComponentType | [ Data Component Type] ( #data-component-type ) |
204211| ENCHANTMENT | Enchantment | [ Enchantment] ( #enchantment ) |
@@ -215,6 +222,7 @@ At the time of writing, the following RegistryKeys exist:
215222| MOB_EFFECT | PotionEffectType | [ Mob effect] ( #mob-effect ) |
216223| PAINTING_VARIANT | Art | [ Painting variant] ( #painting-variant ) |
217224| PARTICLE_TYPE | Particle | [ Particle] ( #particle ) |
225+ | PIG_VARIANT | Pig.Variant | [ Pig Variant] ( #pig-variant ) |
218226| POTION | PotionType | [ Potion] ( #potion ) |
219227| SOUND_EVENT | Sound | [ Sound] ( #sound ) |
220228| STRUCTURE | Structure | [ Structure] ( #structure ) |
@@ -223,12 +231,13 @@ At the time of writing, the following RegistryKeys exist:
223231| TRIM_PATTERN | TrimPattern | [ Trim Pattern] ( #trim-pattern ) |
224232| VILLAGER_PROFESSION | Villager.Profession | [ Villager Profession] ( #villager-profession ) |
225233| VILLAGER_TYPE | Villager.Type | [ Villager Type] ( #villager-type ) |
234+ | WOLF_SOUND_VARIANT | Wolf.SoundVariant | [ Wolf Sound Variant] ( #wolf-sound-variant ) |
226235| WOLF_VARIANT | Wolf.Variant | [ Wolf Variant] ( #wolf-variant ) |
227236
228237### Attribute
229238<Video src = { ResourceAttributes } />
230239
231- ### Banner Pattern
240+ ### Banner pattern
232241<Video src = { ResourceBannerPattern } />
233242
234243### Biome
@@ -240,6 +249,12 @@ At the time of writing, the following RegistryKeys exist:
240249### Cat variant
241250<Video src = { ResourceCatVariant } />
242251
252+ ### Chicken variant
253+ <Video src = { ResourceChickenVariant } />
254+
255+ ### Cow variant
256+ <Video src = { ResourceCowVariant } />
257+
243258### Damage type
244259<Video src = { ResourceDamageType } />
245260
@@ -288,6 +303,9 @@ At the time of writing, the following RegistryKeys exist:
288303### Particle
289304<Video src = { ResourceParticleType } />
290305
306+ ### Pig variant
307+ <Video src = { ResourcePigVariant } />
308+
291309### Potion
292310<Video src = { ResourcePotion } />
293311
@@ -312,5 +330,8 @@ This argument kicks the client, so no preview for this one ¯\\\_(ツ)\_/¯
312330### Villager type
313331<Video src = { ResourceVillagerType } />
314332
333+ ### Wolf sound variant
334+ <Video src = { ResourceWolfSoundVariant } />
335+
315336### Wolf variant
316337<Video src = { ResourceWolfVariant } />
0 commit comments