Class BlockStatePropertyLootCondition.Builder

java.lang.Object
net.minecraft.loot.condition.BlockStatePropertyLootCondition.Builder
All Implemented Interfaces:
LootCondition.Builder
Enclosing class:
BlockStatePropertyLootCondition

public static class BlockStatePropertyLootCondition.Builder
extends Object
implements LootCondition.Builder
Mappings:
Namespace Name
official dgz$a
intermediary net/minecraft/class_212$class_213
named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Ldgz$a;a:Lbwu;
      intermediary field_1290 Lnet/minecraft/class_212$class_213;field_1290:Lnet/minecraft/class_2248;
      named block Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;block:Lnet/minecraft/block/Block;
    • propertyValues

      private StatePredicate propertyValues
      Mappings:
      Namespace Name Mixin selector
      official b Ldgz$a;b:Lcm;
      intermediary field_1291 Lnet/minecraft/class_212$class_213;field_1291:Lnet/minecraft/class_4559;
      named propertyValues Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;propertyValues:Lnet/minecraft/predicate/StatePredicate;
  • Constructor Details

    • Builder

      public Builder​(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldgz$a;<init>(Lbwu;)V
      intermediary <init> Lnet/minecraft/class_212$class_213;<init>(Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;<init>(Lnet/minecraft/block/Block;)V
  • Method Details

    • properties

      Mappings:
      Namespace Name Mixin selector
      official a Ldgz$a;a(Lcm$a;)Ldgz$a;
      intermediary method_22584 Lnet/minecraft/class_212$class_213;method_22584(Lnet/minecraft/class_4559$class_4560;)Lnet/minecraft/class_212$class_213;
      named properties Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;properties(Lnet/minecraft/predicate/StatePredicate$Builder;)Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;
    • build

      public LootCondition build()
      Specified by:
      build in interface LootCondition.Builder
      Mappings:
      Namespace Name Mixin selector
      official build Ldha$a;build()Ldha;
      intermediary build Lnet/minecraft/class_5341$class_210;build()Lnet/minecraft/class_5341;
      named build Lnet/minecraft/loot/condition/LootCondition$Builder;build()Lnet/minecraft/loot/condition/LootCondition;