blob: 5509b9a4dd1e6c7889ad8aa310ca909c6669433e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package de.hysky.skyblocker.utils.container;
import net.minecraft.client.gui.screen.ingame.HandledScreen;
import org.jetbrains.annotations.NotNull;
public interface AbstractContainerMatcher {
/**
* Tests if the given screen should be handled by this matcher.
* @return {@code true} if this matcher should apply to the given screen, {@code false} otherwise
*/
boolean test(@NotNull HandledScreen<?> screen);
/**
* @return {@code true} if this matcher is enabled, {@code false} otherwise
*/
boolean isEnabled();
}
|