fabric-rendering-v1-16.2.0+bee81f016f.jar
Download file
package net.fabricmc.fabric.api.client.rendering.v1.hud;
import java.util.function.ToIntFunction;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.class_1657;
import org.jetbrains.annotations.ApiStatus.NonExtendable;
@FunctionalInterface
@Environment(EnvType.CLIENT)
public interface StatusBarHeightProvider extends ToIntFunction<class_1657> {
int getStatusBarHeight(class_1657 var1);
@NonExtendable
default int applyAsInt(class_1657 player) {
return this.getStatusBarHeight(player);
}
}
Download file