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 eyw$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 Leyw$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 Leyw$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 Leyw$a;c:Leya;
  • 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 Leyw$a;a(Leya;)Leyw$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 Leyw$a;a(Lewo$b;)Leyw$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 Leyw$a;a(Lxv;)Leyw$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 Leyw$a;a()Leyw$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 Leyc$a;b()Leyc;