All Downloads are FREE. Search and download functionalities are using the official Maven repository.

top.hendrixshen.magiclib.event.render.api.IRenderEvent Maven / Gradle / Ivy

There is a newer version: 0.7.398+fe2125a-beta
Show newest version
package top.hendrixshen.magiclib.event.render.api;

import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import top.hendrixshen.magiclib.event.render.impl.RenderContext;

import java.util.function.Supplier;

@Environment(EnvType.CLIENT)
interface IRenderEvent {
    default Supplier getProfilerSectionSupplier() {
        return () -> this.getClass().getName();
    }

    void render(T obj, RenderContext context, float tickDelta);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy