TargetMovementStateCondition

public class TargetMovementStateCondition extends SimpleCondition

Class TargetMovementStateCondition. Provides targetmovementstatecondition functionality for the Hytale server.

java.lang.Object > SimpleCondition > TargetMovementStateCondition

Field Summary

movementState

protected MovementState movementState

Field movementState.

Method Detail

evaluate

protected boolean evaluate (final int selfIndex, final ArchetypeChunk archetypeChunk, @Nullable final Ref target, @Nonnull final CommandBuffer commandBuffer, final EvaluationContext context)

Method evaluate.

Parameters:
final int selfIndex
final ArchetypeChunk archetypeChunk
@Nullable final Ref target
@Nonnull final CommandBuffer commandBuffer
final EvaluationContext context

KeyedCodec

public new KeyedCodec ("State", new EnumCodec(MovementState.class)

Method KeyedCodec.

Parameters:
"State" "State"
new EnumCodec(MovementState.class