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

scripts.core.util.ray_trace.js Maven / Gradle / Ivy

There is a newer version: 1.6.7-beta-6
Show newest version
load("plugins/Pouvoir/scripts/core/basic.js");
/**
 * @description 获取实体视角所对的实体(可能为null)
 * @author Glom
 * @date 2022/12/20
 * @param {LivingEntity} entity 实体
 * @param {Double} distance 距离
 * @returns {LivingEntity}  实体视角所对的实体(可能为null)
 */
function getRayHit(entity, distance) {
  return EntityUtils.getEntityRayHit(entity, distance);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy