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 intselfIndexfinal ArchetypeChunkarchetypeChunk@Nullable final Reftarget@Nonnull final CommandBuffercommandBufferfinal EvaluationContextcontext
KeyedCodec
public
new
KeyedCodec
("State", new EnumCodec(MovementState.class)
Method KeyedCodec.
- Parameters:
"State""State"newEnumCodec(MovementState.class