Package-level declarations

Types

Link copied to clipboard
class AbilityCostApplyEvent(val player: MacrocosmPlayer, var mana: Number, var health: Int, var cooldown: Float, var summonDifficulty: Int) : Event
Link copied to clipboard
class BlockDropItemsEvent(val player: MacrocosmPlayer, val block: Block, var pool: LootPool) : Event, Cancellable
Link copied to clipboard
class CostCompileEvent(val player: MacrocosmPlayer?, val item: MacrocosmItem, var cost: AbilityCost?) : Event
Link copied to clipboard
class EnchantCalculateStatsEvent(val player: MacrocosmPlayer?, val enchant: Enchantment, var stats: Statistics) : Event
Link copied to clipboard
class EntityActivateFerocityEvent(val damager: Entity, val damaged: LivingEntity) : Event, Cancellable
Link copied to clipboard
class EntityCalculateStatsEvent(val self: MacrocosmEntity, var stats: Statistics) : Event
Link copied to clipboard
class EntityDropItemsEvent(val killer: Entity?, val entity: LivingEntity, var pool: LootPool) : Event, Cancellable
Link copied to clipboard
class ItemCalculateStatsEvent(val player: MacrocosmPlayer?, val item: MacrocosmItem, var stats: Statistics) : Event
Link copied to clipboard
class MineTickEvent(val player: MacrocosmPlayer, val block: Block) : Event
Link copied to clipboard
class PlayerBreakBlockEvent(val player: MacrocosmPlayer, val block: Block) : Event, Cancellable
Link copied to clipboard
Link copied to clipboard
class PlayerCalculateStatsEvent(val player: MacrocosmPlayer, var stats: Statistics) : Event
Link copied to clipboard
class PlayerDealDamageEvent(val player: MacrocosmPlayer, val damaged: LivingEntity, var damage: Float, var crit: Boolean, val kind: DamageKind, var isSuperCrit: Boolean = false) : Event, Cancellable
Link copied to clipboard
class PlayerDealMagicDamageEvent(val player: MacrocosmPlayer, val damaged: LivingEntity, var damage: Float) : Event, Cancellable
Link copied to clipboard
class PlayerDeathEvent(val player: MacrocosmPlayer, var source: Component?, var reduceCoins: BigDecimal) : Event, Cancellable
Link copied to clipboard
class PlayerEnterAreaEvent(val player: MacrocosmPlayer, val paper: Player, val newArea: Area, val oldArea: Area, val firstEnter: Boolean) : Event, Cancellable
Link copied to clipboard
class PlayerKillEntityEvent(val player: MacrocosmPlayer, val killed: LivingEntity, var experience: Double) : Event
Link copied to clipboard
data class PlayerLeftClickEvent(val player: MacrocosmPlayer, val item: MacrocosmItem?) : Event
Link copied to clipboard
class PlayerReachGoalEvent(val player: MacrocosmPlayer, val goal: String) : Event
Link copied to clipboard
class PlayerReceiveDamageEvent(val player: MacrocosmPlayer, val damager: LivingEntity, var damage: Float, var crit: Boolean) : Event, Cancellable
Link copied to clipboard
class PlayerReceiveExpEvent(val player: MacrocosmPlayer, var type: SkillType, var amount: Float) : Event, Cancellable
Link copied to clipboard
data class PlayerRightClickEvent(val player: MacrocosmPlayer, val item: MacrocosmItem?) : Event
Link copied to clipboard
data class PlayerSneakEvent(val player: MacrocosmPlayer) : Event
Link copied to clipboard
data class PlayerTickEvent(val player: MacrocosmPlayer) : Event
Link copied to clipboard
data class SeasonChangeEvent(val new: Calendar.Season, val old: Calendar.Season) : Event
Link copied to clipboard
class ServerShutdownEvent : Event
Link copied to clipboard
class StopBreakingBlockEvent(val player: MacrocosmPlayer, val block: Block) : Event
Link copied to clipboard
data class YearChangeEvent(val new: Int, val previous: Int) : Event