Class SceneBuildingUtil.VectorUtil

java.lang.Object
com.simibubi.create.foundation.ponder.SceneBuildingUtil.VectorUtil
Enclosing class:
SceneBuildingUtil

public class SceneBuildingUtil.VectorUtil extends Object
  • 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

    • VectorUtil

      public VectorUtil()
  • Method Details

    • centerOf

      public net.minecraft.world.phys.Vec3 centerOf(int x, int y, int z)
    • centerOf

      public net.minecraft.world.phys.Vec3 centerOf(net.minecraft.core.BlockPos pos)
    • topOf

      public net.minecraft.world.phys.Vec3 topOf(int x, int y, int z)
    • topOf

      public net.minecraft.world.phys.Vec3 topOf(net.minecraft.core.BlockPos pos)
    • blockSurface

      public net.minecraft.world.phys.Vec3 blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
    • blockSurface

      public net.minecraft.world.phys.Vec3 blockSurface(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face, float margin)
    • of

      public net.minecraft.world.phys.Vec3 of(double x, double y, double z)