Class TiltrosTeleporter

java.lang.Object
tech.anonymoushacker1279.immersiveweapons.world.TiltrosTeleporter
All Implemented Interfaces:
net.minecraftforge.common.util.ITeleporter

public class TiltrosTeleporter extends Object implements net.minecraftforge.common.util.ITeleporter
  • Constructor Summary

    Constructors
    Constructor
    Description
    TiltrosTeleporter(net.minecraft.core.BlockPos targetPos, net.minecraft.core.BlockPos currentPos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.entity.Entity
    placeEntity(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel currentLevel, net.minecraft.server.level.ServerLevel destinationLevel, float yaw, Function<Boolean,net.minecraft.world.entity.Entity> repositionEntity)
     
    boolean
    playTeleportSound(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerLevel sourceWorld, net.minecraft.server.level.ServerLevel destinationWorld)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraftforge.common.util.ITeleporter

    getPortalInfo, isVanilla
  • Constructor Details

    • TiltrosTeleporter

      public TiltrosTeleporter(net.minecraft.core.BlockPos targetPos, net.minecraft.core.BlockPos currentPos)
  • Method Details

    • placeEntity

      public net.minecraft.world.entity.Entity placeEntity(net.minecraft.world.entity.Entity entity, net.minecraft.server.level.ServerLevel currentLevel, net.minecraft.server.level.ServerLevel destinationLevel, float yaw, Function<Boolean,net.minecraft.world.entity.Entity> repositionEntity)
      Specified by:
      placeEntity in interface net.minecraftforge.common.util.ITeleporter
    • playTeleportSound

      public boolean playTeleportSound(net.minecraft.server.level.ServerPlayer player, net.minecraft.server.level.ServerLevel sourceWorld, net.minecraft.server.level.ServerLevel destinationWorld)
      Specified by:
      playTeleportSound in interface net.minecraftforge.common.util.ITeleporter