NpcCommand

open class NpcCommand

Properties

npcNode
Link copied to clipboard
open val npcNode: LiteralCommandNode<CommandSourceStack>

Functions

noSelectedTaterzenError
Link copied to clipboard
open fun noSelectedTaterzenError(): MutableComponent
Error text for no selected taterzen
register
Link copied to clipboard
open fun register(dispatcher: CommandDispatcher<CommandSourceStack>, commandBuildContext: CommandBuildContext)
selectedTaterzenExecutor
Link copied to clipboard
open fun selectedTaterzenExecutor(@NotNull entity: @NotNull Entity, npcConsumer: Consumer<TaterzenNPC>): Int
Gets player's selected Taterzen and executes the consumer.