Class SetLoreLootFunction.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<SetLoreLootFunction.Builder>, LootFunction.Builder
Enclosing class:
SetLoreLootFunction

public static class SetLoreLootFunction.Builder extends ConditionalLootFunction.Builder<SetLoreLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/SetLoreLootFunction$Builder
intermediary net/minecraft/class_3671$class_6159
official ess$a
  • Field Details

    • target

      Mappings:
      Namespace Name Mixin selector
      named target Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;target:Ljava/util/Optional;
      intermediary field_31867 Lnet/minecraft/class_3671$class_6159;field_31867:Ljava/util/Optional;
      official a Less$a;a:Ljava/util/Optional;
    • lore

      private final ImmutableList.Builder<Text> lore
      Mappings:
      Namespace Name Mixin selector
      named lore Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;lore:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_31868 Lnet/minecraft/class_3671$class_6159;field_31868:Lcom/google/common/collect/ImmutableList$Builder;
      official b Less$a;b:Lcom/google/common/collect/ImmutableList$Builder;
    • operation

      private ListOperation operation
      Mappings:
      Namespace Name Mixin selector
      named operation Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;operation:Lnet/minecraft/util/collection/ListOperation;
      intermediary field_50025 Lnet/minecraft/class_3671$class_6159;field_50025:Lnet/minecraft/class_9368;
      official c Less$a;c:Lerv;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • operation

      public SetLoreLootFunction.Builder operation(ListOperation operation)
      Mappings:
      Namespace Name Mixin selector
      named operation Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;operation(Lnet/minecraft/util/collection/ListOperation;)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
      intermediary method_58460 Lnet/minecraft/class_3671$class_6159;method_58460(Lnet/minecraft/class_9368;)Lnet/minecraft/class_3671$class_6159;
      official a Less$a;a(Lerv;)Less$a;
    • target

      Mappings:
      Namespace Name Mixin selector
      named target Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;target(Lnet/minecraft/loot/context/LootContext$EntityTarget;)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
      intermediary method_35546 Lnet/minecraft/class_3671$class_6159;method_35546(Lnet/minecraft/class_47$class_50;)Lnet/minecraft/class_3671$class_6159;
      official a Less$a;a(Leqk$b;)Less$a;
    • lore

      public SetLoreLootFunction.Builder lore(Text lore)
      Mappings:
      Namespace Name Mixin selector
      named lore Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;lore(Lnet/minecraft/text/Text;)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
      intermediary method_35547 Lnet/minecraft/class_3671$class_6159;method_35547(Lnet/minecraft/class_2561;)Lnet/minecraft/class_3671$class_6159;
      official a Less$a;a(Lxp;)Less$a;
    • getThisBuilder

      protected SetLoreLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetLoreLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
      intermediary method_35545 Lnet/minecraft/class_3671$class_6159;method_35545()Lnet/minecraft/class_3671$class_6159;
      official a Less$a;a()Less$a;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
      intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
      official b Lerx$a;b()Lerx;