Class PonderSceneBuildingUtil.PonderVectorUtil

java.lang.Object
net.createmod.ponder.foundation.PonderSceneBuildingUtil.PonderVectorUtil
All Implemented Interfaces:
VectorUtil
Enclosing class:
PonderSceneBuildingUtil

public class PonderSceneBuildingUtil.PonderVectorUtil extends Object implements VectorUtil
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.phys.Vec3
    blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
     
    net.minecraft.world.phys.Vec3
    blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, float margin)
     
    net.minecraft.world.phys.Vec3
    centerOf(int x, int y, int z)
     
    net.minecraft.world.phys.Vec3
    centerOf(net.minecraft.core.BlockPos pos)
     
    net.minecraft.world.phys.Vec3
    of(double x, double y, double z)
     
    net.minecraft.world.phys.Vec3
    topOf(int x, int y, int z)
     
    net.minecraft.world.phys.Vec3
    topOf(net.minecraft.core.BlockPos pos)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PonderVectorUtil

      public PonderVectorUtil()
  • Method Details

    • centerOf

      public net.minecraft.world.phys.Vec3 centerOf(int x, int y, int z)
      Specified by:
      centerOf in interface VectorUtil
    • centerOf

      public net.minecraft.world.phys.Vec3 centerOf(net.minecraft.core.BlockPos pos)
      Specified by:
      centerOf in interface VectorUtil
    • topOf

      public net.minecraft.world.phys.Vec3 topOf(int x, int y, int z)
      Specified by:
      topOf in interface VectorUtil
    • topOf

      public net.minecraft.world.phys.Vec3 topOf(net.minecraft.core.BlockPos pos)
      Specified by:
      topOf in interface VectorUtil
    • blockSurface

      public net.minecraft.world.phys.Vec3 blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
      Specified by:
      blockSurface in interface VectorUtil
    • blockSurface

      public net.minecraft.world.phys.Vec3 blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, float margin)
      Specified by:
      blockSurface in interface VectorUtil
    • of

      public net.minecraft.world.phys.Vec3 of(double x, double y, double z)
      Specified by:
      of in interface VectorUtil