public class LightingCalculationCommand extends AbstractWorldCommand
Command for lightingcalculatio operations. Registered with the command system and callable by players.
java.lang.Object > AbstractWorldCommand > LightingCalculationCommand
Field Summary
type
final
LightCalculationType
type
Field type.
chunkLighting
final
ChunkLightingManager
chunkLighting
Field chunkLighting.
lightCalculation
final
LightCalculation
lightCalculation
Field lightCalculation.
Method Detail
LightingCalculationCommand
public
public
LightingCalculationCommand
()
Method LightingCalculationCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore
FloodLightCalculation
public
new
FloodLightCalculation
(chunkLighting)
Method FloodLightCalculation.
- Parameters:
chunkLightingchunkLighting
FullBrightLightCalculation
public
new
FullBrightLightCalculation
(chunkLighting, lightCalculation)
Method FullBrightLightCalculation.
- Parameters:
chunkLightingchunkLightinglightCalculationlightCalculation