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 dsg$a
intermediary net/minecraft/class_4488$class_4489
named net/minecraft/loot/function/CopyStateFunction$Builder
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Ldsg$a;a:Lciw;
      intermediary field_20451 Lnet/minecraft/class_4488$class_4489;field_20451:Lnet/minecraft/class_2248;
      named block Lnet/minecraft/loot/function/CopyStateFunction$Builder;block:Lnet/minecraft/block/Block;
    • properties

      private final Set<Property<?>> properties
      Mappings:
      Namespace Name Mixin selector
      official b Ldsg$a;b:Ljava/util/Set;
      intermediary field_20452 Lnet/minecraft/class_4488$class_4489;field_20452:Ljava/util/Set;
      named properties Lnet/minecraft/loot/function/CopyStateFunction$Builder;properties:Ljava/util/Set;
  • Constructor Details

    • Builder

      Builder(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldsg$a;<init>(Lciw;)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 Ldsg$a;a(Lcvu;)Ldsg$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 Ldsg$a;a()Ldsg$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 Ldsq$a;b()Ldsq;
      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;