All Downloads are FREE. Search and download functionalities are using the official Maven repository.

walkmc.event.EntityJumpEvent.kt Maven / Gradle / Ivy

package walkmc.event

import org.bukkit.*
import org.bukkit.block.*
import org.bukkit.entity.*
import walkmc.*

/**
 * Represents a entity jump event, this is called when a entity jumps.
 */
open class EntityJumpEvent(val entity: Entity, val block: Block) : CancellableEvent() {
   val world: World get() = entity.world
   val location: Location get() = block.location
   val type: EntityType get() = entity.type
   val material: Materials get() = block.material
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy