Class TeleportationUtils

java.lang.Object
com.hrznstudio.titanium.util.TeleportationUtils

public class TeleportationUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.entity.Entity
    teleportEntity(net.minecraft.world.entity.Entity entity, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, double xCoord, double yCoord, double zCoord, float yaw, float pitch)
     
    static net.minecraft.world.entity.Entity
    teleportEntityTo(net.minecraft.world.entity.Entity entity, org.joml.Vector3f target, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> destinationDimension, float yaw, float pitch)
     

    Methods inherited from class java.lang.Object

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

    • TeleportationUtils

      public TeleportationUtils()
  • Method Details

    • teleportEntity

      public static net.minecraft.world.entity.Entity teleportEntity(net.minecraft.world.entity.Entity entity, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension, double xCoord, double yCoord, double zCoord, float yaw, float pitch)
    • teleportEntityTo

      public static net.minecraft.world.entity.Entity teleportEntityTo(net.minecraft.world.entity.Entity entity, org.joml.Vector3f target, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> destinationDimension, float yaw, float pitch)