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 eve$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 Leve$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 Leve$a;b:Lerk;
  • 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> Leve$a;<init>(Lerk;)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 Leve$a;a(J)Leve$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 Leve$a;a()Leve;