Class TimeCheckLootCondition.Builder

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

public static class TimeCheckLootCondition.Builder extends Object implements LootCondition.Builder
Mappings:
Namespace Name
official ekd$a
intermediary net/minecraft/class_4571$class_6164
named net/minecraft/loot/condition/TimeCheckLootCondition$Builder
  • Field Details

    • period

      private Optional<Long> period
      Mappings:
      Namespace Name Mixin selector
      official a Lekd$a;a:Ljava/util/Optional;
      intermediary field_31871 Lnet/minecraft/class_4571$class_6164;field_31871:Ljava/util/Optional;
      named period Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;period:Ljava/util/Optional;
    • value

      private final BoundedIntUnaryOperator value
      Mappings:
      Namespace Name Mixin selector
      official b Lekd$a;b:Legv;
      intermediary field_31872 Lnet/minecraft/class_4571$class_6164;field_31872:Lnet/minecraft/class_42;
      named value Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;value:Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;
  • Constructor Details

    • Builder

      public Builder(BoundedIntUnaryOperator value)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lekd$a;<init>(Legv;)V
      intermediary <init> Lnet/minecraft/class_4571$class_6164;<init>(Lnet/minecraft/class_42;)V
      named <init> Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;<init>(Lnet/minecraft/loot/operator/BoundedIntUnaryOperator;)V
  • Method Details

    • period

      public TimeCheckLootCondition.Builder period(long period)
      Mappings:
      Namespace Name Mixin selector
      official a Lekd$a;a(J)Lekd$a;
      intermediary method_35560 Lnet/minecraft/class_4571$class_6164;method_35560(J)Lnet/minecraft/class_4571$class_6164;
      named period Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;period(J)Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;
    • build

      public TimeCheckLootCondition build()
      Specified by:
      build in interface LootCondition.Builder
      Mappings:
      Namespace Name Mixin selector
      official a Lekd$a;a()Lekd;
      intermediary method_35561 Lnet/minecraft/class_4571$class_6164;method_35561()Lnet/minecraft/class_4571;
      named build Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;build()Lnet/minecraft/loot/condition/TimeCheckLootCondition;