-
-
Save PTOM76/6737319f7d04053d46510f98f10c1b7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.github.ptom76.tutorialfabricmod.timer; | |
import java.util.function.Supplier; | |
public class TickTimer { | |
public long ticksUntilSomething; | |
public Supplier<Boolean> supplier; | |
public TickTimer(long ticksUntilSomething, Supplier<Boolean> supplier) { | |
this.ticksUntilSomething = ticksUntilSomething; | |
this.supplier = supplier; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment