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 Holderholder@Nonnull final AddReasonreason@Nonnull final Storestore
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 Holderholder@Nonnull final RemoveReasonreason@Nonnull final Storestore
EntityTrackerRemove
Method EntityTrackerRemove.
- Parameters:
final ComponentTypevisibleComponentType
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 Refref@Nonnull final DynamicLightcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refreffinal DynamicLightoldComponent@Nonnull final DynamicLightnewComponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
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 Refref@Nonnull final DynamicLightcomponent@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer