ResolvableDataRegistry

Trait ResolvableDataRegistry 

Source
pub trait ResolvableDataRegistry: DataRegistry {
    type DeserializesTo: RegistryDeserializesTo;

    // Provided method
    fn resolve<'a>(
        &self,
        registries: &'a RegistryHolder,
    ) -> Option<(&'a Identifier, &'a Self::DeserializesTo)> { ... }
}

Required Associated Types§

Provided Methods§

Source

fn resolve<'a>( &self, registries: &'a RegistryHolder, ) -> Option<(&'a Identifier, &'a Self::DeserializesTo)>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ResolvableDataRegistry for Biome

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for CatVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for ChickenVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for CowVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for DamageKind

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for Dialog

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for DimensionKind

Source§

impl ResolvableDataRegistry for Enchantment

Source§

impl ResolvableDataRegistry for FrogVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for PaintingVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for PigVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for WolfSoundVariant

Source§

type DeserializesTo = NbtCompound

Source§

impl ResolvableDataRegistry for WolfVariant

Source§

type DeserializesTo = NbtCompound

Implementors§