Psychic

class Psychic

Types

Companion
Link copied to clipboard
object Companion

Functions

checkEnabled
Link copied to clipboard
fun checkEnabled()
능력 활성화 여부를 체크합니다.
checkState
Link copied to clipboard
fun checkState()
능력 유효 여부를 체크합니다.
consumeMana
Link copied to clipboard
fun consumeMana(amount: Double): Boolean
마나를 소모합니다.
getAbilityByWand
Link copied to clipboard
fun getAbilityByWand(item: ItemStack): Ability<*>?
AbilityConcept.wand 속성이 같은 Ability를 반환합니다.
interruptChannel
Link copied to clipboard
fun interruptChannel()
현재 실행중인 Channel을 중지시킵니다.
launchProjectile
Link copied to clipboard
fun launchProjectile(location: Location, projectile: PsychicProjectile)
발사체를 발사합니다.
marker
Link copied to clipboard
fun marker(passenger: FakeEntity): FakeEntity
Marker로 설정된 org.bukkit.entity.ArmorStand를 생성 후 인수로 받은 FakeEntity를 승객으로 설정합니다.
registerEvents
Link copied to clipboard
fun registerEvents(listener: Listener)
이벤트를 등록합니다.
runTask
Link copied to clipboard
fun runTask(runnable: Runnable, delay: Long): TickerTask
태스크를 delay만큼 후에 실행합니다.
runTaskTimer
Link copied to clipboard
fun runTaskTimer(runnable: Runnable, delay: Long, period: Long): TickerTask
태스크를 delay만큼 후 period마다 주기적으로 실행합니다.
spawnFakeEntity
Link copied to clipboard
fun spawnFakeEntity(location: Location, entityClass: Class<out Entity>): FakeEntity
가상 Entity를 생성합니다.
spawnFakeFallingBlock
Link copied to clipboard
fun spawnFakeFallingBlock(location: Location, blockData: BlockData): FakeEntity
가상 org.bukkit.entity.FallingBlock을 생성합니다.
spawnItem
Link copied to clipboard
fun spawnItem(location: Location, itemStack: ItemStack): FakeEntity
가상 org.bukkit.entity.Item을 생성합니다.
spawnMarker
Link copied to clipboard
fun spawnMarker(location: Location): FakeEntity
Marker로 설정된 org.bukkit.entity.ArmorStand를 생성합니다.

Properties

abilities
Link copied to clipboard
val abilities: List<Ability<*>>
능력 목록입니다.
channeling
Link copied to clipboard
var channeling: Channel? = null
현재 시전중인 채널입니다.
concept
Link copied to clipboard
val concept: PsychicConcept
esper
Link copied to clipboard
lateinit var esper: Esper
능력이 부여된 Esper입니다.
isEnabled
Link copied to clipboard
var isEnabled: Boolean = false
능력 활성화 여부입니다.
mana
Link copied to clipboard
var mana: Double = 0.0
마나량입니다.
manager
Link copied to clipboard
lateinit var manager: PsychicManager
plugin
Link copied to clipboard
lateinit var plugin: PsychicsPlugin
times
Link copied to clipboard
var times: Long = 0L
능력이 활성화된 시간입니다.
valid
Link copied to clipboard
var valid: Boolean = true
능력 유효상태입니다.