Package foundry.veil.api.client.registry
Class LightTypeRegistry
java.lang.Object
foundry.veil.api.client.registry.LightTypeRegistry
Registry for all light types.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Creates debug lights for theLightEditor
.static final record
LightTypeRegistry.LightType<T extends Light>
static interface
LightTypeRegistry.RendererFactory<T extends Light>
Creates the renderer for lights when requested. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Supplier
<LightTypeRegistry.LightType<AreaLight>> static final Supplier
<LightTypeRegistry.LightType<DirectionalLight>> static final Supplier
<LightTypeRegistry.LightType<PointLight>> static final net.minecraft.core.Registry
<LightTypeRegistry.LightType<?>> static final net.minecraft.resources.ResourceKey
<net.minecraft.core.Registry<LightTypeRegistry.LightType<?>>> -
Constructor Summary
-
Method Summary
-
Field Details
-
REGISTRY_KEY
public static final net.minecraft.resources.ResourceKey<net.minecraft.core.Registry<LightTypeRegistry.LightType<?>>> REGISTRY_KEY -
REGISTRY
-
DIRECTIONAL
-
POINT
-
AREA
-
-
Constructor Details
-
LightTypeRegistry
public LightTypeRegistry()
-
-
Method Details
-
bootstrap
@Internal public static void bootstrap()
-