ActionModelAttachment

public class ActionModelAttachment extends ActionBase

Class ActionModelAttachment. Provides actionmodelattachment functionality for the Hytale server.

java.lang.Object > ActionBase > ActionModelAttachment

Field Summary

modelComponent

final ModelComponent modelComponent

Field modelComponent.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

scale

final float scale

Field scale.

modelAsset

final ModelAsset modelAsset

Field modelAsset.

role

final Role role

Field role.

Method Detail

ActionModelAttachment

public public ActionModelAttachment (@Nonnull final BuilderActionModelAttachment builder, @Nonnull final BuilderSupport support)

Method ActionModelAttachment.

Parameters:
@Nonnull final BuilderActionModelAttachment builder
@Nonnull final BuilderSupport support

execute

public boolean execute (@Nonnull final Ref ref, @Nonnull final Role role, final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final InfoProvider sensorInfo
final double dt
@Nonnull final Store store

setModelAttachment

static void setModelAttachment (@Nonnull final Ref ref, @Nonnull final String slot, @Nullable final String attachment, @Nonnull final ComponentAccessor componentAccessor)

Method setModelAttachment.

Parameters:
@Nonnull final Ref ref
@Nonnull final String slot
@Nullable final String attachment
@Nonnull final ComponentAccessor componentAccessor

ModelComponent

public new ModelComponent (model)

Method ModelComponent.

Parameters:
model model