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
protected
void
firstRun
(@Nonnull final InteractionType type, @Nonnull final InteractionContext context, @Nonnull final CooldownHandler cooldownHandler)
Method firstRun.
- Parameters:
@Nonnull final InteractionTypetype@Nonnull final InteractionContextcontext@Nonnull final CooldownHandlercooldownHandler
MountedComponent
public
new
MountedComponent
(target, this.attachmentOffset, this.controller)
Method MountedComponent.
- Parameters:
targettargetthis.attachmentOffsetthis.attachmentOffsetthis.controllerthis.controller
KeyedCodec
public
new
KeyedCodec
("Controller", new EnumCodec(MountController.class)
Method KeyedCodec.
- Parameters:
"Controller""Controller"newEnumCodec(MountController.class