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
named net/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder
intermediary net/minecraft/class_212$class_213
official ets$a
  • Field Details

    • block

      private final RegistryEntry<Block> block
      Mappings:
      Namespace Name Mixin selector
      named block Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;block:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_1290 Lnet/minecraft/class_212$class_213;field_1290:Lnet/minecraft/class_6880;
      official a Lets$a;a:Lji;
    • propertyValues

      private Optional<StatePredicate> propertyValues
      Mappings:
      Namespace Name Mixin selector
      named propertyValues Lnet/minecraft/loot/condition/BlockStatePropertyLootCondition$Builder;propertyValues:Ljava/util/Optional;
      intermediary field_1291 Lnet/minecraft/class_212$class_213;field_1291:Ljava/util/Optional;
      official b Lets$a;b:Ljava/util/Optional;
  • Constructor Details

    • Builder

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

    • properties

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

      public LootCondition build()
      Specified by:
      build in interface LootCondition.Builder