fabric-rendering-v1-16.2.0+bee81f016f.jar

Download file
    package net.fabricmc.fabric.api.client.rendering.v1;

import java.util.Objects;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.fabricmc.fabric.impl.client.rendering.SpecialGuiElementRegistryImpl;
import net.minecraft.class_11239;
import net.minecraft.class_11659;
import net.minecraft.class_310;
import net.minecraft.class_4597;
import org.jetbrains.annotations.ApiStatus.NonExtendable;

@Environment(EnvType.CLIENT)
public final class SpecialGuiElementRegistry {
   public static void register(Factory factory) {
      Objects.requireNonNull(factory, "factory");
      SpecialGuiElementRegistryImpl.register(factory);
   }

   @Environment(EnvType.CLIENT)
   @NonExtendable
   public interface Context {
      class_4597.class_4598 vertexConsumers();

      class_310 client();

      class_11659 orderedRenderCommandQueue();
   }

   @FunctionalInterface
   @Environment(EnvType.CLIENT)
   public interface Factory {
      class_11239<?> createSpecialRenderer(Context var1);
   }
}
    
Download file