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

    • period

      @Nullable private @Nullable Long period
      Mappings:
      Namespace Name Mixin selector
      official a Ldui$a;a:Ljava/lang/Long;
      intermediary field_31871 Lnet/minecraft/class_4571$class_6164;field_31871:Ljava/lang/Long;
      named period Lnet/minecraft/loot/condition/TimeCheckLootCondition$Builder;period:Ljava/lang/Long;
    • value

      private final BoundedIntUnaryOperator value
      Mappings:
      Namespace Name Mixin selector
      official b Ldui$a;b:Ldre;
      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> Ldui$a;<init>(Ldre;)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 Ldui$a;a(J)Ldui$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 Ldui$a;a()Ldui;
      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;