DynamicLightSystems

public class DynamicLightSystems

Class DynamicLightSystems. Provides dynamiclightsystems functionality for the Hytale server.

java.lang.Object > DynamicLightSystems

Field Summary

persistentLight

final PersistentDynamicLight persistentLight

Field persistentLight.

visible

final EntityTrackerSystems.Visible visible

Field visible.

Method Detail

Setup

public public Setup ()

Method Setup.

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

DynamicLight

public new DynamicLight (persistentLight.getColorLight()

Method DynamicLight.

Parameters:
persistentLight.getColorLight( persistentLight.getColorLight(

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

getQuery

public Query getQuery ()

Method getQuery.

EntityTrackerRemove

public public EntityTrackerRemove (final ComponentType visibleComponentType)

Method EntityTrackerRemove.

Parameters:
final ComponentType visibleComponentType

componentType

public DynamicLight> componentType ()

Method componentType.

onComponentAdded

public void onComponentAdded (@Nonnull final Ref ref, @Nonnull final DynamicLight component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentAdded.

Parameters:
@Nonnull final Ref ref
@Nonnull final DynamicLight component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentSet

public void onComponentSet (@Nonnull final Ref ref, final DynamicLight oldComponent, @Nonnull final DynamicLight newComponent, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentSet.

Parameters:
@Nonnull final Ref ref
final DynamicLight oldComponent
@Nonnull final DynamicLight newComponent
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

onComponentRemoved

public void onComponentRemoved (@Nonnull final Ref ref, @Nonnull final DynamicLight component, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)

Method onComponentRemoved.

Parameters:
@Nonnull final Ref ref
@Nonnull final DynamicLight component
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer