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
named net/minecraft/loot/condition/TimeCheckLootCondition$Builder
intermediary net/minecraft/class_4571$class_6164
official faf$a
  • Field Details

    • period

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

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

    • Builder

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

    • period

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

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