Class LootContextType.Builder

java.lang.Object
net.minecraft.loot.context.LootContextType.Builder
Enclosing class:
LootContextType

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

    • required

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

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

    • Builder

      public Builder()
  • Method Details

    • require

      public LootContextType.Builder require(LootContextParameter<?> parameter)
      Mappings:
      Namespace Name Mixin selector
      official a Lebu$a;a(Lebt;)Lebu$a;
      intermediary method_781 Lnet/minecraft/class_176$class_177;method_781(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
      named require Lnet/minecraft/loot/context/LootContextType$Builder;require(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
    • allow

      public LootContextType.Builder allow(LootContextParameter<?> parameter)
      Mappings:
      Namespace Name Mixin selector
      official b Lebu$a;b(Lebt;)Lebu$a;
      intermediary method_780 Lnet/minecraft/class_176$class_177;method_780(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
      named allow Lnet/minecraft/loot/context/LootContextType$Builder;allow(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
    • build

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