Class ContextType.Builder

java.lang.Object
net.minecraft.util.context.ContextType.Builder
Enclosing class:
ContextType

public static class ContextType.Builder extends Object
Mappings:
Namespace Name
named net/minecraft/util/context/ContextType$Builder
intermediary net/minecraft/class_176$class_177
official bbo$a
  • Field Details

    • required

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

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

    • Builder

      public Builder()
  • Method Details

    • require

      public ContextType.Builder require(ContextParameter<?> parameter)
      Mappings:
      Namespace Name Mixin selector
      named require Lnet/minecraft/util/context/ContextType$Builder;require(Lnet/minecraft/util/context/ContextParameter;)Lnet/minecraft/util/context/ContextType$Builder;
      intermediary method_781 Lnet/minecraft/class_176$class_177;method_781(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
      official a Lbbo$a;a(Lbbn;)Lbbo$a;
    • allow

      public ContextType.Builder allow(ContextParameter<?> parameter)
      Mappings:
      Namespace Name Mixin selector
      named allow Lnet/minecraft/util/context/ContextType$Builder;allow(Lnet/minecraft/util/context/ContextParameter;)Lnet/minecraft/util/context/ContextType$Builder;
      intermediary method_780 Lnet/minecraft/class_176$class_177;method_780(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
      official b Lbbo$a;b(Lbbn;)Lbbo$a;
    • build

      public ContextType build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/util/context/ContextType$Builder;build()Lnet/minecraft/util/context/ContextType;
      intermediary method_782 Lnet/minecraft/class_176$class_177;method_782()Lnet/minecraft/class_176;
      official a Lbbo$a;a()Lbbo;