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 dua$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 Ldua$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 Ldua$a;b:Ldsd$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 Ldua$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 Ldua$a;a(Z)Ldua$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 Ldua$a;a(Ldsd$c;)Ldua$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 Ldua$a;a(Lrq;)Ldua$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 Ldua$a;a()Ldua$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 Ldto$a;b()Ldto;
      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;