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
official eao$a
intermediary net/minecraft/class_3671$class_6159
named net/minecraft/loot/function/SetLoreLootFunction$Builder
  • Field Details

    • replace

      private boolean replace
      Mappings:
      Namespace Name Mixin selector
      official a Leao$a;a:Z
      intermediary field_31866 Lnet/minecraft/class_3671$class_6159;field_31866:Z
      named replace Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;replace:Z
    • target

      private LootContext.EntityTarget target
      Mappings:
      Namespace Name Mixin selector
      official b Leao$a;b:Ldyr$c;
      intermediary field_31867 Lnet/minecraft/class_3671$class_6159;field_31867:Lnet/minecraft/class_47$class_50;
      named target Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;target:Lnet/minecraft/loot/context/LootContext$EntityTarget;
    • lore

      private final List<Text> lore
      Mappings:
      Namespace Name Mixin selector
      official c Leao$a;c:Ljava/util/List;
      intermediary field_31868 Lnet/minecraft/class_3671$class_6159;field_31868:Ljava/util/List;
      named lore Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;lore:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • replace

      public SetLoreLootFunction.Builder replace(boolean replace)
      Mappings:
      Namespace Name Mixin selector
      official a Leao$a;a(Z)Leao$a;
      intermediary method_35548 Lnet/minecraft/class_3671$class_6159;method_35548(Z)Lnet/minecraft/class_3671$class_6159;
      named replace Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;replace(Z)Lnet/minecraft/loot/function/SetLoreLootFunction$Builder;
    • target

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

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

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

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