Class EntityScoresLootCondition.Builder

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

public static class EntityScoresLootCondition.Builder extends Object implements LootCondition.Builder
Mappings:
Namespace Name
official dtv$a
intermediary net/minecraft/class_199$class_6163
named net/minecraft/loot/condition/EntityScoresLootCondition$Builder
  • Field Details

    • scores

      private final Map<String,BoundedIntUnaryOperator> scores
      Mappings:
      Namespace Name Mixin selector
      official a Ldtv$a;a:Ljava/util/Map;
      intermediary field_31869 Lnet/minecraft/class_199$class_6163;field_31869:Ljava/util/Map;
      named scores Lnet/minecraft/loot/condition/EntityScoresLootCondition$Builder;scores:Ljava/util/Map;
    • target

      private final LootContext.EntityTarget target
      Mappings:
      Namespace Name Mixin selector
      official b Ldtv$a;b:Ldrg$c;
      intermediary field_31870 Lnet/minecraft/class_199$class_6163;field_31870:Lnet/minecraft/class_47$class_50;
      named target Lnet/minecraft/loot/condition/EntityScoresLootCondition$Builder;target:Lnet/minecraft/loot/context/LootContext$EntityTarget;
  • Constructor Details

    • Builder

      public Builder(LootContext.EntityTarget target)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldtv$a;<init>(Ldrg$c;)V
      intermediary <init> Lnet/minecraft/class_199$class_6163;<init>(Lnet/minecraft/class_47$class_50;)V
      named <init> Lnet/minecraft/loot/condition/EntityScoresLootCondition$Builder;<init>(Lnet/minecraft/loot/context/LootContext$EntityTarget;)V
  • Method Details

    • score

      Mappings:
      Namespace Name Mixin selector
      official a Ldtv$a;a(Ljava/lang/String;Ldre;)Ldtv$a;
      intermediary method_35558 Lnet/minecraft/class_199$class_6163;method_35558(Ljava/lang/String;Lnet/minecraft/class_42;)Lnet/minecraft/class_199$class_6163;
      named score Lnet/minecraft/loot/condition/EntityScoresLootCondition$Builder;score(Ljava/lang/String;Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)Lnet/minecraft/loot/condition/EntityScoresLootCondition$Builder;
    • build

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