LearnRecipeInteraction

public class LearnRecipeInteraction extends SimpleInstantInteraction

Class LearnRecipeInteraction. Provides learnrecipeinteraction functionality for the Hytale server.

java.lang.Object > SimpleInstantInteraction > LearnRecipeInteraction

Field Summary

itemId

protected String itemId

Field itemId.

commandBuffer

final CommandBuffer commandBuffer

Field commandBuffer.

ref

final Ref ref

Field ref.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

inventory

final ItemContainer inventory

Field inventory.

itemInHand

final ItemStack itemInHand

Field itemInHand.

item

final Item item

Field item.

itemNameMessage

final Message itemNameMessage

Field itemNameMessage.

Method Detail

getWaitForDataFrom

public WaitForDataFrom getWaitForDataFrom ()

Method getWaitForDataFrom.

firstRun

Method firstRun.

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

toString

public String toString ()

Method toString.

KeyedCodec

public new KeyedCodec ("ItemId", Codec.STRING)

Method KeyedCodec.

Parameters:
"ItemId" "ItemId"
Codec.STRING Codec.STRING