Package vazkii.botania.common.helper
Class DelayHelper
java.lang.Object
vazkii.botania.common.helper.DelayHelper
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanInteractWith(SpecialFlowerBlockEntity tile, net.minecraft.world.entity.item.ItemEntity item) static booleancanInteractWithImmediate(SpecialFlowerBlockEntity tile, net.minecraft.world.entity.item.ItemEntity item) LikecanInteractWith(vazkii.botania.api.block_entity.SpecialFlowerBlockEntity, net.minecraft.world.entity.item.ItemEntity), but does not use inherent delay
-
Field Details
-
FUNCTIONAL_INHERENT_DELAY
public static final int FUNCTIONAL_INHERENT_DELAY- See Also:
-
GENERATING_INHERENT_DELAY
public static final int GENERATING_INHERENT_DELAY- See Also:
-
-
Constructor Details
-
DelayHelper
public DelayHelper()
-
-
Method Details
-
canInteractWithImmediate
public static boolean canInteractWithImmediate(SpecialFlowerBlockEntity tile, net.minecraft.world.entity.item.ItemEntity item) LikecanInteractWith(vazkii.botania.api.block_entity.SpecialFlowerBlockEntity, net.minecraft.world.entity.item.ItemEntity), but does not use inherent delay -
canInteractWith
public static boolean canInteractWith(SpecialFlowerBlockEntity tile, net.minecraft.world.entity.item.ItemEntity item) - Returns:
- Whether the given flower can act on the given item, taking into account inherent delay and modulating delay
-