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 djq$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 Ldjq$a;a:Lbzo;
      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 Ldjq$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)
  • Method Details

    • addProperty

      public CopyStateFunction.Builder addProperty(Property<?> property)
      Mappings:
      Namespace Name Mixin selector
      official a Ldjq$a;a(Lclv;)Ldjq$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 Ldjq$a;a()Ldjq$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 Ldka$a;b()Ldka;
      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;