MountInteraction

public class MountInteraction extends SimpleInstantInteraction

Class MountInteraction. Provides mountinteraction functionality for the Hytale server.

java.lang.Object > SimpleInstantInteraction > MountInteraction

Field Summary

attachmentOffset

private Vector3f attachmentOffset

Field attachmentOffset.

controller

private MountController controller

Field controller.

target

final Ref target

Field target.

self

final Ref self

Field self.

commandBuffer

final CommandBuffer commandBuffer

Field commandBuffer.

mounted

final MountedComponent mounted

Field mounted.

mountedBy

final MountedByComponent mountedBy

Field mountedBy.

Method Detail

MountInteraction

public public MountInteraction ()

Method MountInteraction.

firstRun

Method firstRun.

Parameters:
@Nonnull final InteractionType type
@Nonnull final InteractionContext context
@Nonnull final CooldownHandler cooldownHandler

MountedComponent

public new MountedComponent (target, this.attachmentOffset, this.controller)

Method MountedComponent.

Parameters:
target target
this.attachmentOffset this.attachmentOffset
this.controller this.controller

KeyedCodec

public new KeyedCodec ("Controller", new EnumCodec(MountController.class)

Method KeyedCodec.

Parameters:
"Controller" "Controller"
new EnumCodec(MountController.class