public class StartObjectiveInteraction extends SimpleInstantInteraction
Class StartObjectiveInteraction. Provides startobjectiveinteraction functionality for the Hytale server.
java.lang.Object > SimpleInstantInteraction > StartObjectiveInteraction
Field Summary
objectiveTypeSetup
protected
ObjectiveTypeSetup
objectiveTypeSetup
Field objectiveTypeSetup.
commandBuffer
final
CommandBuffer
commandBuffer
Field commandBuffer.
ref
final
Ref
ref
Field ref.
playerRefComponent
final
PlayerRef
playerRefComponent
Field playerRefComponent.
itemStack
final
ItemStack
itemStack
Field itemStack.
store
final
Store
store
Field store.
objectiveUUID
final
UUID
objectiveUUID
Field objectiveUUID.
world
final
World
world
Field world.
objective
final
Objective
objective
Field objective.
clonedItemStack
final
ItemStack
clonedItemStack
Field clonedItemStack.
Method Detail
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
startObjective
private
void
startObjective
(@Nonnull final PlayerRef player, @Nonnull final InteractionContext context, @Nonnull final ItemStack itemStack, @Nonnull final Store store)
Method startObjective.
- Parameters:
@Nonnull final PlayerRefplayer@Nonnull final InteractionContextcontext@Nonnull final ItemStackitemStack@Nonnull final Storestore
toString
public
String
toString
()
Method toString.
KeyedCodec
public
new
KeyedCodec
("Setup", ObjectiveTypeSetup.CODEC)
Method KeyedCodec.
- Parameters:
"Setup""Setup"ObjectiveTypeSetup.CODECObjectiveTypeSetup.CODEC