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
named net/minecraft/loot/context/LootContextType$Builder
intermediary net/minecraft/class_176$class_177
official eul$a
  • Field Details

    • required

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

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

    • Builder

      public Builder()
  • Method Details

    • require

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

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

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