Class CopyStateFunction.Builder

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

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

    • block

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

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

    • Builder

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

    • addProperty

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

      protected CopyStateFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<CopyStateFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      official a Lehy$a;a()Lehy$a;
      intermediary method_21897 Lnet/minecraft/class_4488$class_4489;method_21897()Lnet/minecraft/class_4488$class_4489;
      named getThisBuilder Lnet/minecraft/loot/function/CopyStateFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/CopyStateFunction$Builder;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Leij$a;b()Leij;
      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;