Class CopyStateLootFunction.Builder

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

public static class CopyStateLootFunction.Builder extends ConditionalLootFunction.Builder<CopyStateLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/CopyStateLootFunction$Builder
intermediary net/minecraft/class_4488$class_4489
official esq$a
  • Field Details

    • block

      private final RegistryEntry<Block> block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;block:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_20451 Lnet/minecraft/class_4488$class_4489;field_20451:Lnet/minecraft/class_6880;
      official a Lesq$a;a:Ljm;
    • properties

      private final ImmutableSet.Builder<Property<?>> properties
      Mappings:
      Namespace Name Mixin selector
      named properties Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;properties:Lcom/google/common/collect/ImmutableSet$Builder;
      intermediary field_20452 Lnet/minecraft/class_4488$class_4489;field_20452:Lcom/google/common/collect/ImmutableSet$Builder;
      official b Lesq$a;b:Lcom/google/common/collect/ImmutableSet$Builder;
  • Constructor Details

    • Builder

      Builder(Block block)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;<init>(Lnet/minecraft/block/Block;)V
      intermediary <init> Lnet/minecraft/class_4488$class_4489;<init>(Lnet/minecraft/class_2248;)V
      official <init> Lesq$a;<init>(Ldfy;)V
  • Method Details

    • addProperty

      public CopyStateLootFunction.Builder addProperty(Property<?> property)
      Mappings:
      Namespace Name Mixin selector
      named addProperty Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;addProperty(Lnet/minecraft/state/property/Property;)Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;
      intermediary method_21898 Lnet/minecraft/class_4488$class_4489;method_21898(Lnet/minecraft/class_2769;)Lnet/minecraft/class_4488$class_4489;
      official a Lesq$a;a(Lduf;)Lesq$a;
    • getThisBuilder

      protected CopyStateLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<CopyStateLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/CopyStateLootFunction$Builder;
      intermediary method_21897 Lnet/minecraft/class_4488$class_4489;method_21897()Lnet/minecraft/class_4488$class_4489;
      official a Lesq$a;a()Lesq$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 Letf$a;b()Letf;