net.minecraft.util.math.AxisAlignedBB.expandXyz()方法的使用及代码示例

x33g5p2x  于11个月前 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(25)

本文整理了Java中net.minecraft.util.math.AxisAlignedBB.expandXyz()方法的一些代码示例,展示了AxisAlignedBB.expandXyz()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。AxisAlignedBB.expandXyz()方法的具体详情如下:
包路径:net.minecraft.util.math.AxisAlignedBB
类名称:AxisAlignedBB
方法名:expandXyz

AxisAlignedBB.expandXyz介绍

暂无

代码示例

代码示例来源:origin: joshiejack/Mariculture

List<Entity> list = worldObj.getEntitiesWithinAABBExcludingEntity(this, getEntityBoundingBox().addCoord(motionX, motionY, motionZ).expandXyz(1.0D));
double d0 = 0.0D;
    AxisAlignedBB axisalignedbb1 = entity1.getEntityBoundingBox().expandXyz(0.30000001192092896D);
    RayTraceResult raytraceresult1 = axisalignedbb1.calculateIntercept(vec3d1, vec3d);

代码示例来源:origin: PenguinSquad/Harvest-Festival

List<Entity> list = world.getEntitiesWithinAABBExcludingEntity(this, getEntityBoundingBox().addCoord(motionX, motionY, motionZ).expandXyz(1.0D));
double d0 = 0.0D;
    AxisAlignedBB axisalignedbb1 = entity1.getEntityBoundingBox().expandXyz(0.30000001192092896D);
    RayTraceResult raytraceresult1 = axisalignedbb1.calculateIntercept(vec3d1, vec3d);
    if (raytraceresult1 != null) {

代码示例来源:origin: Mine-and-blade-admin/Battlegear2

AxisAlignedBB axisalignedbb = entity.getEntityBoundingBox().expandXyz(f2);
RayTraceResult movingobjectposition = axisalignedbb.calculateIntercept(vec3, vec32);

相关文章