public class RecipeCommand extends AbstractCommandCollection
Command for recip operations. Registered with the command system and callable by players.
java.lang.Object > AbstractCommandCollection > RecipeCommand
Field Summary
item
final
Item
item
Field item.
itemId
final
String
itemId
Field itemId.
itemMessage
final
Message
itemMessage
Field itemMessage.
targetPlayerRef
final
PlayerRef
targetPlayerRef
Field targetPlayerRef.
ref
final
Ref
ref
Field ref.
store
final
Store
store
Field store.
world
final
World
world
Field world.
playerComponent
final
Player
playerComponent
Field playerComponent.
knownRecipes
final
Set
knownRecipes
Field knownRecipes.
Method Detail
RecipeCommand
public
public
RecipeCommand
()
Method RecipeCommand.
Learn
public
new
Learn
()
Method Learn.
Forget
public
new
Forget
()
Method Forget.
List
public
new
List
()
Method List.
LearnOther
public
new
LearnOther
()
Method LearnOther.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld
ForgetOther
public
new
ForgetOther
()
Method ForgetOther.
ListOther
public
new
ListOther
()
Method ListOther.