Class ContextType

java.lang.Object
net.minecraft.util.context.ContextType

public class ContextType extends Object
Mappings:
Namespace Name
named net/minecraft/util/context/ContextType
intermediary net/minecraft/class_176
official bbo
  • Field Details

    • required

      private final Set<ContextParameter<?>> required
      Mappings:
      Namespace Name Mixin selector
      named required Lnet/minecraft/util/context/ContextType;required:Ljava/util/Set;
      intermediary field_1216 Lnet/minecraft/class_176;field_1216:Ljava/util/Set;
      official a Lbbo;a:Ljava/util/Set;
    • allowed

      private final Set<ContextParameter<?>> allowed
      Mappings:
      Namespace Name Mixin selector
      named allowed Lnet/minecraft/util/context/ContextType;allowed:Ljava/util/Set;
      intermediary field_54892 Lnet/minecraft/class_176;field_54892:Ljava/util/Set;
      official b Lbbo;b:Ljava/util/Set;
  • Constructor Details

    • ContextType

      ContextType(Set<ContextParameter<?>> required, Set<ContextParameter<?>> allowed)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/context/ContextType;<init>(Ljava/util/Set;Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_176;<init>(Ljava/util/Set;Ljava/util/Set;)V
      official <init> Lbbo;<init>(Ljava/util/Set;Ljava/util/Set;)V
  • Method Details

    • getRequired

      public Set<ContextParameter<?>> getRequired()
      Mappings:
      Namespace Name Mixin selector
      named getRequired Lnet/minecraft/util/context/ContextType;getRequired()Ljava/util/Set;
      intermediary method_778 Lnet/minecraft/class_176;method_778()Ljava/util/Set;
      official a Lbbo;a()Ljava/util/Set;
    • getAllowed

      public Set<ContextParameter<?>> getAllowed()
      Mappings:
      Namespace Name Mixin selector
      named getAllowed Lnet/minecraft/util/context/ContextType;getAllowed()Ljava/util/Set;
      intermediary method_777 Lnet/minecraft/class_176;method_777()Ljava/util/Set;
      official b Lbbo;b()Ljava/util/Set;
    • toString

      public String toString()
      Overrides:
      toString in class Object