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

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

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

AxisAlignedBB.calculateYOffset介绍

暂无

代码示例

代码示例来源:origin: ValkyrienWarfare/Valkyrien-Warfare-Revamped

y = list1.get(k).calculateYOffset(thisClassAsAnEntity.getEntityBoundingBox(), y);
d8 = list.get(j1).calculateYOffset(axisalignedbb3, d8);
d20 = list.get(l2).calculateYOffset(axisalignedbb4, d20);
y = list.get(j4).calculateYOffset(thisClassAsAnEntity.getEntityBoundingBox(), y);

代码示例来源:origin: TeamWizardry/Wizardry

double offsetY = list1.get(k).calculateYOffset(entity.getEntityBoundingBox(), y);
if (offsetY <= 0)
  y = offsetY;
double offsetY = list1.get(j1).calculateYOffset(axisalignedbb3, y);
if (offsetY <= 0)
  d8 = offsetY;
double offsetY = list1.get(i3).calculateYOffset(axisalignedbb4, y);
if (offsetY <= 0)
  d20 = offsetY;
double offsetY = list1.get(j4).calculateYOffset(entity.getEntityBoundingBox(), y);
if (offsetY <= 0)
  y = offsetY;

相关文章