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 dtm$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 Ldtm$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 Ldtm$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 Ldtm$a;a(Ldtl;)Ldtm$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 Ldtm$a;b(Ldtl;)Ldtm$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 Ldtm$a;a()Ldtm;
      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;