walkmc.event.EntityBlockCollideEvent.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of walk-server Show documentation
Show all versions of walk-server Show documentation
A spigot fork to kotlin structure and news.
package walkmc.event
import org.bukkit.*
import org.bukkit.block.*
import org.bukkit.entity.*
import walkmc.*
/**
* Called when a entity collides with a block.
* Normallys works great to non-full-block, like water, flowers, grass...
*/
data class EntityBlockCollideEvent(val entity: Entity, val block: Block) : EventBase() {
val world: World get() = entity.world
val location: Location get() = entity.location
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy