Package foundry.veil.api.client.registry
Interface LightTypeRegistry.DebugLightFactory
- Enclosing class:
LightTypeRegistry
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Creates debug lights for the
LightEditor
.-
Method Summary
Modifier and TypeMethodDescriptioncreateDebugLight
(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.Camera camera) Creates a new light in the level.
-
Method Details
-
createDebugLight
Light createDebugLight(net.minecraft.client.multiplayer.ClientLevel level, net.minecraft.client.Camera camera) Creates a new light in the level. The position is set automatically forPositionedLight
.- Parameters:
level
- The level the light is incamera
- The camera the light is being spawned at- Returns:
- The new light created
-