Interface RegistryKeyedValue<T,V>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RegistryKeyedValue<T,V>
Mappings:
Namespace Name
named net/minecraft/registry/RegistryKeyedValue
intermediary net/minecraft/class_10162
official alr
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T, V> RegistryKeyedValue<T,V>
    fixed(V value)
     
    get(RegistryKey<T> registryKey)
     
  • Method Details

    • get

      V get(RegistryKey<T> registryKey)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/registry/RegistryKeyedValue;get(Lnet/minecraft/registry/RegistryKey;)Ljava/lang/Object;
      intermediary get Lnet/minecraft/class_10162;get(Lnet/minecraft/class_5321;)Ljava/lang/Object;
      official get Lalr;get(Laly;)Ljava/lang/Object;
    • fixed

      static <T, V> RegistryKeyedValue<T,V> fixed(V value)
      Mappings:
      Namespace Name Mixin selector
      named fixed Lnet/minecraft/registry/RegistryKeyedValue;fixed(Ljava/lang/Object;)Lnet/minecraft/registry/RegistryKeyedValue;
      intermediary fixed Lnet/minecraft/class_10162;fixed(Ljava/lang/Object;)Lnet/minecraft/class_10162;
      official fixed Lalr;fixed(Ljava/lang/Object;)Lalr;