Class ContextParameter<T>

java.lang.Object
net.minecraft.util.context.ContextParameter<T>

public class ContextParameter<T> extends Object
Mappings:
Namespace Name
named net/minecraft/util/context/ContextParameter
intermediary net/minecraft/class_169
official bbn
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/util/context/ContextParameter;id:Lnet/minecraft/util/Identifier;
      intermediary field_1162 Lnet/minecraft/class_169;field_1162:Lnet/minecraft/class_2960;
      official a Lbbn;a:Lalz;
  • Constructor Details

    • ContextParameter

      public ContextParameter(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/context/ContextParameter;<init>(Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_169;<init>(Lnet/minecraft/class_2960;)V
      official <init> Lbbn;<init>(Lalz;)V
  • Method Details

    • of

      public static <T> ContextParameter<T> of(String id)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/util/context/ContextParameter;of(Ljava/lang/String;)Lnet/minecraft/util/context/ContextParameter;
      intermediary method_64964 Lnet/minecraft/class_169;method_64964(Ljava/lang/String;)Lnet/minecraft/class_169;
      official a Lbbn;a(Ljava/lang/String;)Lbbn;
    • getId

      public Identifier getId()
      Mappings:
      Namespace Name Mixin selector
      named getId Lnet/minecraft/util/context/ContextParameter;getId()Lnet/minecraft/util/Identifier;
      intermediary method_746 Lnet/minecraft/class_169;method_746()Lnet/minecraft/class_2960;
      official a Lbbn;a()Lalz;
    • toString

      public String toString()
      Overrides:
      toString in class Object